sirk123au / ArrTools

A collection of tools for Radarr, Sonarr & Lidarr
GNU General Public License v3.0
136 stars 16 forks source link

Added 0 of 50 Movies - Error 405 #17

Closed GlitterPaillette closed 2 years ago

GlitterPaillette commented 2 years ago

Hi !

Thanks for all the work. I'm new around here so sorry if my question is stupid but I can't quite get my head around this.

I'm getting, what I've seen some people having : Added 0 of 50 Movies, 0 already exists. ;).

I've done the curl -x GET but didn't see any change.

My config.ini :

[radarr] api_key = 03d3***7f52 baseurl = http://192.*:8310 urlbase = rootfolderpath = /*/downloads searchForMovie = True qualityProfileId = Any omdbapi_key = 2d093


The log

2022-02-09 13:54:34,746 [DEBUG] Starting new HTTPS connection (1): www.omdbapi.com:443 2022-02-09 13:54:34,859 [DEBUG] https://www.omdbapi.com:443 "GET /?t=Passengers&apikey=2d093HTTP/1.1" 200 None 2022-02-09 13:54:34,861 [DEBUG] Converted retries value: 20 -> Retry(total=20, connect=None, read=None, redirect=None, status=None) 2022-02-09 13:54:34,863 [DEBUG] Starting new HTTP connection (1): 192.****:8310 2022-02-09 13:54:34,867 [DEBUG] http://192.:8310 "GET /api/v3/qualityProfile HTTP/1.1" 200 None 2022-02-09 13:54:34,871 [DEBUG] Starting new HTTP connection (1): 192.:8310 2022-02-09 13:54:34,995 [DEBUG] http://192.:8310 "GET /api/v3/movie/lookup/imdb?imdbId=tt1355644&apikey=03d3***7f52 HTTP/1.1" 200 None 2022-02-09 13:54:34,998 [DEBUG] Starting new HTTP connection (1): 192.*:8310 2022-02-09 13:54:34,999 [DEBUG] http://192.*****:8310 "POST /api/movie HTTP/1.1" 405 0


The only problem I see is the 405, which mean validation exception right ? But there, I've no idea where to find the solution. I find it weird that at the start of the script the adress works and no at the end. So I though maybe it's POST that's doing the issue but I've no idea how to manage that.

--

On radar I've a webhook for omdbapi which is working. All my indexers/download clients etc works too.

-- Any Idea ? I probably missed something quite easy. Hope I've given you all the information you need.

Thanks in advance (:

sirk123au commented 2 years ago

I think the API url needs to be updated I will have a look later

sirk123au commented 2 years ago

Hi Fixed the url pull for updates and it should work.