Kodi Community Forum
Album to Songs should change view from thumbnails to list how? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12)
+--- Thread: Album to Songs should change view from thumbnails to list how? (/showthread.php?tid=128394)



Album to Songs should change view from thumbnails to list how? - slinuxgeek - 2012-04-10

Hi,
I have a requirement , The Music window(MyMusicNav.xml) is displaying all the albums in thumbnails view , but when an album is clicked , the same window displays the songs which belongs to the clicked album also in thumbnail view.

I want that Album and Artist should be visible in thumbnails view mode and when I click on an album/artist thumb , the related songs should be displayed in list view.

How can I do this?

Thanks for help.





RE: Album to Songs should change view from thumbnails to list how? - liquidskin76 - 2012-04-10

Hey slinuxgeek,

Check out Welo ('Viewtype_3030_Music_Cover' and 'Viewtype_3031_Music_List') to see how this is done.

Basically, use '<visible>Window.IsVisible(musiclibrary) + Container.Content(albums)</visible>' on the thumbnail viewtype, '<visible>Window.IsVisible(musiclibrary) + Container.Content(songs)</visible>' on the the list view.

Cheers Wink


RE: Album to Songs should change view from thumbnails to list how? - slinuxgeek - 2012-04-10

Hi, liquidskin76 thanks for help .

That is working for "albums" but not working for "artists".

why?

Thank You.



RE: Album to Songs should change view from thumbnails to list how? - slinuxgeek - 2012-04-10

Oh it worked some how !!
Thanks For help Smile