Skip to content
Snippets Groups Projects
Commit dee5bca1 authored by Oliver Wagner's avatar Oliver Wagner
Browse files

V0.5 - 2015-07-25 - owagner

  - fixed script error occuring when playback details where not immediate
    available when starting playback
parent 1550393e
No related branches found
No related tags found
No related merge requests found
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="service.mqtt" name="MQTT Adapter" version="0.4" provider-name="owagner">
<addon id="service.mqtt" name="MQTT Adapter" version="0.5" provider-name="owagner">
<requires>
<import addon="xbmc.python" version="2.19.0"/>
</requires>
......
V0.5 - 2015-07-25 - owagner
- fixed script error occuring when playback details where not immediate
available when starting playback
V0.4 - 2015-06-16 - owagner
- Settings: MQTT broker address is now a text field and thus allows entering of hostnames
- will now check whether the title information changes during progress
......
......@@ -80,6 +80,7 @@ def publishdetails():
if not player.isPlaying():
return
res=sendrpc("Player.GetItem",{"playerid":activeplayerid,"properties":["title","streamdetails","file"]})
if "result" in res:
newtitle=res["result"]["item"]["title"]
newdetail={"kodi_details":res["result"]["item"]}
if newtitle!=lasttitle or newdetail!=lastdetail:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment