![]() ![]() ![]() To me, his solution appears to be less complicated, because it neutralizes my requirement for the original filename to be used as source for the track number. If you want to re-format an existing entry in TRACK to get more leading zeros, try an action of the type Ohrenkino's solution is already good to go, bar one little problem: ![]() I am disheartened by my lack of ability to explain this any better, and I hope that it will not discourage you, or anyone else, from proposing a solution. Action "Format value".įormatstring: $if(%TRACK%,$num(%TRACK%,1),)ĭetlevD, but I want to add - not subtract - the zero to the track number in the Field: TRACK, by using the filename as the source. If you want to remove leading zeroes from the track number you may apply the following formatstring against the tagfield TRACK:Ĭonverter "Tag-Tag". Once you have the isolated track number stored within the tagfield TRACK, then you may create a new filename.Īs usual you may do zero-padding the track number. If the formatstring works ok and delivers the track number only, then put this formatstring as an action "Format value on tagfield TRACK" into an actiongroup with a name of your wish. Using the converter "Tag - Tag", you can get a preview how a formatstring works.įormatstring: $regexp(%_filename%,'^0*(\d+)+(.+?)$','$1') While doing this, you may store leading zeroes into the new filename as you like it. Once you have isolated the track number from the filename, and stored this track number within the tagfield TRACK, you can create a new filename of your wish. I want to point out, that my formatstring proposal does not "Renumber Tracks with Leading Zero". I created an Action using the regular expression you provided, but it did not deliver any result. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |