-
-
Notifications
You must be signed in to change notification settings - Fork 263
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
[Feature Request] Anime profile support for Movies. #360
Comments
I currently have a webhook script that can do this. |
Well I was not expecting that quick of a reply. Thank you! I'll give this a try So if I spin this up on say python /path/to/Seerr-Route.main.py & it'll just run in the background and flip any request per the "rootFolder" set for the values? |
Perfect that should work just fine for me for the moment, I'll pay around with it on a test user like you suggested. |
Would support for different quality profiles be possible too? I see no workaround for this use case. I use Trash Guides and one of the aspects to it is that there's a specific profile for Anime. I don't think your script does this, unfortunately. |
That script is supposed to be an example. The api endpoints of jellyseerr is what the script uses and it can be modified to do exactly that too. I could make a seperate branch that changes quality profiles too later this weekend |
I'll go ahead and try my hand at modifying it. This is my first time doing this kind of thing. So, I'll give an update this weekend if I couldn't figure it out. |
I ran into too many issues for this. I'm out of my depth on this, since I can't even get it to run at all, let alone getting it to work for my purposes. |
Nevermind. I misread |
While trying to automate it on my side, I discovered radarr/sonarr support "Custom Script" for a long time, if anyone needs it here is the script I made for movies (almost identical for series). My tags are applied by the sonarr/radarr Autotagging system so I dont modify them with this script. #!/bin/bash
OnMovieAdded() {
local baseurl="http://localhost:7878/api/v3"
local apikey="xx"
if [[ "$radarr_movie_genres" =~ "Documentary" ]]; then
if [[ ! "$radarr_movie_path" == "/data/share/videos/documentaries" ]]; then
curl -i -s -X 'PUT' "$baseurl/movie/editor" \
-H "X-Api-Key: $apikey" \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-d "{\"movieIds\": [ $radarr_movie_id ], \"rootFolderPath\": \"/data/share/videos/documentaries\", \"moveFiles\": true}"
fi
elif [[ "$radarr_movie_genres" =~ "Animation" ]]; then
case "$radarr_movie_originallanguage" in
jpn | zho | chi | kor)
curl -i -s -X 'PUT' "$baseurl/movie/editor" \
-H "X-Api-Key: $apikey" \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-d "{\"movieIds\": [ $radarr_movie_id ], \"qualityProfileId\": 10}"
;;
esac
fi
}
case $radarr_eventtype in
Test)
;;
MovieAdded)
OnMovieAdded
;;
*)
echo "Unhandled event type: $radarr_eventtype"
;;
esac |
Thank you for sharing that script, this helps me slimdown my docker compose and is easily expanded. |
Description
Can you provide support for anime profiles with Radarr?
Currently there is no option to allow for an "Anime" Profile in the Radarr Server screen. The Main as is just so it select a seperate library or profile if the ANIME_KEYWORD_ID = 210024 is found on themoviedb
Desired Behavior
Having the following options enable for Radarr instance and apply if ANIME_KEYWORD_ID = 210024 is detected on themoviedb for a requested movie.
Anime Quality Profile
Anime Root Folder
Anime Language Profile
Anime Tags
Additional Context
This might be related to issue #195 but I think the callout here is slightly different.
Code of Conduct
The text was updated successfully, but these errors were encountered: