Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to exclude shows that have not ended #58

Open
nylonee opened this issue Dec 19, 2023 · 2 comments
Open

Ability to exclude shows that have not ended #58

nylonee opened this issue Dec 19, 2023 · 2 comments

Comments

@nylonee
Copy link

nylonee commented Dec 19, 2023

This mainly applies to TV Shows, but I imagine there might be a world in anime/movies where the same configuration might be useful.

I want Deleterr to not delete shows that are continuing, only shows that have ended. This is useful if I am waiting around for a new season of a show.

I think Sonarr has information on a show that includes whether it's continuing/ended, so this might be a simple check against Sonarr?

@rfsbraz
Copy link
Owner

rfsbraz commented Jan 6, 2024

Yeah this is not hard to add, I'll work on supporting show's status!

@nylonee
Copy link
Author

nylonee commented Jan 6, 2024

I just did a similar implementation in my own project, it wasn't hard at all!
When fetching the list of shows from Sonarr, there are two possible fields you can use:
status (which is either "continuing" or "ended")
ended (true or false)

However in some rare cases, neither of those fields show up, I haven't quite tracked down what edge cases cause that yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants