mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-12 21:26:10 +00:00
WIP add-on mode
Context menus are working again Still no cast information Issue with idParentPath to fix tvshow path to check
This commit is contained in:
parent
dd66f50299
commit
e8188cacb1
1 changed files with 7 additions and 1 deletions
|
@ -201,6 +201,8 @@ class TVShows(KodiDb):
|
||||||
|
|
||||||
''' Get the path and build it into protocol://path
|
''' Get the path and build it into protocol://path
|
||||||
'''
|
'''
|
||||||
|
LOG.debug("get_path_filename: path is [%s]", obj['Path'])
|
||||||
|
|
||||||
if self.direct_path:
|
if self.direct_path:
|
||||||
|
|
||||||
if '\\' in obj['Path']:
|
if '\\' in obj['Path']:
|
||||||
|
@ -217,7 +219,11 @@ class TVShows(KodiDb):
|
||||||
raise PathValidationException("Failed to validate path. User stopped.")
|
raise PathValidationException("Failed to validate path. User stopped.")
|
||||||
else:
|
else:
|
||||||
obj['TopLevel'] = "plugin://plugin.video.jellyfin/%s/" % obj['LibraryId']
|
obj['TopLevel'] = "plugin://plugin.video.jellyfin/%s/" % obj['LibraryId']
|
||||||
obj['Path'] = "%s%s/" % (obj['TopLevel'], obj['Id'])
|
# TV Show path is not containing the collection id aka toplevel
|
||||||
|
# obj['Path'] = "%s%s/" % (obj['TopLevel'], obj['Id'])
|
||||||
|
obj['Path'] = "plugin://plugin.video.jellyfin/%s/" % obj['Id']
|
||||||
|
|
||||||
|
LOG.debug("get_path_filename AFTER: path is [%s]", obj['Path'])
|
||||||
|
|
||||||
@stop
|
@stop
|
||||||
def season(self, item, show_id=None):
|
def season(self, item, show_id=None):
|
||||||
|
|
Loading…
Reference in a new issue