2015-10-21, 11:36
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?
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?