-
-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Labels
type/featureNew feature or requestNew feature or request
Description
Is there an existing issue for this?
- I have searched the existing issues
Expected feature
While the RadarrAPI class exposes /movie/editor as upd_movies(), the SonarrAPI class doesn't expose /series/editor despite it being a valid endpoint.
Possible Solutions
I made a quick monkeypatch so I could use it in a one-off script:
from pyarr import SonarrAPI as _SonarrAPI
class SonarrAPI(_SonarrAPI):
def edit_series(self, data):
return self._put("series/editor", self.ver_uri, data=data)That being said, it would be nice if something similar could be put into the official class.
Context / Reason
I wanted to edit the root folder of all series matching a particular criteria in a one-off script.
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
type/featureNew feature or requestNew feature or request