Multiple folders in the same scritp or refresh multiple plex servers in the same script
-
- Posts: 20
- Joined: 31 Jul 2017, 03:17
Multiple folders in the same scritp or refresh multiple plex servers in the same script
I was just wondering if you could scan multiple folders with the same script also refresh multiple plex servers? I looked over the forums and found different ways of adding multiple settings to a argument (I'm not sure if that's the right terminology) --def ignore=".srt|.idx|.sub" and I tried to implement this method to scan multiple different folders "\\ip addrress\Done| \\ip address\complete" and refresh multiple plex servers --def plex=ipadress:token| ipaddress:token I also tried just leaving a space between the 2 options that didn't seem to work either is this even something tat can be done?
Re: Multiple folders in the same scritp or refresh multiple plex servers in the same script

Code: Select all
,;|


-
- Posts: 20
- Joined: 31 Jul 2017, 03:17
Re: Multiple folders in the same scritp or refresh multiple plex servers in the same script

"\\complete; \\Done" output is File does not exist: \\complete; \Done
"\\complete, \\Done" output is File does not exist: \\complete, \Done
"\\complete| \\Done" output is File does not exist: \\complete| \Done
Im guessing that ones a No
I think because i tried them both at the same time and not separately the error was for one and the second wasn't attempted as a result
--def plex=plexserver1:token, plex=plexserver2:token output is Notify Plex [plexserver2] no mention of plexserver1

So would that mean i would have to not do this --def ignore=".srt|.idx|.sub" but instead do this --def ignore=".srt" --def ignore=".idx" --def ignore=".sub"
Re: Multiple folders in the same scritp or refresh multiple plex servers in the same script
That look like you're just not quoting argument correctly:
viewtopic.php?t=1899
e.g.
e.g.
I've modified the regular expression pattern so that you can see that it is a single argument, one single regular expression pattern that matches various subtitle file extensions, not a list of file extensions. See https://regexr.com/7lan9 for details.
viewtopic.php?t=1899
e.g.
Shell: Select all
--def plex=host:token
Shell: Select all
--def plex="plexserver1:token plex=plexserver2:token"
e.g.
Shell: Select all
--def ignore=regex
Shell: Select all
--def ignore="[.](srt|idx|sub)"
