Kodi Community Forum
Issue with launch my addon via keyboard - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Music Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=148)
+---- Thread: Issue with launch my addon via keyboard (/showthread.php?tid=244745)



Issue with launch my addon via keyboard - zhouck - 2015-10-21

I have wrote my own plugin for radio

On start, I check if player currently playing something and if not play default radio stream

if xbmc.Player().isPlaying() != True:
xbmc.Player().play('http://cast.jamfm.com.ua/jamfm')

When I start plugin via kodi interface or via Yatse - everything is ok, stream starts.
However, when I sturt plugin via remote bluetooth keyboard (I assigned one key to start plugin), plugin just start, but stream does not play.

What may be an issue?