parent
f86582689b
commit
9052b84011
1 changed files with 4 additions and 1 deletions
|
@ -78,7 +78,10 @@ class PlayUtils():
|
||||||
playurl = self.API.validatePlayurl(path,
|
playurl = self.API.validatePlayurl(path,
|
||||||
self.API.getType(),
|
self.API.getType(),
|
||||||
forceCheck=True)
|
forceCheck=True)
|
||||||
return tryEncode(playurl)
|
if playurl is None:
|
||||||
|
return
|
||||||
|
else:
|
||||||
|
return tryEncode(playurl)
|
||||||
# set to either 'Direct Stream=1' or 'Transcode=2'
|
# set to either 'Direct Stream=1' or 'Transcode=2'
|
||||||
# and NOT to 'Direct Play=0'
|
# and NOT to 'Direct Play=0'
|
||||||
if settings('playType') != "0":
|
if settings('playType') != "0":
|
||||||
|
|
Loading…
Reference in a new issue