diff --git a/1080i/Includes.xml b/1080i/Includes.xml index c8ce915..1c88828 100644 --- a/1080i/Includes.xml +++ b/1080i/Includes.xml @@ -11,7 +11,6 @@ - @@ -33,7 +32,13 @@ container.content(episodes) + !Substring(Container.folderpath,plugin) container.content(musicvideos) + !Substring(Container.folderpath,plugin) - container.content(playlists) + !Substring(Container.folderpath,plugin) + Substring(container.foldername,Files) | container.content(files) | container.content(addons) | [container.content(playlists) + !Substring(Container.folderpath,special://profile/playlists)] + container.content(artists) + [Substring(container.folderpath,musicdb://) | Substring(Container.folderpath,special://profile/playlists)] + container.content(albums) + Substring(container.folderpath,albumartistsonly) + container.content(albums) + [Substring(container.folderpath,musicdb://) | Substring(Container.folderpath,special://profile/playlists)] + container.content(genres) + Substring(container.folderpath,musicdb://) + container.content(songs) + Substring(Container.folderpath,musicdb://) + container.content(songs) + [Substring(Container.folderpath,special://profile/playlists) | Substring(Container.foldername,PartyMode) | Substring(Container.folderpath,playlistmusic://)] diff --git a/1080i/Includes_variables.xml b/1080i/Includes_variables.xml index aacb8fb..75124d6 100644 --- a/1080i/Includes_variables.xml +++ b/1080i/Includes_variables.xml @@ -12,6 +12,7 @@ $LOCALIZE[20343] $INFO[container.foldername] $LOCALIZE[31012] + [CAPITALIZE]$INFO[container.foldername][/CAPITALIZE] [CAPITALIZE]$INFO[container.foldername][/CAPITALIZE] [LOWERCASE][COLOR highlight]$LOCALIZE[31054] $INFO[container.sortmethod] $INFO[Container.SortOrder,(,)][/COLOR][/LOWERCASE] $LOCALIZE[31058] $INFO[container.foldername] diff --git a/1080i/MyMusicNav.xml b/1080i/MyMusicNav.xml index 6f9e0c1..f0b545f 100644 --- a/1080i/MyMusicNav.xml +++ b/1080i/MyMusicNav.xml @@ -14,13 +14,13 @@ contentOpen - artist - album - artistalbums - song - musicgenre musicfiles - musicaddons + musicgenre + musicartistcatalogue + musicartist + musicalbum + musicsongs + musicPlayList @@ -74,7 +74,7 @@ DebugGrid WindowID - + diff --git a/1080i/MyPlaylist.xml b/1080i/MyPlaylist.xml index 9856871..e4fb588 100644 --- a/1080i/MyPlaylist.xml +++ b/1080i/MyPlaylist.xml @@ -28,7 +28,7 @@ contentOpen - viewMusicPlayList + musicPlayList @@ -89,7 +89,7 @@ DebugGrid WindowID - + diff --git a/1080i/View_Albums.xml b/1080i/View_Albums.xml index e56698a..1cb8380 100644 --- a/1080i/View_Albums.xml +++ b/1080i/View_Albums.xml @@ -1,10 +1,10 @@ - + - container.content(albums) + !container.content(songs) + !SubString(container.folderpath,musicdb://artists) + !SubString(container.folderpath,musicdb://genres) + $EXP[isMusicAlbum] dimensionsFullscreen stretch @@ -12,81 +12,20 @@ 1500 22ffffff - - - container.content(albums) + !container.content(songs) + !SubString(container.folderpath,musicdb://artists) + !SubString(container.folderpath,musicdb://genres) - 78 - row-5-begin - 1800 - 24-row - 9000 - 60 - 50 - 50 - 9000 - 60 - 600 - - - 0 - 0 - 4-col-gutter - 4-col-gutter - stretch - DefaultAlbumCover.png - colors/black.png - 6 - overlay - - - isempty(listitem.title) - 12 - 2-row - 240 - 2-row - center - center - regularStrong - textDisabled - - - - !controlgroup(9000).hasfocus - 12 - 262 - 240 - 1-row - center - thumbtitle - textActive - - - - !controlgroup(9000).hasfocus - 12 - 286 - 240 - 1-row - center - thumbTitle - textDisabled - - - - 0 - 0 - 4-col-gutter - 4-col-gutter - stretch - $INFO[ListItem.Art(thumb)] - colors/black.png - 6 - ffFFFFFF - - - - - focusThumb + + $EXP[isMusicAlbum] + 78 + row-5-begin + 1800 + 24-row + 9000 + 60 + 50 + 50 + 9000 + 60 + 600 + 0 0 @@ -94,19 +33,9 @@ 4-col-gutter stretch DefaultAlbumCover.png - colors/white.png - 6 - ff666666 - - - 0 - 0 - 4-col-gutter - 4-col-gutter - stretch - $INFO[ListItem.Art(thumb)] - colors/white.png + colors/black.png 6 + overlay isempty(listitem.title) @@ -117,10 +46,11 @@ center center regularStrong - textActive + textDisabled + !controlgroup(9000).hasfocus 12 262 240 @@ -131,17 +61,87 @@ + !controlgroup(9000).hasfocus 12 286 240 1-row center thumbTitle - textActive + textDisabled - - + + 0 + 0 + 4-col-gutter + 4-col-gutter + stretch + $INFO[ListItem.Art(thumb)] + colors/black.png + 6 + ffFFFFFF + + + + + focusThumb + + 0 + 0 + 4-col-gutter + 4-col-gutter + stretch + DefaultAlbumCover.png + colors/white.png + 6 + ff666666 + + + 0 + 0 + 4-col-gutter + 4-col-gutter + stretch + $INFO[ListItem.Art(thumb)] + colors/white.png + 6 + + + isempty(listitem.title) + 12 + 2-row + 240 + 2-row + center + center + regularStrong + textActive + + + + 12 + 262 + 240 + 1-row + center + thumbtitle + textActive + + + + 12 + 286 + 240 + 1-row + center + thumbTitle + textActive + + + + + \ No newline at end of file diff --git a/1080i/View_ArtistAlbums.xml b/1080i/View_ArtistAlbums.xml index 1825c0a..9c634dd 100644 --- a/1080i/View_ArtistAlbums.xml +++ b/1080i/View_ArtistAlbums.xml @@ -1,16 +1,12 @@ - - + - container.content(albums) + !container.content(songs) + [SubString(container.folderpath,musicdb://artists) | SubString(container.folderpath,musicdb://genres)] + $EXP[isMusicArtistCatalogue] - 0 - 0 - fullscreenWidth - fullscreenHeight + dimensionsFullscreen stretch $INFO[Container.Art(artist.fanart)] 500 @@ -23,7 +19,6 @@ ffffffff stretch - @@ -46,7 +41,6 @@ colors/white.png highlight - col-1-begin @@ -75,9 +69,8 @@ - - container.content(albums) + !container.content(songs) + [SubString(container.folderpath,musicdb://artists) | SubString(container.folderpath,musicdb://genres)] + $EXP[isMusicArtistCatalogue] 72 row-21-begin 1848 diff --git a/1080i/View_Artists.xml b/1080i/View_Artists.xml index 312c7d9..cc3bb15 100644 --- a/1080i/View_Artists.xml +++ b/1080i/View_Artists.xml @@ -1,10 +1,10 @@ - - + - container.content(artists) + !container.content(songs) + !container.content(albums) + $EXP[isMusicArtist] + dimensionsFullscreen stretch @@ -12,73 +12,74 @@ 500 22ffffff - - - container.content(artists) + !container.content(songs) + !container.content(albums) - col-1-begin - row-5-begin - 24-col - 23-row - 9000 - 60 - 50 - 50 - 60 - - - 0 - 3 - 66 - 66 - stretch - $INFO[Listitem.thumb] - - - 1-col-indent - 0 - 6-col - 2-row - center - itemTitle - textActive - - - - - - - - 1-col - 0 - 7-col-gutter - 2-row - stretch - colors/white.png - highlight - - - 0 - 3 - 66 - 66 - stretch - $INFO[Listitem.thumb] - - - - - - - 1-col-indent - 0 - 6-col - 2-row - center - itemTitle - textActive - - - - - + + + $EXP[isMusicArtist] + col-1-begin + row-5-begin + 24-col + 23-row + 9000 + 60 + 50 + 50 + 60 + + + 0 + 3 + 66 + 66 + stretch + $INFO[Listitem.thumb] + + + 1-col-indent + 0 + 6-col + 2-row + center + itemTitle + textActive + - + + + + + + 1-col + 0 + 7-col-gutter + 2-row + stretch + colors/white.png + highlight + + + 0 + 3 + 66 + 66 + stretch + $INFO[Listitem.thumb] + + + + + + + 1-col-indent + 0 + 6-col + 2-row + center + itemTitle + textActive + - + + + + \ No newline at end of file diff --git a/1080i/View_MusicAddons.xml b/1080i/View_MusicAddons.xml deleted file mode 100644 index 518ac69..0000000 --- a/1080i/View_MusicAddons.xml +++ /dev/null @@ -1,81 +0,0 @@ - - - - - Substring(Container.folderpath,addons://sources/audio) - col-1-begin - row-5-begin - 24-col - 23-row - 9000 - 60 - 50 - 50 - 60 - - - 0 - 3 - 66 - 66 - stretch - $INFO[Listitem.thumb] - - - 1-col - 0 - 23-col - 69 - stretch - colors/black.png - textboxInactive - - - 1-col-indent - 0 - 23-col-gutter - 2-row - center - itemTitle - textActive - - - - - - - - 0 - 3 - 66 - 66 - stretch - $INFO[Listitem.thumb] - - - - - - - 1-col - 0 - 23-col - 2-row - stretch - colors/white.png - highlight - - - 1-col-indent - 0 - 23-col-gutter - 2-row - center - itemTitle - textActive - - - - - - - - diff --git a/1080i/View_MusicFiles.xml b/1080i/View_MusicFiles.xml index 532aa19..078c5ef 100644 --- a/1080i/View_MusicFiles.xml +++ b/1080i/View_MusicFiles.xml @@ -6,7 +6,7 @@ col-1-begin row-5-begin - !Substring(Container.folderpath,addons://sources/audio) + !isempty(container.folderpath) + $EXP[isMusicList] 0 0 24-col diff --git a/1080i/View_MusicGenres.xml b/1080i/View_MusicGenres.xml index 23cf4c1..77b0096 100644 --- a/1080i/View_MusicGenres.xml +++ b/1080i/View_MusicGenres.xml @@ -3,7 +3,7 @@ - Substring(Container.folderpath,musicdb://genres) + !container.content(artists) + !container.content(songs) + !container.content(albums) + $EXP[isMusicGenre] col-1-begin row-5-begin 24-col diff --git a/1080i/View_MusicPlaylist.xml b/1080i/View_MusicPlaylist.xml index 27fb26d..8a86973 100644 --- a/1080i/View_MusicPlaylist.xml +++ b/1080i/View_MusicPlaylist.xml @@ -1,8 +1,18 @@ - + + $EXP[isMusicPlaylist] + + + $EXP[isMusicPlaylist] + dimensionsFullscreen + stretch + $INFO[Listitem.art(fanart)] + 500 + 22ffffff + col-1-begin row-5-begin @@ -71,7 +81,7 @@ 1-col-indent -8 - 6-col + 13-col 2-row center itemTitle @@ -82,7 +92,7 @@ 1-col-indent 26 - 6-col + 13-col 2-row center smallStrong @@ -90,17 +100,6 @@ - - - 15-col - 0 - 6-col - 2-row - center - itemTitle - textActive - - - - 24 0 @@ -186,7 +185,7 @@ 1-col-indent -8 - 6-col + 13-col 2-row center itemTitle @@ -197,7 +196,7 @@ 1-col-indent 26 - 6-col + 13-col 2-row center smallStrong @@ -205,17 +204,6 @@ - - - 15-col - 0 - 6-col - 2-row - center - itemTitle - textActive - - - - 24 0 @@ -233,6 +221,7 @@ + $EXP[isMusicPlaylist] col-17-begin row-5-begin diff --git a/1080i/View_Songs.xml b/1080i/View_Songs.xml index b4d75b4..731c85f 100644 --- a/1080i/View_Songs.xml +++ b/1080i/View_Songs.xml @@ -1,9 +1,9 @@ - + - container.content(songs) + !Substring(Container.folderpath,addons://sources/audio) + !Substring(Container.folderpath,plugin://) + Substring(Container.folderpath,musicdb://) + $EXP[isMusicSong] dimensionsFullscreen stretch @@ -18,7 +18,7 @@ - container.content(songs) + !Substring(Container.folderpath,addons://sources/audio) + !Substring(Container.folderpath,plugin://) + Substring(Container.folderpath,musicdb://) + $EXP[isMusicSong] col-1-begin row-5-begin @@ -43,7 +43,7 @@ - container.content(songs) + !Substring(Container.folderpath,addons://sources/audio) + !Substring(Container.folderpath,plugin://) + Substring(Container.folderpath,musicdb://) + $EXP[isMusicSong] col-10-begin row-5-begin @@ -66,7 +66,7 @@ - container.content(songs) + !Substring(Container.folderpath,addons://sources/audio) + !Substring(Container.folderpath,plugin://) + Substring(Container.folderpath,musicdb://) + $EXP[isMusicSong] col-10-begin row-9-begin 15-col diff --git a/1080i/script-skinshortcuts-includes.xml b/1080i/script-skinshortcuts-includes.xml index 8754b7d..2b707ca 100644 --- a/1080i/script-skinshortcuts-includes.xml +++ b/1080i/script-skinshortcuts-includes.xml @@ -734,9 +734,10 @@ 31005 [Library.HasContent(Video)] + StringCompare(Container(9001).ListItem.Property(submenuVisibility),videosubmenu) control.setfocus(9999) - ActivateWindow(1106) + ActivateWindow(1106) ActivateWindow(1106) 1106 + control.setfocus(9998,0) StringCompare(System.ProfileName,Master user) videosubmenu True @@ -931,9 +932,10 @@ 31005 [Library.HasContent(Music)] + StringCompare(Container(9001).ListItem.Property(submenuVisibility),musicsubmenu) control.setfocus(9999) - ActivateWindow(1106) + ActivateWindow(1106) ActivateWindow(1106) 1106 + control.setfocus(9998,0) StringCompare(System.ProfileName,Master user) musicsubmenu True @@ -1396,9 +1398,10 @@ 31005 [Library.HasContent(Video)] + StringCompare(Container(9001).ListItem.Property(submenuVisibility),videosubmenu) control.setfocus(9999) - ActivateWindow(1106) + ActivateWindow(1106) ActivateWindow(1106) 1106 + control.setfocus(9998,0) StringCompare(System.ProfileName,Test profile) videosubmenu True @@ -1593,9 +1596,10 @@ 31005 [Library.HasContent(Music)] + StringCompare(Container(9001).ListItem.Property(submenuVisibility),musicsubmenu) control.setfocus(9999) - ActivateWindow(1106) + ActivateWindow(1106) ActivateWindow(1106) 1106 + control.setfocus(9998,0) StringCompare(System.ProfileName,Test profile) musicsubmenu True @@ -2734,9 +2738,10 @@ 31005 Library.HasContent(Video) control.setfocus(9999) - ActivateWindow(1106) + ActivateWindow(1106) ActivateWindow(1106) 1106 + control.setfocus(9998,0) StringCompare(System.ProfileName,Master user) videosubmenu True @@ -2931,9 +2936,10 @@ 31005 Library.HasContent(Video) control.setfocus(9999) - ActivateWindow(1106) + ActivateWindow(1106) ActivateWindow(1106) 1106 + control.setfocus(9998,0) StringCompare(System.ProfileName,Test profile) videosubmenu True @@ -3130,9 +3136,10 @@ 31005 [Library.HasContent(Video)] + StringCompare(Window(10000).Property(submenuVisibility),videosubmenu) control.setfocus(9999) - ActivateWindow(1106) + ActivateWindow(1106) ActivateWindow(1106) 1106 + control.setfocus(9998,0) StringCompare(System.ProfileName,Master user) videosubmenu True @@ -3327,9 +3334,10 @@ 31005 [Library.HasContent(Video)] + StringCompare(Window(10000).Property(submenuVisibility),videosubmenu) control.setfocus(9999) - ActivateWindow(1106) + ActivateWindow(1106) ActivateWindow(1106) 1106 + control.setfocus(9998,0) StringCompare(System.ProfileName,Test profile) videosubmenu True @@ -3526,9 +3534,10 @@ 31005 Library.HasContent(Music) control.setfocus(9999) - ActivateWindow(1106) + ActivateWindow(1106) ActivateWindow(1106) 1106 + control.setfocus(9998,0) StringCompare(System.ProfileName,Master user) musicsubmenu True @@ -3744,9 +3753,10 @@ 31005 Library.HasContent(Music) control.setfocus(9999) - ActivateWindow(1106) + ActivateWindow(1106) ActivateWindow(1106) 1106 + control.setfocus(9998,0) StringCompare(System.ProfileName,Test profile) musicsubmenu True @@ -3964,9 +3974,10 @@ 31005 [Library.HasContent(Music)] + StringCompare(Window(10000).Property(submenuVisibility),musicsubmenu) control.setfocus(9999) - ActivateWindow(1106) + ActivateWindow(1106) ActivateWindow(1106) 1106 + control.setfocus(9998,0) StringCompare(System.ProfileName,Master user) musicsubmenu True @@ -4182,9 +4193,10 @@ 31005 [Library.HasContent(Music)] + StringCompare(Window(10000).Property(submenuVisibility),musicsubmenu) control.setfocus(9999) - ActivateWindow(1106) + ActivateWindow(1106) ActivateWindow(1106) 1106 + control.setfocus(9998,0) StringCompare(System.ProfileName,Test profile) musicsubmenu True diff --git a/changelog.txt b/changelog.txt index 956c478..2db21e4 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,13 +1,13 @@ **Changelog** [PLANNED WORKS] -- Improve playlist display in music view (rework as per video) [V1.2.0] - [NEW] Extended fanart support for video info and seasons (active by default) - [NEW] 'Media Showcase'. This extension to the video info screen presents media art in a much more engaging way, taking advantage of available media art. - [NEW] User option: disable extended fanart - [NEW] Keyboard autocomplete support +- [NEW] Improved playlist display in music view - Various tweaks and bugfixes [V1.1.1] diff --git a/shortcuts/overrides.xml b/shortcuts/overrides.xml index 5c5c033..ab32b22 100644 --- a/shortcuts/overrides.xml +++ b/shortcuts/overrides.xml @@ -15,6 +15,18 @@ ::ACTION:: + + window.isactive(music) + ::ACTION:: + control.setfocus(9998,0) + + + + window.isactive(videos) + ::ACTION:: + control.setfocus(9998,0) + + !system.hasaddon(script.globalsearch) InstallAddon(script.globalsearch)