Detect multi-disc sets by looking for a disc or cd number in the album
name during scanning.  Once identified, the disc number (including an
optional disc total) are removed and the album name is cleaned up.

Available under 3rd party plugins.

Details:

If you are like me, many of your multi-disc sets are not properly tagged
so they can be recognized by LMS.  Specifically, they do not have the
DISC (disc number) or DISCC (disc total) tags.  Moreover, the album
names are not identical between discs of a set.

However, my album names do include disc information in the form of "disc
1 of 8" (for example).  For my own reasons, I like my multi-disc set
tags as they are and decided instead to write a plugin to do the
translation.  Fortunately, LMS makes this fairly easy.

Having LMS properly recognize multi-disc sets is really nice.  I really
like the fact that I can play an entire set without having to add each
disc one at a time.

How it works:

MultiDisc attempts to find patterns like (disc or cd) in the album name
and guesses what DISC and DISCC should be.  After finding these pattern,
MultiDisc attempts to clean up the album tag so that the albums may be
properly combined by LMS as a box set.

Examples  of album names handled by MultiDisc:

"Still Live - Disc 1"
"Alone Together: The Best of The Mercury Years (Disc 1 of 2)"
"At the Half Note Café 1960 - CD 1"

Where this doesn't work, MultiDisc allows you to override the album tag
so that LMS can still recognize the multi-disc set.  By default, if
MultiDisc sees a comment that contains the string 'BOXSETNAME' it will
interpret the remainder of the comment as the intended set name.

Here are some example album names from multi-disc sets where this may be
handy:

"At The Blue Note, The Complete Recordings IV"
"Unearthed (Disc 1: Who's Gonna Cry)"
"Unearthed (Disc 2: Trouble in Mind)"

Note that the regular expression used by MultiDisc is far from being
perfect (though it works for me).  I thought about making the pattern
tunable, but that is currently an exercise for more advanced users. 
Simply look at the code in Plugin.pm and modify it as it suits you.

MultiDisc is also an example of a plugin which overrides the default
behavior of various file format parsers during scanning.  This could
easily be extended for other purposes (e.g. other types of automatic tag
cleanup).

Source is here:

https://github.com/mrthreeplates/MultiDisc

Enjoy those box sets!


------------------------------------------------------------------------
mrthreeplates's Profile: http://forums.slimdevices.com/member.php?userid=565
View this thread: http://forums.slimdevices.com/showthread.php?t=101663

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to