How to implement onAction() with Plugins
#1
Hello,
I'm trying to understand how plugins work. (and Python too)
I would like to create a plugin to play music with foobar2000 (Windows version of XBMC).
The problem is that I don't know how or simply if it's possible to intercept key pressed to simulate Play Pause Stop ....
I saw the "onAction" function in xbmcgui.Window class but I don't manage to use it creating a plugin.
Due to my poor english I hope to be clear.
Thanks for yours answers
Nicolas
Reply
#2
Hi!

This shoud'nt be in a script! Technically i would build up a new PlayerClass, like Mplayer or DVDPlayer, but as an wrapper for Foobar...


This would be much cleaner as building it as a python script because you still can use xbmc filesystem to navigate...

Just my 2 cents
lolol
Reply

Logout Mark Read Team Forum Stats Members Help
How to implement onAction() with Plugins0