Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add undocumented MoviesSearch to post_commands #156

Merged
merged 3 commits into from
Jul 23, 2023

Conversation

LRomandine
Copy link
Contributor

@LRomandine LRomandine commented Jul 8, 2023

Description

add MoviesSearch to post_commands. undocumented API that is the radarr equivalent of sonarr EpisodeSearch. It triggers a search for the given movie the same as clicking the "Search Movie" button in the UI.

Related issues

Closes #155

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • CI / Tests update
  • Documentation update

How has this been tested

Tested in a python script on my system against a live Radarr installation. I used info from this Radarr issue Radarr/Radarr#3315

  • I have added new tests where required
  • I have run nox -s tests locally and passed
  • I have tested this feature in a python script

Script used to test

add MoviesSearch to post_commands. undocumented API that is the radarr equivalent of sonarr EpisodeSearch. It triggers a search for the given movie the same as clicking the "Search Movie" button in the UI.
@codecov
Copy link

codecov bot commented Jul 20, 2023

Codecov Report

Merging #156 (718a5be) into master (3771b92) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #156   +/-   ##
=======================================
  Coverage   93.05%   93.05%           
=======================================
  Files          15       15           
  Lines        1066     1066           
=======================================
  Hits          992      992           
  Misses         74       74           
Impacted Files Coverage Δ
pyarr/models/radarr.py 100.00% <ø> (ø)

@marksie1988
Copy link
Collaborator

Hi @LRomandine,

Before I can merge the version would need to be bumped by one minor in the pyproject.toml file. this will make all tests pass.

bump minor version for merge
@LRomandine
Copy link
Contributor Author

Done.

@marksie1988 marksie1988 merged commit b56bb63 into totaldebug:master Jul 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Radarr MoviesSearch to post_command
2 participants