Open jamcalli opened 7 months ago
Oohh this is good spotting!
You are right, in the Sonarr API docs the standard ImportListExclusion call has been deprecated
It looks like we now are expected to use the paginated version.
However since we use the same API call for all Sonarr calls, I'm confused as to whether this applies to Sonarr v3 and v4, or only v4 (or only v3?!) I'll have to do some more investigation and determine what's the best non-breaking way of implementing this change
Looks like this is the PR that introduced the changes, I think that's only Sonarr v4
The best thing to do at the moment is to not do anything, as this will make the Watchlistarr client deviate, and we'll need to keep track of which version of Sonarr the user is using.
In the future we can explore doing this (or having fallback API calls), but it's probably low-ish priority at the moment :)
+1 for this issue. It's becoming a hassle to read my Sonarr logs because of the pollution. I tried to work on this over the weekend but don't have enough competency over Scala or codebase to be able to do it.
Note this same warning is being logged in the Radarr logs too:
API call made to deprecated endpoint from watchlistarr/1.0
This should be fixed as soon as possible. This causes several unnecessary IO operations every minute.
Watchlistarr is causing Sonarr to spit out the following warning logs. Probably not a big deal, but just something I noticed.
ImportListExclusionController | API call made to deprecated endpoint from http4s-ember/0.23.23
Great project!