2019-12-07, 12:36
Then again perhaps it is always up to core to decide what are the "children" of an album - discs or songs, like it does with navigation. I have an idea how to do that too now, but need to check out the cire changes involved.
(2019-12-07, 12:36)DaveBlake Wrote: Then again perhaps it is always up to core to decide what are the "children" of an album - discs or songs, like it does with navigation. I have an idea how to do that too now, but need to check out the cire changes involved.
(2019-12-07, 14:08)black_eagle Wrote: I have a version that, if disc navigation is turned off, always shows the song list if no description. It doesn't affect boxset navigation which still shows either description or disc titles. Doubt Dave will approve though !!Ho, depends what you have done
(2019-12-07, 15:00)DaveBlake Wrote:I did it in core.(2019-12-07, 14:08)black_eagle Wrote: I have a version that, if disc navigation is turned off, always shows the song list if no description. It doesn't affect boxset navigation which still shows either description or disc titles. Doubt Dave will approve though !!Ho, depends what you have done
In the skin, or in core or both? You show me yours and I'll show you mine
cpp:NODE_TYPE CDirectoryNodeAlbum::GetChildType() const
{
bool boxset = false;
bool discs = CServiceBroker::GetSettingsComponent()->GetSettings()->GetBool(
CSettings::SETTING_MUSICLIBRARY_SHOWDISCS);
CMusicDatabase db;
if (db.Open())
boxset = db.IsAlbumBoxset(GetID());
if (!discs && !boxset)
return NODE_TYPE_SONG;
return NODE_TYPE_DISC;
}
?compilation=true
or similar.
(2019-12-07, 15:27)black_eagle Wrote: Your variable adjustment works well. It doesn't work though for paths that have ?compilation=true
or similar.
Yes it was flawed I know, and skins can't get at Kodi settings either. Core is a better place for such complex decisions.(2019-12-07, 16:08)DaveBlake Wrote: But going to dock a few points for not showing songs when then there is only one disc regardless of show discs being enabled. I think the behaviour of the sublist contents needs to mimic the navigation behaviour.
(2019-12-07, 22:30)black_eagle Wrote: It was a work-in-progress!! Admittedly there was a flaw or two, but I was contemplating those when you came up with your PR. So I stoppedIt was good stuff @black_eagle, and gave me cause to think around things more so not a wasted effort. I felt responsible for issues with the navigation guts, hence got on with PR, but please kick the tires etc.
(2019-12-29, 18:28)black_eagle Wrote: @HeresJohnny , @tkgafs I have raised a PR against master https://github.com/xbmc/xbmc/pull/17096 that makes the boxset tag check case insensitive.
Merry Xmas
(2020-01-17, 14:34)DaveBlake Wrote: In this case the example FLAC file has a tag value with name MUSICBRAINZ_ALBUMTYPE, where the tag name in FLAC file metadata should be RELEASETYPE.