diff --git a/jellyfin_kodi/helper/utils.py b/jellyfin_kodi/helper/utils.py index 157ab16b..47dbeb05 100644 --- a/jellyfin_kodi/helper/utils.py +++ b/jellyfin_kodi/helper/utils.py @@ -268,8 +268,6 @@ def validate_bluray_dir(path): path = path + '/BDMV/' - path = path if os.path.supports_unicode_filenames else path - if not xbmcvfs.exists(path): return False diff --git a/jellyfin_kodi/objects/movies.py b/jellyfin_kodi/objects/movies.py index 9595cacd..d28f8e8a 100644 --- a/jellyfin_kodi/objects/movies.py +++ b/jellyfin_kodi/objects/movies.py @@ -180,7 +180,7 @@ class Movies(KodiDb): if validate_bluray_dir(obj['Path'] + obj['Filename']): obj['Path'] = obj['Path'] + obj['Filename'] + '/BDMV/' obj['Filename'] = 'index.bdmv' - LOG.debug("path redirect %s",obj['Path']) + LOG.debug("Bluray directry %s",obj['Path']) else: obj['Path'] = "plugin://plugin.video.jellyfin/%s/" % obj['LibraryId']