DIstinguish between "select" or "play" on plugin list item
#1
Hi,

Is it possible to distinguish between "select" (keyboard "enter") and "play" (keyboard "p") on a list item with the plugin system?
I want to use this for an audio plugin, where a folder structure is simulated from an online music streaming service. Current behaviour is that both actions will enter the folder, but I would like to play all folder contents when using "play" on the folder item, similar to the "Files" section behaviour.
For now I am using the simpleplugin library, where I could not find this option.

Thanks in advance for any replies.
Reply
#2
Plugins do not process keyboard events by themselves. They only pass content lists/playable items to Kodi, and Kodi handles all the low-level stuff.
Reply
#3
I get that, but I was hoping that these 2 actions would call on different properties of the list item. If that's not the case then I guess I'm out of luck...
Reply

Logout Mark Read Team Forum Stats Members Help
DIstinguish between "select" or "play" on plugin list item0