Reworked playback

Supports local path, network path, direct streaming, transcoding.
This commit is contained in:
angelblue05 2015-05-07 01:11:20 -05:00
parent 22c62d9727
commit aa72b4ce9c
3 changed files with 259 additions and 136 deletions

View file

@ -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