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
parent 66eb53dc08
commit f7c79e366e
2 changed files with 5 additions and 2 deletions

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="plugin.video.emby"
name="Emby"
version="2.3.42"
version="2.3.43"
provider-name="Emby.media">
<requires>
<import addon="xbmc.python" version="2.19.0"/>

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