add storing current filename to window property to support external addons

This commit is contained in:
im85288 2017-01-30 16:05:00 +00:00
parent 4096e0ad5c
commit 66eb53dc08
2 changed files with 4 additions and 1 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.41"
version="2.3.42"
provider-name="Emby.media">
<requires>
<import addon="xbmc.python" version="2.19.0"/>

View file

@ -65,6 +65,9 @@ class PlayUtils():
def getPlayUrl(self):
# log filename, used by other addons eg subtitles which require the file name
window('embyfilename', value=self.directPlay())
playurl = None
if (self.item.get('Type') in ("Recording", "TvChannel") and self.item.get('MediaSources')