mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 10:16: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"?>
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
<addon id="plugin.video.emby"
|
<addon id="plugin.video.emby"
|
||||||
name="Emby"
|
name="Emby"
|
||||||
version="2.3.42"
|
version="2.3.43"
|
||||||
provider-name="Emby.media">
|
provider-name="Emby.media">
|
||||||
<requires>
|
<requires>
|
||||||
<import addon="xbmc.python" version="2.19.0"/>
|
<import addon="xbmc.python" version="2.19.0"/>
|
||||||
|
|
|
@ -66,7 +66,10 @@ class PlayUtils():
|
||||||
def getPlayUrl(self):
|
def getPlayUrl(self):
|
||||||
|
|
||||||
# log filename, used by other addons eg subtitles which require the file name
|
# log filename, used by other addons eg subtitles which require the file name
|
||||||
|
try:
|
||||||
window('embyfilename', value=self.directPlay())
|
window('embyfilename', value=self.directPlay())
|
||||||
|
except:
|
||||||
|
log.info("Could not get file path for embyfilename window prop")
|
||||||
|
|
||||||
playurl = None
|
playurl = None
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue