mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-05-25 09:16:13 +00:00
add support for BDMV movies in the bluray directry by pointing the file to ./BDMV/index.bdmv
This commit is contained in:
parent
7c9d42742b
commit
70d7522570
3 changed files with 24 additions and 1 deletions
|
@ -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}....
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue