mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-06-17 05:36:12 +00:00
Reworked playback
Supports local path, network path, direct streaming, transcoding.
This commit is contained in:
parent
22c62d9727
commit
aa72b4ce9c
3 changed files with 259 additions and 136 deletions
|
@ -57,6 +57,10 @@ class PlaybackUtils():
|
|||
seekTime = reasonableTicks / 10000
|
||||
|
||||
playurl = PlayUtils().getPlayUrl(server, id, result)
|
||||
if playurl == False:
|
||||
xbmc.log("Failed to retrieve the playback path/url.")
|
||||
return
|
||||
|
||||
thumbPath = API().getArtwork(result, "Primary")
|
||||
|
||||
#if the file is a virtual strm file, we need to override the path by reading it's contents
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue