parent
f86582689b
commit
9052b84011
1 changed files with 4 additions and 1 deletions
|
@ -78,6 +78,9 @@ class PlayUtils():
|
||||||
playurl = self.API.validatePlayurl(path,
|
playurl = self.API.validatePlayurl(path,
|
||||||
self.API.getType(),
|
self.API.getType(),
|
||||||
forceCheck=True)
|
forceCheck=True)
|
||||||
|
if playurl is None:
|
||||||
|
return
|
||||||
|
else:
|
||||||
return tryEncode(playurl)
|
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'
|
||||||
|
|
Loading…
Reference in a new issue