mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
wrap the set window prop for file name in a try
This commit is contained in:
parent
66eb53dc08
commit
f7c79e366e
2 changed files with 5 additions and 2 deletions
|
@ -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"/>
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue