Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $noop(Refactored the tagger script; Added constants and tried to make it much more streamlined
- Lines 1-2: Set constants for the date [in parentheses] and whether an album is Various Artists
- Line 3: Swap articles to the end of artist names for sane sorting
- Line 4: If not a VA compilation, prepend the date constant to the album title string
- Line 5: If there are two or more discs, prepend the disc number to the track number
- Line 6: Add the artist name to the filename for VA compilations)
- $set(_cDate,\($if2($left(%originaldate%, 4),$left(%date%, 4))\))
- $set(_cVA,$eq(%albumartist%,Various Artists))
- $if2($swapprefix(%albumartist%),$swapprefix(%artist%))/
- $if($not(%_cVA%),%_cDate%) %album%/
- $if($gt(%totaldiscs%,1),%discnumber%-,)$num(%tracknumber%,2) -
- $if(%_cVA%,%artist% - ,)%title%
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement