Merge pull request #84 from mcarlton00/direct-play-fix
Fix direct play logic for 10.8
This commit is contained in:
@@ -92,8 +92,8 @@ class PlayUtils:
|
||||
playurl = direct_path
|
||||
playback_type = "0"
|
||||
|
||||
# check if file can be direct streamed
|
||||
if can_direct_stream and playurl is None:
|
||||
# check if file can be direct streamed/played
|
||||
if (can_direct_stream or can_direct_play) and playurl is None:
|
||||
item_id = media_source.get('Id')
|
||||
playurl = ("%s/Videos/%s/stream" +
|
||||
"?static=true" +
|
||||
|
||||
Reference in New Issue
Block a user