diff --git a/pyarr/models/radarr.py b/pyarr/models/radarr.py index 8c7adb6..d3ac5aa 100644 --- a/pyarr/models/radarr.py +++ b/pyarr/models/radarr.py @@ -3,6 +3,7 @@ RadarrCommands = Literal[ "DownloadedMoviesScan", "MissingMoviesSearch", + "MoviesSearch", "RefreshMovie", "RenameMovie", "RenameFiles", @@ -23,6 +24,12 @@ MissingMoviesSearch: Searches for any missing movies +MoviesSearch: + Searches for the specified movie or movies + + Args: + movieIds (list[int]): ID of Movie or movies + RefreshMovies: Refreshes all of the movies, or specific by ID diff --git a/pyproject.toml b/pyproject.toml index c88975b..b44c92a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "pyarr" -version = "5.1.0" +version = "5.1.1" description = "Synchronous Sonarr, Radarr, Lidarr and Readarr API's for Python" authors = ["Steven Marks "] license = "MIT" diff --git a/tests/test_radarr.py b/tests/test_radarr.py index e73938a..a6c1b99 100644 --- a/tests/test_radarr.py +++ b/tests/test_radarr.py @@ -38,6 +38,8 @@ def test_post_command(radarr_client: RadarrAPI): assert isinstance(data, dict) data = radarr_client.post_command(name="MissingMoviesSearch") assert isinstance(data, dict) + data = radarr_client.post_command(name="MoviesSearch") + assert isinstance(data, dict) data = radarr_client.post_command(name="DownloadedMoviesScan") assert isinstance(data, dict) data = radarr_client.post_command(name="RenameFiles", files=[1, 2, 3])