Broken YeeMee - (Control Yeelight Smart Bulb + Ambi from Kodi)
#40
@cirkator
You only have to install the Test Repository and update the addon. But you should probably wait...

@DaLanik
Great job, first of all! There's a problem with v1.8.

Code:
NameError: global name 'CheckEmpty' is not defined

Also, may I suggest that you add an option to exclude PVR/Live streams? Streams from a PVR client should be fairly easy to filter (AFAIK, they all start with pvr://). Live streams from other addons, however, I'm still trying to figure out. I have enabled the option to ignore short movies but it would still trigger the play action for live streams, which is weird since when playback starts duration should be equal to zero (or 1 second? whatever). Maybe you should use "Player.Duration" instead of "VideoPlayer.Duration" or maybe you should change "else: intDuration = 60" to "else: intDuration = 0". That would still trigger the bulb if you stop the live stream after the number of minutes you set for short movies or even if the stream gets buffering (=pauses), as I have noticed, but that's another story...

I'll try to play with code a little bit later today. Thanks!
Reply


Messages In This Thread
RE: YeeMee - (Control Yeelight Smart Bulb from Kodi) - by Sheik - 2017-05-12, 19:23
Logout Mark Read Team Forum Stats Members Help
YeeMee - (Control Yeelight Smart Bulb + Ambi from Kodi)2