add dvd directry support

This commit is contained in:
yk 2020-06-29 20:20:48 +08:00 committed by Odd Stråbø
parent 44d4080daf
commit eb265d7a13
3 changed files with 24 additions and 1 deletions

View file

@ -276,6 +276,21 @@ def validate_bluray_dir(path):
return True
def validate_dvd_dir(path):
''' Verify if path/VIDEO_TS/ is accessible.
'''
path = path + '/VIDEO_TS/'
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}....