mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 02:06:09 +00:00
add storing current filename to window property to support external addons
This commit is contained in:
parent
4096e0ad5c
commit
66eb53dc08
2 changed files with 4 additions and 1 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.41"
|
version="2.3.42"
|
||||||
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"/>
|
||||||
|
|
|
@ -65,6 +65,9 @@ class PlayUtils():
|
||||||
|
|
||||||
def getPlayUrl(self):
|
def getPlayUrl(self):
|
||||||
|
|
||||||
|
# log filename, used by other addons eg subtitles which require the file name
|
||||||
|
window('embyfilename', value=self.directPlay())
|
||||||
|
|
||||||
playurl = None
|
playurl = None
|
||||||
|
|
||||||
if (self.item.get('Type') in ("Recording", "TvChannel") and self.item.get('MediaSources')
|
if (self.item.get('Type') in ("Recording", "TvChannel") and self.item.get('MediaSources')
|
||||||
|
|
Loading…
Reference in a new issue