Closed Yankees4life closed 1 year ago
I tested it out and it runs fine.
I'm getting
2023-01-26 23:26:11,101 - sonarr_youtubedl - DEBUG - Begin call Sonarr to rescan for series_id: 192 2023-01-26 23:26:11,101 - sonarr_youtubedl - ERROR - Failed - Ominous Lectures - Replacement index 1 out of range for positional args tuple
Seems to be comming from these lines from @whatdaybob's commits 0bb9f32ec348769d3f03a4bb8ae1d101f529559f
res = self.request_put(
"{}/{}/command".format(self.base_url),
None,
self.sonarr_api_version,
data
)
should be
res = self.request_put(
"{}/{}/command".format(self.base_url, self.sonarr_api_version),
None,
data
)
I will fix this as soon as I have some free time unless someone can pull request it and I'll be happy to review.
Updated the api urls for support for v4 as v4 as deprecated the v1 api.