•   
  • 1
  • 4
  • 5
  • 6
  • 7
  • 8(current)
Managing music albums Box-Sets properly with KODI library feature
@HeresJohnny - what I have so far looks like this

Home screen

Image

Clicking on 'Music' on the left lists the nodes.

Image

Opening the boxsets node gives you this

Image

or this, depending upon the view you select

Image


Opening a set (in this case The Joshua Tree) gives you this - four discs with individual names

Image

Lets move to the third disc, with the remixes on

Image

Now lets open it and view the tracks

Image


You can of course just click play on any of the discs instead of opening them and Kodi will play only the tracks on that disc or you can open the disc and play the track(s) you want that way. Not a big set I know, but it's more convenient to play an individual disc this way rather than have to navigate through a lot of tracks and queue up the right ones to make up the disc. Navigating this way is more akin to putting on just the CD/LP you want to listen to out of the set you bought.
Learning Linux the hard way !!
Reply
That seems reasonable for a user drilling down through the boxsets.  The other use case seems to be showing these discs in an album view mixed with non-boxsets?

scott s.
.
maintainer of skin  Aeon MQ5 mods for post-Gotham Kodi releases:
Krypton
Leia
Reply
(2019-09-07, 18:09)scott967 Wrote: The other use case seems to be showing these discs in an album view mixed with non-boxsets?
A mixed view - album + album expanded into discs - is going to be tricky. I guess it could be thought of as a disc node, all albums separated into discs with many only having 1 disc.

What do you think @black_eagle the NODE_TYPE_BOXSET_DISCS renamed as NODE_TYPE_DISCS with all discs not just those of a boxed sets, and filtering by boxed set only possible of course
Something else to consider while doing the rest.
Reply
(2019-09-07, 18:49)DaveBlake Wrote: A mixed view - album + album expanded into discs - is going to be tricky. I guess it could be thought of as a disc node, all albums separated into discs with many only having 1 disc.

What do you think @black_eagle the NODE_TYPE_BOXSET_DISCS renamed as NODE_TYPE_DISCS with all discs not just those of a boxed sets, and filtering by boxed set only possible of course
Something else to consider while doing the rest. 

 I think that's tricky with the way I've written it at the moment. I can see why that might be wanted (twin or triple cd compilations etc) but if you wanted to do that, you would have to generate some sort of name for each disc as that's what the code currently uses to differentiate between discs. As long as you have idAlbum as well as strDiscSubtitle, then Kodi should be able to pull out an individual disc for anything. It would though, mean re-writing CMusicInfoScanner::CheckBoxSets so that any disc that doesn't have a subtitle is assigned one which might make the auto-assigning of bBoxedSet tricky. It might mean that you would have to use the boxset tag to assign an album to a boxset, rather than have Kodi do it automatically as a triple CD would have disc names and therefore fit the criteria for a boxset. I'd rather that that wasn't the case and I don't really think that users should be forced into adding the tag - auto-generating sets based upon the current criteria appeals to me.

Actually, if you want to split multi-cd's into their individual cd's then boxsets become irrelevant really, as they will get split up into their component discs anyway with actual names where they are in the tags and dummy names where they aren't. The only problem with this is that core code for the music db is not designed to support a three level structure. To make the boxsets right now, I have to get the actual album and then stack it 'x' amount of times, with a different label for each cd. It works, but it's not exactly clean.

TLDR; It's a great idea and one which Kodi could well do with, but it needs some thought as to how it's implemented, especially for single disc albums which should just show the tracks, rather than a single disc and then the tracks.
Learning Linux the hard way !!
Reply
Not sure if that helps but the "Estuary Mod v2" skin has a 3-level structure to show Artist/Album/Song - maybe some code could be borrowed?
Reply
No worries about lack of disc subtitle @black_eagle, they all have discnumber to use as an index. The boxset flag would also stay as it is - identifying special albums. Having a extra levels and a variable navigation around them is not limited by the db, it is a UI thing and that is the area of the design that needs attention.

Do we add another kind of content, "discs", or continue to treat them like a variation on "albums" - pros and cons skins wsie?
How to implement variable navigation? Currently this is fixed to several content hierarchical traversal patterns -
genres > artists > albums > songs 
artists > albums > songs
albums > songs
songs
years > albums > songs
sources > artists > albums > songs
roles > artists > albums > songs

with "*All" on second level (but not the top) to skip selection on that node type on moving to the lower one. Any given node type has a fixed child node type.

So far @black_eagle has in effect created boxed sets (albums) > discs (repeated albums per disc, or songs grouped by disc) > songs

I'm suggesting that we consider making albums > discs > songs generally available as an optional path, but do so in a way that also makes artists > discs,  years > discs etc. possible, or even other routes like sources > albums (already have a thread asking for that). That is change the current fixed node to child node relationship.
Reply
Regarding art, is there a need for multiple cover images for boxsets ?  Personally, I'm quite happy with the cover for the set but I appreciate that very often sets come with discs contained in their own sleeves so I was just wondering what other people thought ?

Disc art of course is another matter.  That does need to change with each disc.  I currently have a working version where the disc art follows a multi-disc set.   All I've done really is built upon Dave's earlier work when he added multiple different art types.  You need to add 'discart' and 'discartX' to advancedsettings under <albumextraart> in the same way that you add fanart to artistextraart.  If an album only has one disc OR is a boxset but each disc is in a separate directory, then you should use 'discart'.  If an album has multiple discs in the same directory then you should use 'discartX' where X is the number of the disc.

Skins for testing were AEON Nox: SiLVO & AEON Tajo. Any up to date skin that supports Player.Art(discart) for music should work fine.

~~EDIT 2~~

Some of this is so I can refer back later to what I did and also for Daves benefit before he sees the code.  Some is an explanation of how it works....

So, I looked at how the ThumbLoader works ( for those that don't know, thumb = Coverart).  There was some code in there already for sets where the set is split over multiple directories.  So, if you have a set <album name> with directories inside that (eg CD1/CD2/CD3/CD4 etc) Kodi could already handle different cover art for that provided that it is named 'folder.jpg' or 'cover.jpg'.

What I have done is expand upon that, so that albums where all the discs are in the same directory also can show different cover art.  To do this, you need to add 'coverX' to advancedsettings.xml (under albumextraart) in the same way you add discartX.  So for example, a 3 cd set you would add (this will do a 5 disc set)

<albumextraart>
    <arttype>back</arttype>
    <arttype>discart</arttype>
    <arttype>discart1</arttype>
    <arttype>discart2</arttype>
    <arttype>discart3</arttype>
    <arttype>discart4</arttype>
    <arttype>discart5</arttype>
    <arttype>cover1</arttype>
    <arttype>cover2</arttype>
    <arttype>cover3</arttype>
    <arttype>cover4</arttype>
    <arttype>cover5</arttype>
    <arttype>spine</arttype>
</albumextraart>

Then in the album directory (where the music files are) you would name the different covers cover1.jpg, cover2.jpg & cover3.jpg.  When playing a set, Kodi will automatically show the right cover for the currently playing disc.

If the album is already split into individual discs on your drive (<album name> containing [CD1/CD2/CD3 etc etc]) then you should just put cover.jpg in each CD directory.

NOTE that this does not show different cover art when initially selecting a boxset, only when either opening an individual disc, or playing one.   Consistent in Estuary and the other skins I mentioned above.

Ideally, I would like to display the individual covers (if there are any) for a multi-disc set when you first open it.  In other words, if there are three CD's I would like it to display cover1, cover3, cover3 whereas at the moment, I get the actual album cover repeated three times and only on opening one do I see the correct cover.  I've tried a couple of different ways to resolve this, but so far had no luck.  Not done yet though !!!

Ha, got that working.  If you have set custom covers, opening any album that is a multi-disc set (regardless of whether or not it's a boxset) will show the custom covers if you have set them.  If you haven't, it will just show the album cover repeated for the number of discs there are.  This works consistently in all views in Estuary.  I also tested with Aeon Tajo (works), Aeon Nox:SiLVO(Works in wall view only) and Transparency!(doesn't work).

Not too bothered about the skins where it doesn't work as the question is always 'Does it work in Estuary?'. And it does, so other skins will need to adjust.

Art is either assignable at file level (putting discart1,2,3 etc and cover1,2,3 in the directory with the files or through the GUI after your albums have been scraped (assuming you have set up your advancedsettings.xml) in the usual way and can be either local or remote art like the rest of the art in Kodi.
Learning Linux the hard way !!
Reply
Some screenshots

Image

Image

Image

Image

Image

Image

Image

Image

All screenshots are from stock Estuary except the last one which is from Aeon Tajo as Estuary doesn't show discart.
Learning Linux the hard way !!
Reply
looking good..
Reply
  •   
  • 1
  • 4
  • 5
  • 6
  • 7
  • 8(current)
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
Managing music albums Box-Sets properly with KODI library feature00