Kodi Community Forum
Launch "Recently played albums" with keypress - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Music Support (https://forum.kodi.tv/forumdisplay.php?fid=263)
+--- Thread: Launch "Recently played albums" with keypress (/showthread.php?tid=238734)



Launch "Recently played albums" with keypress - sandboxjoe - 2015-09-13

I would like to add a shortcut to my keymap file so that when I press a certain key combo the Kodi library will automatically open the "Recently played albums" keypress.

I presume is will look semething like this ...

<key id="520234">ActivateWindow(Music, musicdb://xxxxxxxx/)</key>

But I can't figure out what the xxxxxxxx should be.

Thanks!


RE: Launch "Recently played albums" with keypress - spoyser - 2015-09-13

Try one of these:

Code:
ActivateWindow(10502,musicdb://7/)

Code:
ActivateWindow(10502,musicdb://recentlyplayedalbums/)

Or Helix and newer (I believe)
Code:
ActivateWindow(10502,library://music/recentlyplayedalbums.xml/)

Tip:
Add the item to Kodi favourites (or Super Favourites) and then examine the xml


RE: Launch "Recently played albums" with keypress - sandboxjoe - 2015-09-14

@spoyser Thanks! That favorites trick is genius!

Code:
ActivateWindow(10502,library://music/recentlyplayedalbums.xml/)

Worked for me!