pre-queue script with SickRage check
Posted: July 4th, 2018, 11:10 am
Hi Guys,
I'm trying to update my pre-queue script in a way that would actually check the status in SB before queueing. I know that there is dupe checking built in, but i want a more realtime response.
I haven't quite figure out how to take a filename, pass it to the script and then have the SB check.
1. Need to parse the filename/nzbname into Showname Season Episode
2. Check the status of above with SB API
3. accept/reject if the status is downloaded vs snatched etc.
I think i can do 2/3 easily, but the #1 is killing me. Anyone done something like this?
I'm trying to update my pre-queue script in a way that would actually check the status in SB before queueing. I know that there is dupe checking built in, but i want a more realtime response.
I haven't quite figure out how to take a filename, pass it to the script and then have the SB check.
1. Need to parse the filename/nzbname into Showname Season Episode
2. Check the status of above with SB API
3. accept/reject if the status is downloaded vs snatched etc.
I think i can do 2/3 easily, but the #1 is killing me. Anyone done something like this?