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.
This plugin does not modify the actual tags of the media file itself, only the tags as stored in LMS's database.
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 usually include disc information in the form of "box-set-name (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 automatically 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"
This works for many (most really) of my multi-disc sets. I don't have to change anything and LMS automatically recognizes and tags the multi disc set.
My multi disc sets which do not fit this pattern usually have either non-numeric disc numbers (e.g. letters, roman numerals, etc). For these, I resort to setting the DISC (and optionally DISCC) tags as needed. However, this still leaves me with the problem that the album names of all of the discs in the set are not the same. MultiDisc allows me to override the album tag if needed so that LMS can still recognize the multi-disc set. When MultiDisc sees a comment that contains the string 'SETNAME' it will interpret the remainder of the comment as the intended set name. This allows me to have both an album name and a (possibly completely different) multi disc 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)"
So, by using a combination of DISC tags and/or adding SETNAME comments, I can fixup my remaining multi-disc sets which aren't handled automatically.
MultiDisc allows me to keep a fairly standard tagging mechanism while still enjoying the ability of LMS's multi disc set handling.
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!
NOTE: Windows users must use version 1.1 or later.
Available under 3rd party plugins.
This plugin does not modify the actual tags of the media file itself, only the tags as stored in LMS's database.
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 usually include disc information in the form of "box-set-name (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 automatically 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"
This works for many (most really) of my multi-disc sets. I don't have to change anything and LMS automatically recognizes and tags the multi disc set.
My multi disc sets which do not fit this pattern usually have either non-numeric disc numbers (e.g. letters, roman numerals, etc). For these, I resort to setting the DISC (and optionally DISCC) tags as needed. However, this still leaves me with the problem that the album names of all of the discs in the set are not the same. MultiDisc allows me to override the album tag if needed so that LMS can still recognize the multi-disc set. When MultiDisc sees a comment that contains the string 'SETNAME' it will interpret the remainder of the comment as the intended set name. This allows me to have both an album name and a (possibly completely different) multi disc 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)"
So, by using a combination of DISC tags and/or adding SETNAME comments, I can fixup my remaining multi-disc sets which aren't handled automatically.
MultiDisc allows me to keep a fairly standard tagging mechanism while still enjoying the ability of LMS's multi disc set handling.
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!
NOTE: Windows users must use version 1.1 or later.