rdswift / picard-scripts Goto Github PK
View Code? Open in Web Editor NEWNaming scripts, tagging scripts, and script snippets for MusicBrainz Picard
License: GNU General Public License v3.0
Naming scripts, tagging scripts, and script snippets for MusicBrainz Picard
License: GNU General Public License v3.0
hi, sorry to bombard you with so many PRs and issues this morning. first of all, thanks so much for your script, i've been using it with minimal edits for several years and it's straight up the only way i'd ever keep my library organized.
my issue pertains to, i think, this section of the script
$if($eq(%_nAlbumType%,Standard),$if($eq($if2(%musicbrainz_albumartistid%,%_cVariousArtistID%),%_cVariousArtistID%),
$set(_nFilePath,%_cVariousArtist%/%_nYear% %_nANT%/),
$if($eq($if2(%musicbrainz_albumartistid%,%_cUnknownArtistID%),%_cUnknownArtistID%),
$set(_nFilePath,%_cUnknownArtist%/%_nYear% %_nANT%/),
$set(_nFilePath,%_nInitial%/$if(%_aNoArtistSort%,%_nFAA%,%_nFAAPS%)/%_nYear% %_nANT%/)
)))
my understanding of this logic is:
check if the musicbrainz_albumartistid is available, if not grab the various artists ID constant
if neither the album artist id or the various artists ID constant are empty, set the path to use [Various Artists]
otherwise similar logic for setting the path to use [Unknown Artist] or the file path initials depending on user settings
but if i understand correctly, there are two issues here that are i think causing some problems with my files.
the first is that since cVariousArtistID
is never empty since it is set in the file (i guess this check may be for robustness?), a file without the musicbrainz_albumartistid
tag will always be set to Various Artists. afaiu the unknown artist logic never gets hit
the second is that i don't believe i follow the logic for treating the release as various artists because the artist ID isn't filled. i guess it is written this way as a failsafe in case MB doesn't have the album, because if it did, the tags would already be filled, but i think maybe it would be better to put this
here where you check if a track has a different artist than the album (this is a great feature btw), ie, if any one track meets this criteria then you could conceivably argue that the album should be categorized as Various Artists?either way in my experience albums that aren't on MB get sorted as Various Artists, and in tandem with the soundtracks issue i described in #5 , my non-MB soundtracks will get thrown into Various Artists and will have the solo artist of the album listed in the filename in [Brackets] as if they were different from the main album artist
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.