mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-06-19 14:46:13 +00:00
Fix playback report
It now shows the appropriate info in dashboard - Direct Play, Direct Stream or Transcoding
This commit is contained in:
parent
3579fa3ca8
commit
71d234ced7
2 changed files with 8 additions and 9 deletions
|
@ -109,13 +109,6 @@ class PlaybackUtils():
|
|||
WINDOW.setProperty(playurl+"runtimeticks", str(result.get("RunTimeTicks")))
|
||||
WINDOW.setProperty(playurl+"type", result.get("Type"))
|
||||
WINDOW.setProperty(playurl+"item_id", id)
|
||||
|
||||
if PlayUtils().isDirectPlay(result) == True:
|
||||
playMethod = "DirectPlay"
|
||||
else:
|
||||
playMethod = "Transcode"
|
||||
|
||||
WINDOW.setProperty(playurl+"playmethod", playMethod)
|
||||
|
||||
mediaSources = result.get("MediaSources")
|
||||
if(mediaSources != None):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue