Add Play/Pause and History commands to skin menu
#1
Hi everyone, I was wondering if it would be possible to add a custom menu item
that will either Play or Pause the active stream on Kodi, I love the skin but the access to
the playback controls are not intuitive when using a remote control. I tried the command
"xbmc.Player.pause()" but that didn't work, it does nothing.

I also wanted to know if there is a "view history" thing that I can add to the menu
so I can resume any streams that I played in the past, not sure if that exists.

I was looking to do that by customizing the skin menu using a "Custom Item" as the
action.
Reply
#2
Code:
PlayerControl(Play)

See these two links for various commands:
http://kodi.wiki/view/List_of_built-in_functions
http://kodi.wiki/view/Action_IDs


Although I don't understand why access to the playback controls is not intuitive. On my remote I hit the OK/Select button it brings up the controls. You might want to look into modifying your keymap if this is not the case for you.
http://kodi.wiki/view/HOW-TO:Modify_keymaps

In terms of watched history. It depends on whether or not you have things scanned to the library. If you are using the library, then there are two playlists included with the skin "Recently Played Movies" and "Recently Played Episodes" which can be added in the customisation screen by going to Choose Shortcuts > Video Library > Playlist >

However, from your mention of "streams" I'm assuming you are using banned piracy add-ons. If that is the case, then you wont find any support here...
Arctic Fuse - Alpha now available. Support me on Ko-fi.
Reply
#3
(2017-08-16, 10:40)jurialmunkey Wrote:
Code:
PlayerControl(Play)

See these two links for various commands:
http://kodi.wiki/view/List_of_built-in_functions
http://kodi.wiki/view/Action_IDs


Although I don't understand why access to the playback controls is not intuitive. On my remote I hit the OK/Select button it brings up the controls. You might want to look into modifying your keymap if this is not the case for you.
http://kodi.wiki/view/HOW-TO:Modify_keymaps

In terms of watched history. It depends on whether or not you have things scanned to the library. If you are using the library, then there are two playlists included with the skin "Recently Played Movies" and "Recently Played Episodes" which can be added in the customisation screen by going to Choose Shortcuts > Video Library > Playlist >

However, from your mention of "streams" I'm assuming you are using banned piracy add-ons. If that is the case, then you wont find any support here...

Thanks a lot for man, will try that out. I'm actually using youtube and twitch addons and it's a pain to go back to a video that I paused a day ago.
Cheers
Reply
#4
Yeah there isn't any way that I know of to see history of everything watched. There is a history entry in the YouTube addon if you sign in, but it has never worked for me - it's always empty.
Arctic Fuse - Alpha now available. Support me on Ko-fi.
Reply
#5
(2017-08-16, 14:06)jurialmunkey Wrote: Yeah there isn't any way that I know of to see history of everything watched. There is a history entry in the YouTube addon if you sign in, but it has never worked for me - it's always empty.

Indeed, congrats for the awesome job on the eminence skin man, we all appreciate it.
Reply
#6
(2017-08-16, 13:46)theplagueisback Wrote: I'm actually using youtube and twitch addons and it's a pain to go back to a video that I paused a day ago.
Take a look at Last played. I don't use twitch but it works for youtube, so you could set a shortcut to it.
Reply
#7
Awesome man! Just gave it a shot and it worked perfectly with YouTube and Twitch!!
Tks
Reply

Logout Mark Read Team Forum Stats Members Help
Add Play/Pause and History commands to skin menu0