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

@ -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')