pecinko wrote: 09 May 2018, 14:43
Does it look like I need it?
not sure, you wanted it to be done automatically by core...
pecinko wrote: 09 May 2018, 14:43
In your example TV Shows home menu item will still appear unless manually flopped off

in case user does NOT have shows in library but uses PMS. Comments you see here are about PMS users seeing Home items for the media they don't have/use on PMS. Music is the same case.
it doesnt mean that
Code: Select all
<visible>!Skin.HasSetting(HomeMenuNoTVShowButton) + [Library.HasServices | Library.HasContent(TVShows)]</visible>
item will be visible if "HomeMenuNoTVShowButton" is not set(meaning "Yes" show me the button) and if "Library.HasServices" is set to true or Library.HasContent(TVShows) is set to true
in 3.6.2
Library.HasContent(TVShows) is set to true if
Mysql or sqlite has tvshow library
Library.HasServices is set to true if either Plex or Emby is enabled
so, in above example , if user didnt touch the radio button to hide TvShows in home, either plex/emby is enabled or
MySql/sqlite library has TvShows the button will be visible
in 3.7.0(next testfligtht)
Library.HasContent(TVShows) is set to true if
Mysql or sqlite has tvshow library
or if plex or emby has tvshows section.... as promised here ->
viewtopic.php?f=10&p=17606#p17601
Library.HasServices becomes redundant , it will always return false for backward compatibility
so, in above example , if user didnt touch the radio button to hide TvShows in home, either plex/emby is enabled
and has tvshow section or
MySql/sqlite library has TvShows the button will be visible
hope its clearer now
