https://bugs.kde.org/show_bug.cgi?id=438562

--- Comment #2 from oliviergut...@orange.fr ---
(In reply to Urs Fleisch from comment #1)
> First, I am not sure if I understand correctly what you mean with "import
> filter" and "Label 2" button, but I assume that the "import filter" is the
> "Format: <arrow down>" control and the "Label 2" button the "Tag 2" button
> at the right side of this control in the main section of the GUI.
Yes, that's it.
> 
> You have a format of "%{discnumber}.%{track} %{title}" but a file name
> "filename .ext", which is missing the discnumber and track part. Let's

I meant the discnumber and track informations are part of "filename .ext".

> assume that you have a file name "2.01 filename .ext" then you expect the
> tag frames to be set as Title="filename ", Track Number="1", Disc
> Number="2". To get this, you have to use a custom regular expressions in the
> format, e.g.
> 
> %{discnumber}(\d{1,4}).%{track}(\d{1,4}) %{title}([^-_\./ ](?:[^/]*[^-_/])?)
> 
> This is a modification of the standard regular expression for your format
> 
> %{discnumber}(\d{1,4}).%{track}(\d{1,4}) %{title}([^-_\./ ](?:[^/]*[^-_/ ])?)
> 
> with the difference that it is accepting a space at the end. You have to use
> custom regular expressions if you do not want the standard behavior.

Perhaps the custom regular expression should become standard to avoid getting
scrambled tags.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to