mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-05-21 23:42:45 +00:00
add dvd directry support
This commit is contained in:
parent
44d4080daf
commit
eb265d7a13
3 changed files with 24 additions and 1 deletions
|
@ -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}....
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue