Tagger icon indicating copy to clipboard operation
Tagger copied to clipboard

Trim, Append, Prepend, and Recurse Actions

Open torresus opened this issue 8 years ago • 3 comments

Would it be possible to add the ability to trim tag values such as trimming the "01" from the title "01 Billie Jean"?

How about being able to append a tag such as adding "(explicit)" to the end of the title to become "Billie Jean (explicit)"?

Also, prepend a tag such as adding "The" to the beginning of the artist to become "The Eagles"?

How about the ability to "recurse" a top level folder so that all the songs within sub-folders are listed instead of going through one folder at a time?

I use a product called KJ File Manager that is mainly for karaoke but does the same for MP3's and it has these actions if you'd like to review: http://www.karaosoft.com/ProductDetails_KJFileManager.aspx

torresus avatar Mar 21 '16 16:03 torresus

You can using regex replace from the tags menu for this. This uses a regular expression patten to specific what to replace

trim numbers from the start

regex: ^\d+ (.*)
Replacement:  $1 

Prepend The

regex:  ^
Replacement:  The 

Append (Words)

regex: $ 
Replacement:  (words)

Bilalh avatar Mar 21 '16 17:03 Bilalh

Thank you for the quick response! Great product by the way! Is there a user manual for regex commands? Also, any note on recursing sub-folders?

Joe Torres 832-439-1460 [email protected]

Sent from my iPhone

On Mar 21, 2016, at 12:09 PM, Bilal Syed Hussain [email protected] wrote:

You can using regex replace from the tags menu for this. This uses a regular expression patten to specific what to replace

trim numbers from the start

regex: ^\d+ (.*) Replacement: $1 Prepend The

regex: ^ Replacement: The Append (Words)

regex: $ Replacement: (words) — You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub

torresus avatar Mar 21 '16 18:03 torresus

Try http://regexr.com,

Recursively listing a directory in general would be a bad idea, since they can be very large e.g mine is 20Gb+ with 5000+ song and thats small compared with other people I know. Another problem is actually editing that many files at once would take a long time, I have yet to implemented a way of showing how the tagging is going, so to the user it would look like the app was frozen when it actually working fine.

Bilalh avatar Mar 21 '16 18:03 Bilalh