2013-11-10, 06:23
I often find myself in a position where I'm listening to a music 'party mix', then hear a random song playing and decide I want to listen to the rest of the album that the song is a part of, instead of continuing the random party mix.
Now I have to go to my music library and manually find the song/album to start it from there but I would love to be able to program a button on my remote that would just automatically start playing the album that the random song is part of.
I'm not very familiar with syntax of customizing XBMC but I have a feeling it might be achieved with the playalbum script:
What would the songid of the currently playing song be and what would the whole function look like then?
Thanks!
Now I have to go to my music library and manually find the song/album to start it from there but I would love to be able to program a button on my remote that would just automatically start playing the album that the random song is part of.
I'm not very familiar with syntax of customizing XBMC but I have a feeling it might be achieved with the playalbum script:
Code:
RunScript(script.playalbum,songid=$INFO[ListItem.DBID])
What would the songid of the currently playing song be and what would the whole function look like then?
Thanks!