mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-12 21:26:10 +00:00
Fix error with direct stream music
This commit is contained in:
parent
23b5b93bdd
commit
41d56b53c3
1 changed files with 1 additions and 1 deletions
|
@ -415,7 +415,7 @@ class Music(Items):
|
||||||
##### GET THE FILE AND PATH #####
|
##### GET THE FILE AND PATH #####
|
||||||
if self.directstream:
|
if self.directstream:
|
||||||
path = "%s/emby/Audio/%s/" % (self.server, itemid)
|
path = "%s/emby/Audio/%s/" % (self.server, itemid)
|
||||||
filename = "stream.%s?static=true" % item['Container']
|
filename = "stream.%s?static=true" % item['MediaSources'][0]['Container']
|
||||||
else:
|
else:
|
||||||
playurl = API.get_file_path()
|
playurl = API.get_file_path()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue