Page 1 of 1

Can I create custom renaming for mp3 (based on tag)?

Posted: 13 Mar 2018 19:48
by chumbo
Hi,
The default renaming options for mp3 are not what I was looking for. Is there a way to change that?
I'd like to have Album - track - title
Thanks! :)
Chumbo

Re: Can I create custom renaming for mp3 (based on tag)?

Posted: 13 Mar 2018 19:51
by highend
In the MP3 Special contextmenu? Not possible. Write a script and execute that instead...

Re: Can I create custom renaming for mp3 (based on tag)?

Posted: 13 Mar 2018 19:54
by chumbo
Write a script!?...I wished I knew how, no can do :roll:

Re: Can I create custom renaming for mp3 (based on tag)?

Posted: 13 Mar 2018 20:08
by highend

Code: Select all

    setting "BackgroundFileOps", 0;
    foreach($file, <get SelectedItemsPathNames |>, , "e") {
        if (gpc($file, "ext") LikeI "mp3") {
            renameitem(report("{prop:#mp3.album} - {prop:#mp3.track} - {prop:#mp3.title}", $file), $file, 1+4);
        }
    }

Re: Can I create custom renaming for mp3 (based on tag)?

Posted: 13 Mar 2018 20:40
by chumbo
Awesome, thx! :)
(what's incredible?)