[44] Merge remote-tracking branch 'jz1/nightly' into nightly

pull/1949/head
meisnate12 2 months ago
commit b4cd72606a

@ -1837,8 +1837,9 @@ class Plex(Library):
has_match = False
for reg in filter_data:
for name in attrs:
if re.compile(reg).search(name):
has_match = True
if isinstance(name, str):
if re.compile(reg).search(name):
has_match = True
if has_match is False:
return False
elif (not list(set(filter_data) & set(attrs)) and modifier == "") \

@ -240,7 +240,7 @@ def start(attrs):
required_version = None
if not is_docker and not is_linuxserver:
try:
with open("requirements.txt", "r") as file:
with open(os.path.abspath(os.path.join(os.path.dirname(__file__), "requirements.txt")), "r") as file:
required_version = next(ln.strip()[9:] for ln in file.readlines() if ln.strip().startswith("PlexAPI=="))
except FileNotFoundError:
logger.error(" File Error: requirements.txt not found")

Loading…
Cancel
Save