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

Separate root folder for Anime #80

Closed
nylonee opened this issue Jan 23, 2024 · 5 comments
Closed

Separate root folder for Anime #80

nylonee opened this issue Jan 23, 2024 · 5 comments
Labels
enhancement New feature or request wontfix This will not be worked on

Comments

@nylonee
Copy link
Owner

nylonee commented Jan 23, 2024

A feature request has come in to have separate root folders in Sonarr for anime and non-anime, this may be possible if I can find some indication from the API that a show is anime, but I'll have to check

@nylonee nylonee added the enhancement New feature or request label Jan 23, 2024
@nylonee
Copy link
Owner Author

nylonee commented Feb 15, 2024

Yes we can get:

        "seriesType": "standard",

in the response for each series.

When it's anime, it'll look like:

        "seriesType": "anime",

Should be straightforward to implement, I'll get cracking soon

@nylonee
Copy link
Owner Author

nylonee commented Feb 15, 2024

Ah sorry I was looking at the Sonarr API call, but actually what I needed was the Plex API to tell me whether something's anime or not.

I've had a look and there's no distinction on the Plex side, both for RSS feeds and normal API calls.

Unfortunately I'll have to park this as it's a bit more challenging than initially anticipated

@nylonee nylonee added the wontfix This will not be worked on label Feb 15, 2024
@stamatis921
Copy link

Hi @nylonee, would it be possible to workaround this by allowing using separate root folders/quality profiles for different watchlists? Or even just split off the admin watchlist from friend watchlists? Someone could then use a seperate Plex account for the purpose of maintaining a anime watchlist. Would also be useful for having users on different quality profiles (1080) than the admin (4K).

@nylonee
Copy link
Owner Author

nylonee commented Feb 17, 2024

Hmm interesting idea, it's certainly possible if you have multiple watchlistarr instances running, and you lock down the watchlist syncing to one Plex account by using SKIP_FRIEND_SYNC=true. This doesn't require any extra development work on my part.

@nylonee
Copy link
Owner Author

nylonee commented Feb 17, 2024

I definitely would want to support a separate profile/root folder setting natively though, especially for anime.
A possible solution here would be to look up a show, and fetch the metadata which would likely tell me if the show is anime or not.

The work to do this would only affect one function:
https://github.com/nylonee/watchlistarr/blob/main/src/main/scala/sonarr/SonarrUtils.scala#L28-L51

The lookup needs to be fast - using Sonarr's lookup API would be pretty slow and inaccurate. This is the problem at the moment as Sonarr doesn't seem to have a way to lookup metadata without the lookup API (which just takes a string). Trying to get a feature request/PR into Sonarr to improve this is also going to be nearly impossible until this is resolved.

So the best alternative is to call the API directly provided by TVDB, which involves setting up yet another API key!

@nylonee nylonee closed this as completed Apr 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants