Open patsaindon opened 2 months ago
I created this till official support. Inspired from https://docs.totaldebug.uk/pyarr/_modules/pyarr/radarr.html
class ExtendedSonarrAPI(SonarrAPI):
def upd_series_with_move(
self, data: JsonObject, move_files: Optional[bool] = None
) -> JsonObject:
params = {}
if move_files is not None:
params["moveFiles"] = move_files
print(type(data))
return self._put(
"series",
self.ver_uri,
data=data,
params=params,
)
sonarr = ExtendedSonarrAPI(base_url, api_key)
sonarr.upd_series_with_move(series_info, True)
Is there an existing issue for this?
Current Behaviour
I do a script that will update the movie path when added to Radarr. The results of the script will show that the path is updated, but not in Radarr.
Steps To Reproduce
Updated movie path to /movies/2020/Demon Slayer Kimetsu no Yaiba The Movie Mugen Train (2020)
But the movie Path in Radarr did not change.
Expected behaviour
The the movie path in Radarr is changed after it runned the script
Pyarr Version
5.2.0
Python Version
3.9.16
Example Code
Relevant log output
No response
Code of Conduct