mirror of
https://github.com/beetbox/beets.git
synced 2026-11-30 10:04:34 -06:00
Rewrite the plugin around Plex' PIN authentication flow: running `beet plexupdate --auth` opens a browser window and stores the obtained token together with a generated client identifier in a token file (`plex_token.json`) next to the beets configuration. - add a PlexSession (based on TimeoutAndRetrySession) that handles token persistence, plex.tv PIN polling, and attaching the token to local server requests - look up the music library section through the JSON API instead of parsing XML - refresh the Plex library once, at the end of commands that changed the library; report missing sections and 401 responses clearly instead of failing silently - deprecate the manual `token` configuration option in favor of the interactive login