mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 18:26:15 +00:00
remove useless code and change one logging debug text
This commit is contained in:
parent
70d7522570
commit
1e7b875dbe
2 changed files with 1 additions and 3 deletions
|
@ -268,8 +268,6 @@ def validate_bluray_dir(path):
|
||||||
|
|
||||||
path = path + '/BDMV/'
|
path = path + '/BDMV/'
|
||||||
|
|
||||||
path = path if os.path.supports_unicode_filenames else path
|
|
||||||
|
|
||||||
if not xbmcvfs.exists(path):
|
if not xbmcvfs.exists(path):
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
|
@ -180,7 +180,7 @@ class Movies(KodiDb):
|
||||||
if validate_bluray_dir(obj['Path'] + obj['Filename']):
|
if validate_bluray_dir(obj['Path'] + obj['Filename']):
|
||||||
obj['Path'] = obj['Path'] + obj['Filename'] + '/BDMV/'
|
obj['Path'] = obj['Path'] + obj['Filename'] + '/BDMV/'
|
||||||
obj['Filename'] = 'index.bdmv'
|
obj['Filename'] = 'index.bdmv'
|
||||||
LOG.debug("path redirect %s",obj['Path'])
|
LOG.debug("Bluray directry %s",obj['Path'])
|
||||||
|
|
||||||
else:
|
else:
|
||||||
obj['Path'] = "plugin://plugin.video.jellyfin/%s/" % obj['LibraryId']
|
obj['Path'] = "plugin://plugin.video.jellyfin/%s/" % obj['LibraryId']
|
||||||
|
|
Loading…
Reference in a new issue