Script to list out all series

Sonarr version (exact version): 2.0.0.4146
Mono version (if Sonarr is not running on Windows):no idea
OS: Ubuntu
((Debug logs)) (posted to hastebin or similar): no need
Description of issue:

I’m looking for the right syntax so I can write a bash script to list out all the series in Sonarr at the moment. I have a DVR, I’m using. When I record a show there, I want to export it and test it against sonarr to see if it should go in a drone scan folder or not.

I can’t help with the syntax, but you’ll need to use the API to determine if its a series Sonarr is tracking:

Also be aware Drone Factory will be retired in v3, but you’d still be able to trigger a similar scan through the API: https://github.com/Sonarr/Sonarr/wiki/Command#downloadedepisodesscan

So if I rely on the drone scanning for alternatively sourced content, i have to develop a script to activate a scan?

Eventually, yes, but in your case you’ll already have one to check if the series exists and you can have the files left where they are and scan when you choose (you could do that now even, trigger the scan and have Sonarr import the files it cares about and it will leave the rest behind).

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.