List of shows and their status in a textile

Sonarr version (2.0.0.5163)
Mono version (4.8.1)
OS: FreeBSD Atlas 11.1-RELEASE-p10 Running in a Jail.
Description of issue:

Hey everyone!
I don’t have so much of an “issue” but was more or less wondering “how to go about” doing this. I’ll explain.

I watch all my shows on Plex and I have a fairly large library. Just finished installing 5 6tb drives in raidz on freebsd and am migrating all my shows into categorized datasets, and off of external drives.

I separate my shows into several categories. “Ended”,“Incomplete”,“Running”
The shows get stored into ‘datasets’, and I point plex to a folder structure Ended, Incomplete, Running. This creates nice neat tidy libraries to watch, want to watch a running show go to the running library and find it without having to sort through a list of ended shows.

Anyways, this sorting has to be done manually right now. I find the show status, then update the shows system links to the appropriate plex category.

What I would like to be able to do, is Query the Sonarr Database with the name of the show, and get back its status, Ended or Continuing. This would allow me to easily create a symbolic link to the show in the correct category.
Eventually the “Incomplete” category will no longer be there.

Any thoughts?
Pushing this idea a bit further, would sonarr be able to implement something like this where it generates that directory structure of symbolic links pointing to the show based on its airing status? Then whenever show status changes, the links are updated. Plex refreshes and shows go to their correct library.

Thanks for your time :slight_smile:

The series endpoint of sonarr’s api returns the status, so with some json parsing you could create a script.

Wait, sonarr has an exposed api? I Learn something new every day.

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