Posts: 132
Joined: Jan 2013
Reputation:
0
Hey! I would like to create a button that adds the current music album (when selected album, or when browsing that album) to the current playlist. Using something like
<onclick>PlayMedia($INFO[ListItem.FolderPath])</onclick>
clears the playlist, which is not what I am looking for. I need the same queuing behavior Kodi has when browsing the audio library.
Posts: 6,684
Joined: Mar 2009
Reputation:
147
phil65
Retired Team-Kodi Member
Posts: 6,684
tried the builtin "Queue" ?
Posts: 132
Joined: Jan 2013
Reputation:
0
Doesn't work.
ERROR: Keymapping error: no such action 'queue(/media/media2/music/bloc party/a weekend in the city [2007]/disc 01/)' defined
Queue without any parameter doesn't work either. I'm on DialogAlbumInfo.xml, and what I want is a button that does the same as context menu -> queue, both on album and artist level.
Thanks!
Posts: 15,263
Joined: Jan 2009
Reputation:
727
ronie
Team-Kodi Member
Posts: 15,263
i place my bet on 'not possible'.
Posts: 6,684
Joined: Mar 2009
Reputation:
147
phil65
Retired Team-Kodi Member
Posts: 6,684
It should be possible when inside our musiclibrary part, if youre tryin to do that on widgets or someting else then probably the only way is to write a script for that. .
Posts: 132
Joined: Jan 2013
Reputation:
0
I'm in my musiclibrary, the window is dialogalbuminfo.xml called with the "info" button.
Posts: 132
Joined: Jan 2013
Reputation:
0
Thanks, going to give it a try asap.