mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +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 if os.path.supports_unicode_filenames else path
|
||||
|
||||
if not xbmcvfs.exists(path):
|
||||
return False
|
||||
|
||||
|
|
|
@ -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']
|
||||
|
|
Loading…
Reference in a new issue