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

addToWatchlist raise NotFound exception for invalid media #1401

Merged
merged 1 commit into from
Apr 19, 2024

Conversation

JonnyWong16
Copy link
Collaborator

Description

Plex now raises 404 status when adding invalid media to a Watchlist. Documentation updated to say this will raise a NotFound exception. Test updated to check for the NotFound exception.

https://github.com/pkkid/python-plexapi/actions/runs/8756988631/job/24034937906#step:12:837

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • This change requires a documentation update

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated the docstring for new or existing methods
  • I have added tests when applicable

@JonnyWong16 JonnyWong16 merged commit bf925c6 into pkkid:master Apr 19, 2024
5 checks passed
JonnyWong16 added a commit that referenced this pull request Apr 19, 2024
JonnyWong16 added a commit that referenced this pull request Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant