add support for BDMV movies in the bluray directry by pointing the file to ./BDMV/index.bdmv

This commit is contained in:
yk 2020-06-27 21:28:27 +08:00
parent 7c9d42742b
commit 70d7522570
3 changed files with 24 additions and 1 deletions

View file

@ -261,6 +261,23 @@ def validate(path):
return True
def validate_bluray_dir(path):
''' Verify if path/BDMV/ is accessible.
'''
path = path + '/BDMV/'
path = path if os.path.supports_unicode_filenames else path
if not xbmcvfs.exists(path):
return False
window('jellyfin_pathverified.bool', True)
return True
def values(item, keys):
''' Grab the values in the item for a list of keys {key},{key1}....