Replace metadata by discover in watchlist urls by simonc56 · Pull Request #1542 · pushingkarmaorg/python-plexapi

Description

This PR updates baseurl for some API endpoints.

Plex API updated its watchlist, scrobble and userState baseurl endpoints.
metadata subdomain is replaced by discover.

Example for watchlist fetching :
https://metadata.provider.plex.tv/library/sections/watchlist/
becomes
https://discover.provider.plex.tv/library/sections/watchlist/

New baseurl tested successfully.
Old baseurl returns 404 response for watchlist.
Plex webapp 4.148.0 uses the new baseurl for those 3 endpoints.

Overseer and Jellyseer already fixed it :

Fixes #1541

Type of change

Please delete options that are not relevant.

  • 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)
  • 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