then you'd need to write some tagger script. Inside an $if statement (match on e.g. compilation rg type?) you could use the $set function to set a tag.
2022-04-28 11809, 2022
KassOtsimine
...
2022-04-28 11845, 2022
kepstin
so something like $if($eq(%compilation%,1),$set(original_year,%__recording_firstreleasedate%)
2022-04-28 11801, 2022
kepstin
where you can change 'original_year' to be whatever tag name you want to put it in
2022-04-28 11814, 2022
kepstin
and i forgot to add the last closing )
2022-04-28 11838, 2022
rdswift
But remember that will change the value of original_year only for that track. There is currently no way to apply the change to all tracks on the release.
2022-04-28 11824, 2022
kepstin
well, for recording dates it makes sense to do it per recording :)
2022-04-28 11834, 2022
rdswift
Yup.
2022-04-28 11832, 2022
KassOtsimine
hmm
2022-04-28 11833, 2022
KassOtsimine
ok so my use case is thus: for releases with "one artist" (not compilation) i will want it it named as $artistname - $releasename/$tracknumber $tracktitle.tld with the date as whatever mb has for that loaded release (or whatever i override it in but that's irrelevant to a naming script iiuc.)
so far i am going itno options whenever i have a va release and jsut moving parens around using noop
2022-04-28 11839, 2022
KassOtsimine
which works, but is uneligant
2022-04-28 11851, 2022
KassOtsimine
(i also have the problem that with releases with more thna one disc i want $discnum-$tracknum) but i laso *don't* want to save that i nthe tags, i only want it for names. but in order to be able to tag for it, i must leave discnum intact and manually remove this tag
but yeah, you can wrap that all in an $if that checks the compilation tag value and picks between the different formats
2022-04-28 11822, 2022
KassOtsimine
ah i have a lot of $unset as a taggerscript
2022-04-28 11857, 2022
KassOtsimine
like $unset(totaltracks) (I'd liek to use it for totaldiscs too, but i can''t that becasue thne the $discnum has nothing to work with)
2022-04-28 11812, 2022
kepstin
it's all just $if($eq(%compilation%,1),<put compilation naming pattern here>,<put non-compilation naming pattern here>)
2022-04-28 11837, 2022
KassOtsimine
compilatio is what's set as being comp=1 thoguh, not from mb
2022-04-28 11846, 2022
KassOtsimine
(unless it's got that fro mmb)
2022-04-28 11855, 2022
KassOtsimine
but if i set something as comp=1
2022-04-28 11800, 2022
kepstin
the %% syntax refers to whatever you have set in variables/tags
2022-04-28 11826, 2022
KassOtsimine
.. right.. one problem is that i have "$unset(compilation)"
2022-04-28 11854, 2022
kepstin
so, what's the condition you want to use to choose between the two patterns, then?
2022-04-28 11856, 2022
KassOtsimine
because that some thinggs from mb are comp but i wouldn't use it.. maybe i should remove that
2022-04-28 11842, 2022
kepstin
you have to figure out a way to describe this condition that a computer can understand and can be determined from information in picard :)
2022-04-28 11857, 2022
KassOtsimine
the condition is.. things where the tag is thre in the file i load or that I set it myself
2022-04-28 11803, 2022
KassOtsimine
yea
2022-04-28 11853, 2022
rdswift
I suggest changing your tagging script to ```$set(_compilation,%compilation%)$unset(compilation)``` and then test the value of %_compilation% in your naming script.
2022-04-28 11800, 2022
kepstin
In current versions of picard, the file naming pattern can use tags loaded from a file or set manually (as long as you don't $unset() them of course)
2022-04-28 11818, 2022
kepstin
(I prefer not to set things manually, of course, my file naming pattern is all automated so i don't forget something)
2022-04-28 11829, 2022
KassOtsimine
heh
2022-04-28 11844, 2022
KassOtsimine
i liek setting things manually so things aren't autmatically something i didn't wnated :D
2022-04-28 11835, 2022
KassOtsimine
for instance , a disngle artist comp i would not want this naming thing
2022-04-28 11809, 2022
kepstin
picard has a bunch of tags and hidden variables that provide enough info to figure that sort of thing out, if you're up to programming it.
2022-04-28 11845, 2022
kepstin
the "compilation" tag is specifically only set on "Various Artist" albums, not multi-artist or single-artist compilations, fwiw
2022-04-28 11814, 2022
KassOtsimine
alright
2022-04-28 11827, 2022
KassOtsimine
so if i make a new taggerscript with thaat kepstin suggestion, shoudl it be before or after the other one with all the unsets?
2022-04-28 11848, 2022
kepstin
are you talking about the tagger script or the file naming pattern?
2022-04-28 11858, 2022
KassOtsimine
yes
2022-04-28 11802, 2022
KassOtsimine
taggerscript
2022-04-28 11823, 2022
kepstin
inside the tagger script, order of operations matters - you can't use %compilation% after you unset it for example :)
2022-04-28 11818, 2022
zer0bitz_ joined the channel
2022-04-28 11821, 2022
KassOtsimine
hm. it doesnt seem to work.. (set this new kepstin thing before the other one)
2022-04-28 11802, 2022
rdswift
That's why I suggested copying %compilation% to %_compilation%, unset %compilation%, and use %_compilation% in your file naming script test.
2022-04-28 11832, 2022
KassOtsimine
i pasted that to the unset taggerscrip. i'm not using dates for renaming
2022-04-28 11840, 2022
xplt has quit
2022-04-28 11844, 2022
zer0bitz has quit
2022-04-28 11849, 2022
kepstin
hmm, "__recording_firstreleasedate" isn't in the picard docs, where did you see that?
2022-04-28 11803, 2022
kepstin
is there maybe a plugin that generates that?
2022-04-28 11826, 2022
kepstin
oh, hmm, musicbrainz blog says added in 2.6
2022-04-28 11841, 2022
KassOtsimine
oh shi. i have 2.1
2022-04-28 11845, 2022
KassOtsimine
i have to update it
2022-04-28 11855, 2022
rdswift
Tags starting with an underscore will not be written to the files.
2022-04-28 11856, 2022
kepstin
i wish the variables weren't split up on multiple pages in the docs, it makes it hard to find things
2022-04-28 11806, 2022
kepstin
i miss the big old list of everything on one page :(
note that current versions of picard support option profiles, that let you switch between different settings within one version of picard
2022-04-28 11813, 2022
KassOtsimine
yea i know
2022-04-28 11821, 2022
KassOtsimine
i havent played with that (yet)
2022-04-28 11841, 2022
kepstin
i haven't yet either, heh. looks pretty complicated.
2022-04-28 11854, 2022
MRiddickW has quit
2022-04-28 11858, 2022
rdswift
If you're wanting to install another version for testing or whatever, I suggest installing the portable version (which saves the config file in a subdirectory of where the program is executed). That allows you to make changes to the config without affecting your "main" installed version.
2022-04-28 11808, 2022
rdswift
kepstin, it's actually pretty straightforward once you get used to the idea of settings stacks.
The next version of Picard (rc1 being released next week) will actually also allow you to backup your config file and restore from a backup. That will allow you another way of changing configurations.
2022-04-28 11855, 2022
kepstin
I might not actually need it, heh, the only thing i really change back and forth is the file naming pattern and there's a separate thing for that
2022-04-28 11832, 2022
rdswift
Yeah, the only thing that I haven't found a way to automate yet is changing my file naming script for releases tagged in Classical format (with composers as the track artists).
2022-04-28 11839, 2022
MRiddickW joined the channel
2022-04-28 11859, 2022
PelvicSorcery has quit
2022-04-28 11847, 2022
Cheezmo joined the channel
2022-04-28 11845, 2022
fhe has quit
2022-04-28 11848, 2022
v6lur joined the channel
2022-04-28 11815, 2022
ta264 has quit
2022-04-28 11839, 2022
MRiddickW has quit
2022-04-28 11814, 2022
KassOtsimine
ah! in taggerscript. is there a way to make it always replace some glyp by another glyp?
2022-04-28 11823, 2022
KassOtsimine
like i want hypen-minus isntead of hyphen
2022-04-28 11839, 2022
KassOtsimine
and jsut regular ' isntead of.. a thing i have to copy paste to find
2022-04-28 11859, 2022
v6lur has quit
2022-04-28 11818, 2022
kepstin
there's a plugin to do that, specifically
2022-04-28 11832, 2022
kepstin
i forget what it's called, 'ascii punctuation' or something like that?
2022-04-28 11804, 2022
kepstin
oh, it's not a plugin, it's just an option in the Metadata section, "Convert Unicode punctuation characters to ASCII"
2022-04-28 11815, 2022
kepstin
(there's also a "Non-ASCII Equivalents" plugin which tries to do a bit fancier of a job if the built-in method doesn't do what you want)
2022-04-28 11823, 2022
kepstin
i think that plugin also might remove accents, so that's probably not very good for non-english stuff
2022-04-28 11811, 2022
kepstin
(you could edit the plugin to replace whatever sets of characters you like tho)
2022-04-28 11840, 2022
CatQuest
Metadata section, "Convert Unicode punctuation characters to ASCII" <<-- yea I don't want that, because it coverst things like fullwith characters or whatever too, i only want those two tings
2022-04-28 11829, 2022
CatQuest
i can't really edit plugins because I can't code at all. all these taggerscripts seem like hoodoo to me :(
2022-04-28 11824, 2022
CatQuest
and idunno what the ascii-fyer will do with æøå
2022-04-28 11803, 2022
CatQuest
and I don't mine emdash
2022-04-28 11808, 2022
CatQuest
and I don't mind emdash
2022-04-28 11826, 2022
CatQuest
or unicode fuckery
2022-04-28 11847, 2022
CatQuest
or ffing zalgo, it's those damn hyphen and uuhh right single quotationmark used instead of apostrophe or even modifyer letter apostophe
2022-04-28 11819, 2022
CatQuest
ʼ which atleast makes *sense* somewhat and doesn't also look like an acute ´
CatQuest, you can probably do what you want by using the $replace() function like $set(title,$replace(%title%,-,-))
2022-04-28 11818, 2022
KassOtsimine
a taggerscript right?
2022-04-28 11843, 2022
KassOtsimine
also i want it for title and releasetitle and artist name too
2022-04-28 11857, 2022
KassOtsimine
and for the apostrophes, it's a second line of $set(title,$replace(%title%,',’)) like right?
2022-04-28 11826, 2022
KassOtsimine
derwin: yea
2022-04-28 11826, 2022
KassOtsimine
>>> unidecode('kožušček')
2022-04-28 11826, 2022
KassOtsimine
'kozuscek'
2022-04-28 11826, 2022
KassOtsimine
that's exactly what I *don't* want :)
2022-04-28 11840, 2022
KassOtsimine
jesus2099: you had a windows tool that was an extended charmap sort of program exe, do you remember that? i'd like to get a hold of that again (unrelated to the current convo btw)