mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 18:26:15 +00:00
Fix shows in addon mode, not directplay
This commit is contained in:
parent
60cc67eb15
commit
146aed33e9
1 changed files with 2 additions and 2 deletions
|
@ -188,12 +188,12 @@ class TVShows(KodiDb):
|
||||||
obj['TopLevel'] = "%s\\" % dirname(dirname(obj['Path']))
|
obj['TopLevel'] = "%s\\" % dirname(dirname(obj['Path']))
|
||||||
else:
|
else:
|
||||||
obj['Path'] = "%s/" % obj['Path']
|
obj['Path'] = "%s/" % obj['Path']
|
||||||
obj['TopLevel'] = "plugin://plugin.video.jellyfin/%s/" % obj['LibraryId']
|
obj['TopLevel'] = "plugin://plugin.video.jellyfin/"
|
||||||
|
|
||||||
if not validate(obj['Path']):
|
if not validate(obj['Path']):
|
||||||
raise Exception("Failed to validate path. User stopped.")
|
raise Exception("Failed to validate path. User stopped.")
|
||||||
else:
|
else:
|
||||||
obj['TopLevel'] = "plugin://plugin.video.jellyfin/"
|
obj['TopLevel'] = "plugin://plugin.video.jellyfin/%s/" % obj['LibraryId']
|
||||||
obj['Path'] = "%s%s/" % (obj['TopLevel'], obj['Id'])
|
obj['Path'] = "%s%s/" % (obj['TopLevel'], obj['Id'])
|
||||||
|
|
||||||
@stop()
|
@stop()
|
||||||
|
|
Loading…
Reference in a new issue