feat: Adding anime specific Sonarr/Radarr instance support#1522
feat: Adding anime specific Sonarr/Radarr instance support#1522speatzle wants to merge 8 commits intoseerr-team:developfrom
Conversation
|
This pull request has merge conflicts. Please resolve the conflicts so the PR can be successfully reviewed and merged. |
d778281 to
7b2fbc7
Compare
|
This pull request has merge conflicts. Please resolve the conflicts so the PR can be successfully reviewed and merged. |
|
This is absolutely awesome! Is there chance to merge it to main build ? |
|
I'm eagerly awaiting this so I can switch to Jellyseer :D |
|
is something specific holding this MR back? |
Not sure if it's the same as on the Overseerr equivalent PR, but it has been sat idle for so long, it now requires some work to fit with current upstream. Thempc (the original author) has stated in the original Overseerr PR he doesn't really want to maintain it, as it's been stale for so long. So in short - it needs some work to solve merge conflicts :) |
|
Hey @speatzle, I took a pass at unblocking this. I rebased your The result is here on my fork: Happy to proceed however you prefer:
No pressure! I won’t open a new PR unless you’d like me to. 👍 |
|
Hey @MisterQnl, afaik @gauthier-th took over this pr after our conversion in #232 i haven't touched it since. I am unsure why it wasn't merged back then. |
|
Thanks for the quick reply @speatzle! Branch on my fork: What’s your preferred next step: should I open a PR to the develop branch that supersedes this one, or would you rather update this PR from my branch? |
|
@MisterQnl I had a issue building a docker container where 2 libraries needed to be commented out due to duplication Specifically in src/components/Settings/SonarrModal/index.tsx: Both of these needed to be commented out due to duplication earlier in the same code. |
|
Thanks for letting me know @samtheruby! |
|
Now that the TVDB support was merged, will this affect things with this PR at all in the future? |
I don't think so since tmdb is used to identify if media is anime and I don't think that would affect this also tvdb is not being used as a replacement, instead it is being used as as optional metadata provider. |
|
Pinging this PR so it doesn't become stale. |
|
@MisterQnl would it be possible for you to bring your fork up to speed with current develop branch and make a docker image? The current develop branch has added tvdb indexer support and that is pretty great for Sonarr integration. |
|
@samirbilalmemon Done 😄 |
|
@MisterQnl Thank you. I suspect it could be that the pull request referencing speatzle:anime-server is causing confusion and maybe your fork is not being viewed. I tried downloading anime-server-rebased.zip from your fork and extracting it and then cd into it. Then I ran |
|
I'd like to add that an improved approach to Override rules would be a more scalable solution to this. See my issue #1560 for reference. |
|
And a successful merge of #1865 would make this PR obsolete |
Sorry, unless I'm missing something how does that PR make this one obsolete they solve 2 different issues. |
Because it does the exact same thing (sending anime to defined instances), but more individually, with a lot more options to do other things as well. |
I understand the confusion, the other PR let's you map radarr/sonarr instances by e.g. TVDB/TMDB keywords/genres. So you can say everything containing the keyword "anime" goes to instance X but also every action movie goes to instance Y |
|
#1865 Looks good, I have not tested it myself. If it all works great and well with the tagging of keywords then it would make this PR obsolete. |
Should we also just remove Series and Movies categories and let everything be handeled by that? |
It is more that it would create redundancy that isn't really needed imo. The default 4k/standard separation that we already have is good, but Anime can be filtered really well by keywords. Note that this PR was created before override rules were added, so that is the main reason why a different approach wasn't thought of. |
|
As I understand it, override rules are ignored for auto-approved requests. See #1195
So this PR has that as a very large benefit over any solution based on override rules imo, unless something has changed regarding this point. It'd be very weird to have only half your users have their anime send to the anime Sonarr instance, but all admin's / trusted users with the auto_approve permission have their anime sent to the TV Sonarr instance. |
Maybe an option within the override rules section/general tab is needed to apply the override rules as well for the auto approved ones. Could this help? Should be possible to implement the override rule logic beforehand the request is automaticlly approved. |
Override rules apply to auto-approve users, like @fallenbagel mentioned in #1865 (comment) and #1865 (comment). |
It seems you are correct. Unfortunately, since they do not apply to those with advanced requests, I think this PR still provides benefits compared to the alternatives (unless there is some way to have it apply to all users' requests). |
Override rules are planned to apply to them as well. Current Override rules are very barebones because our focus is the merger but a more advanced Override rules are planned. |
|
There hasn't been any update here in over a month. Is this something still planned? I would very much like to take advantage of this. |
|
I have an overseerr container with this change included, though admittedly slightly differently which in my opinion is also much better to configure: feramance/overseerr:nightly |
Bug Fix: Anime requests from non-admin users routing to wrong server@MisterQnl Not sure if you are still working on or doing anything with your PR, but I've been testing the PR again and found a bug where anime requests from users without the "Advanced Requests" permission are being routed to the default 1080p Radarr/Sonarr instance instead of the anime-specific instance. CauseThe override rules logic in Current behavior:
The FixThe 1.
|
|
superseded by #2452, which adds support for anime specific instance support for both radarr/sonarr via instance switching. |
|
@fallenbagel is there an easy way to trigger the down migration? Id like to Upgrade my instance whenever #2452 is ready. |
What do you mean by down migration? |
|
@fallenbagel I mean the Database Down/Revert Migration, i could get the SQL and run it manually but i thought there may be a builtin way. |
Yes. Typeorm allows for that. Thats what the will undo them one at a time. Do backup your db though because I've never tested this either and it's reliability is unknown, atleast for me. |

Description
This change adds the option to set a Sonarr or Radarr service as an Anime specific instance.
Adding this helps a number of people who are runnign two instances for separating anime and regular tv shows.
Ported from sct/overseerr#3664
Thanks to @thempc
Screenshot (if UI-related)
To-Dos
pnpm buildpnpm i18n:extractIssues Fixed or Closed