commit
83500128c9
@ -488,7 +488,7 @@ class Emby(metaclass=Singleton):
|
|||||||
# 匹配子目录
|
# 匹配子目录
|
||||||
subfolder_path = Path(subfolder.get("Path"))
|
subfolder_path = Path(subfolder.get("Path"))
|
||||||
if item_path.is_relative_to(subfolder_path):
|
if item_path.is_relative_to(subfolder_path):
|
||||||
return subfolder.get("Id")
|
return folder.get("Id")
|
||||||
except Exception as err:
|
except Exception as err:
|
||||||
print(str(err))
|
print(str(err))
|
||||||
# 如果找不到,只要路径中有分类目录名就命中
|
# 如果找不到,只要路径中有分类目录名就命中
|
||||||
|
Loading…
x
Reference in New Issue
Block a user