getmusicbee.com

General => Beyond MusicBee => Topic started by: kanal on February 20, 2021, 11:15:28 PM

Title: Music brainz how to create naming script for year, month and date?
Post by: kanal on February 20, 2021, 11:15:28 PM
Currently my file naming script is the following:
$if(%_subfolder%,%_subfolder%)/
$if2(%albumartist%,%artist%)/
[$if2(%originaldate%,%date%)] %album% $if(%catalognumber%,{%catalognumber%})/
$if(%discnumber%,%discnumber%,1).$num(%tracknumber%,2). %title%

The output (of the folder) will be: [1977-06-03] Exodus {1734079}
What I want is: [1977.06.03] Exodus {1734079}

I've tried adding: $if(%Y%.,%M.%D%), $if(%year%.,%month.%day%), and a few more less obvious ones. None of them worked.
I tried to understand their documentations but it didn't make sense to me (I don't know anything about scripting), I followed this link "https://picard-docs.musicbrainz.org/en/functions/func_datetime.html" and added "$datetime(\%Y-\%m-\%d)" to my script which gave me an "unknown function 'datetime'" error.

Thanks in advance! I'm also curious of the name preferences people here have.
Title: Re: Music brainz how to create naming script for year, month and date?
Post by: kanal on February 26, 2021, 01:31:17 AM
not much help here :/
Title: Re: Music brainz how to create naming script for year, month and date?
Post by: hiccup on February 26, 2021, 02:43:43 PM
not much help here :/
I'll help you.
Your question is specifically about scripting for MusicBrainz' Picard.
They also have a very helpful forum:
https://community.metabrainz.org/c/picard/13
Title: Re: Music brainz how to create naming script for year, month and date?
Post by: kanal on February 26, 2021, 04:15:25 PM
I'll help you.
Your question is specifically about scripting for MusicBrainz' Picard.
They also have a very helpful forum:
https://community.metabrainz.org/c/picard/13
Thank you! I was unaware of this community, will definitely be helpful!
Title: Re: Music brainz how to create naming script for year, month and date?
Post by: Terry Walker on March 19, 2021, 03:58:01 AM
I'll help you.
Your question is specifically about scripting for MusicBrainz' Picard.
They also have a very helpful forum:
https://community.metabrainz.org/c/picard/13
Thank you! I was unaware of this community, will definitely be helpful!
There are many people here who can really help you but some are busy. Are you done with your script?