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

Merge pull request #4 from existsec/feature/artwork

Added thumbnail and fanart properties to Player.GetItem request
parents 1e325761 f401c6d1
Branches
Tags
No related merge requests found
......@@ -81,7 +81,7 @@ def publishdetails():
global lasttitle,lastdetail
if not player.isPlaying():
return
res=sendrpc("Player.GetItem",{"playerid":activeplayerid,"properties":["title","streamdetails","file"]})
res=sendrpc("Player.GetItem",{"playerid":activeplayerid,"properties":["title","streamdetails","file","thumbnail","fanart"]})
if "result" in res:
newtitle=res["result"]["item"]["title"]
newdetail={"kodi_details":res["result"]["item"]}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment