Kodi Community Forum
How to play an Album or Artist? - 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: How to play an Album or Artist? (/showthread.php?tid=66809)



How to play an Album or Artist? - eumel - 2010-01-10

Hi
I had an Idea, that the User of a skin can set quicklinks on the Homepage, to play Music or Video.

But i want that he can choose different types of content, so he can play his Favourites direct per quicklink from the Homepage.

I know how i can play a single Song or Video, but how can i play an Album, complete Artist, or TvShow, or Season.

Something like:
PlayMedia(musicdb://3/949/) for an Album
PlayMedia(Skin.String(Favourite_One))

or: (with two or three onclick commands)
AddtoPlaylist(musicdb://3/949/)
PlayerControl(RandomOn)
PlayerControl(Play)

is something like that possible, or exist?

ps.: sorry that i ask too many questions


- eumel - 2010-01-18

If the above is not possible.

Maybe it is possible to add a function, to open an Album direct per link?
like that:
Quote:ActivateWindow(musiclibrary,musicdb://3/949/3/)
the same for Folder on the Harddisk (Picture Folder)

so that the Album is opening in the set viewtype container?


- eumel - 2010-02-08

eumel Wrote:If the above is not possible.

Maybe it is possible to add a function, to open an Album direct per link?
like that:

the same for Folder on the Harddisk (Picture Folder)

so that the Album is opening in the set viewtype container?
Looks like this is possible now:
Quote:ActivateWindow(musiclibrary,musicdb://3/949/3/)

But now i can't get the info (example: "musicdb://3/949/") about an album in a list container. (i believe it was available in ealier builds of xbmc)

Is it possible to get an Infolabel for that info, something like "listitem.path" for albums and artists?

Then i can add a feature to set Favourite Artists and Albums to the Homepage, as quicklink.

thanks eumel