Replies: 4 comments 1 reply
-
File path is exposed to plex so I shouldn't need radarr or sonarr for anything in that terms. But this currently isn't a feature it could be added tho |
Beta Was this translation helpful? Give feedback.
-
I added |
Beta Was this translation helpful? Give feedback.
-
Hi! Hijacking this to request a similar collection filter to search for substrings in filenames. Something like this: elif method_name == "filename":
jailbreak = False
for location in current.locations:
for location_substring in filter_data:
filename = os.path.basename(location)
if location_substring.lower() in filename.lower():
jailbreak = True
break
if jailbreak: break
if (jailbreak and modifier == ".not") or (not jailbreak and modifier != ".not"):
match = False
break This is working here, but I'm not sure if it'll also handle Windows paths, etc. The Thanks in advance! |
Beta Was this translation helpful? Give feedback.
-
Just a thought. I'm trying to find a way to make collections based on library path. I think the easiest way to do so would be to add a sonarr/radarr tag, or be able to pull the sonarr/radarr path attribute, to said items.
The only issue is I don't see a way of building collections from Sonarr/Radarr tags, unless I'm missing it. Just an idea for more possibilities.
Thanks for making this awesome tool!
-Ed
Beta Was this translation helpful? Give feedback.
All reactions