Issues with Player.onPlayback* events. - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26) +--- Thread: Issues with Player.onPlayback* events. (/showthread.php?tid=20433) |
- Nuka1195 - 2006-06-10 i have the following two scripts. player1.py works good, but needs a while loop. player2.py works, but the call to setit() in myplayer class, does not get called until some onaction event happens. to test play some media then run the script. press stop on the remote and the label should change to stopped. in player1.py it happens immediately. in player2.py it doesn't happen until i press a direction button for instance. i don't know if this is a bug in xbmc or a feature request. maybe i'm missing something. download here. thanks player1.py Quote:import xbmcgui, xbmc, time player2.py Quote:import xbmcgui, xbmc, time |