Fix .strm playback failing for addon paths

- Partially fixes #354
This commit is contained in:
tomkat83 2017-12-04 19:50:12 +01:00
parent f86582689b
commit 9052b84011

View file

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