[RELEASE] Execute user scripts on specific XBMC actions (play starts/stops...)
(2015-06-06, 07:48)GriffeyJuni0r Wrote: Love this service -

Is there a way to set an action to run only when a Smart Playlist plays?

I have an action working on the regular Playback event, but would love to restrict this to only Smart Playlists.

Thanks!

In short, no not directly. Looking through the Kodi Pydocs, there is no easy way to discover from the playing item if it is playing from a smart playlist.
There might be a way using JSON but I'll leave that for your own exploration.
Reply


Messages In This Thread
Great! - by gnorf - 2013-02-27, 22:50
[RELEASE] Pilulli Revisited - by KenV99 - 2014-06-28, 18:18
RE: [RELEASE] Execute user scripts on specific XBMC actions (play starts/stops...) - by KenV99 - 2015-06-07, 22:33
Logout Mark Read Team Forum Stats Members Help
[RELEASE] Execute user scripts on specific XBMC actions (play starts/stops...)4