Hi,
yesterday i have found MusicBrainz for Tagging my Media Files and have seen that i can Scripting to make my own library.
Today i start my first script and hope that someone can help me for my questions.
At first i start to script Albums
Music/Interprets/A-Z/Interpret/Album (YYYY)/CDnr-TitleNumber. Titel
Music/Interprets/A/Anastacia/Not that Kind (2000)/1-01. Not that Kind.mp3
Now i want to include Compilations with a different path and want to ask how i can include it?
In Java i create an if statement, it is here possible to do it?
The Path for Compulations will be different and looks like
Musik/Compilations/Albuminterpret/Album (YYY)/CDnr-TitleNumber. Interpret - Title
Music/Compilations/Bravo Hits/Bravo Hits Vol 001 (1988)/1-01. Sandra - Dont´t be Agressive.mp3
There must define some parameters that must created
When it will be see an Bravo Hits as Compilation then it will set Albuminterpret as âBravo Hitsâ Add âVolâ and make the Number â001â three characters.
In Java i have programmed it with al List of Compilations and when it is true then these Parameters wqill be calculated.
It is possible to do that here with scripting too?
I have seen in Preferences Scripts there can create more scripts.
It is better when i create a script only for Interpret-Album then an own script for Compilations?
Or it is better to create only one Script for all?
Interpret-Album, Compilations, Singles, Audio-Book, Radio Play, and so on.
Thanks
Yes, the additional closing brackets are the issue. Tagger script actually is tolerant about closing brackets, if they are not needed because of an opening bracket they just get interpreted as the character. But I would not advise this, always escape opening and closing brackets you want to use as the character with \( and \).
Also your use of $firstalphachar should just be $firstalphachar(%albumartistsort%,#) or even $firstalphachar(%albumartistsort%). The second parameter is the character to use if the first character is not alphabetic. The default is #.
i want to include one folder that will stack more of compulations of their series.
Bravo Hits Volume 1âŚx save to the folder âBravoHitsâ but it doestn work.
It is a problem in the if statement?
Try removing the spaces between the commas and âBravo Hitsâ. You should also remove the space after the comma in %album% \($left($if2(%date%,%originaldate%, 0000),4)\)/.
Iâm not completely sure that I understand how you want these albums to be saved, so the following may or may not do it for you. [I have not tested the following code.]
Part of the problem (perhaps the whole problem?) was that you were assigning the text âBravo Hitsâ to a tag named by the contents of %albumartist% rather than a tag named albumartist. When youâre using $set() donât use the percent signs around the name of the tag to set. This is a common mistake that we all have made at one time or another. In fact, I missed it when I provided my earlier response.
Thank you for the very importanto informations.
I will notice it in my working document.
There are not so many Compilations that need to stack it in own albumartist, the i can define it in the script as if and set statement.
Now the folder will work.