wrap the set window prop for file name in a try

This commit is contained in:
shaun 2017-02-02 07:00:31 +11:00
commit f7c79e366e
2 changed files with 5 additions and 2 deletions

View file

@ -66,7 +66,10 @@ class PlayUtils():
def getPlayUrl(self):
# log filename, used by other addons eg subtitles which require the file name
window('embyfilename', value=self.directPlay())
try:
window('embyfilename', value=self.directPlay())
except:
log.info("Could not get file path for embyfilename window prop")
playurl = None