-
Notifications
You must be signed in to change notification settings - Fork 23
Update watchlist server URL to discover.provider.plex.tv #105
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5676,8 +5676,8 @@ paths: | |
| example: 401 | ||
| '/library/sections/watchlist/{filter}': | ||
| servers: | ||
| - url: 'https://metadata.provider.plex.tv' | ||
| description: The plex metadata provider server | ||
| - url: 'https://discover.provider.plex.tv' | ||
| description: The plex discover provider server | ||
| get: | ||
| tags: | ||
| - Watchlist | ||
|
Comment on lines
5677
to
5683
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💡 Verification agent 🧩 Analysis chainChange appears correct; do verify no stragglers remain, madam/sir. Kindly confirm there are no remaining references to metadata.provider.plex.tv and that the source path YAML mirrors this change. Also confirm your SDK generator honours path-level servers over top-level servers for this endpoint. 🏁 Script executed: #!/bin/bash
# 1) Find any lingering metadata provider URLs
rg -nP 'metadata\.provider\.plex\.tv'
# 2) Inspect watchlist path definitions (source + output)
rg -nP '/library/sections/watchlist' -C3
# 3) Sanity-check server objects near the watchlist path
rg -nP '^\s*servers:\s*$' -n output/plex-media-server-spec-dereferenced.yaml -C4Length of output: 3953 Action required — lingering metadata.provider.plex.tv references detected
🤖 Prompt for AI Agents |
||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -1,6 +1,6 @@ | ||||||||||||||||||||||
| servers: | ||||||||||||||||||||||
| - url: "https://metadata.provider.plex.tv" | ||||||||||||||||||||||
| description: The plex metadata provider server | ||||||||||||||||||||||
| - url: "https://discover.provider.plex.tv" | ||||||||||||||||||||||
| description: The plex discover provider server | ||||||||||||||||||||||
|
Comment on lines
+2
to
+3
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧹 Nitpick (assertive) Do update the changelog and regenerate SDKs, good chap. This path‑level server change warrants a note in CHANGELOG and regenerated clients to ensure consumers pick up the new base. 🤖 Prompt for AI Agents🧹 Nitpick (assertive) A modest hardening suggestion, if I may. Consider defining a server with a subdomain variable to ease future host changes without further PRs. servers:
- - url: "https://discover.provider.plex.tv"
- description: The plex discover provider server
+ - url: "https://{subdomain}.provider.plex.tv"
+ description: The plex provider server (default: discover)
+ variables:
+ subdomain:
+ default: discover
+ enum:
+ - discover📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents💡 Verification agent 🧩 Analysis chainPray confirm there are no lingering references to the old host. Kindly sweep the repository for any remnants of metadata.provider.plex.tv (paths, examples, deref output, docs) to avoid mismatched clients. 🏁 Script executed: #!/bin/bash
# Find any lingering references to the old host and other provider hosts.
rg -nP 'metadata\.provider\.plex\.tv|https?://[a-z.-]*provider\.plex\.tv' -C2
# Sanity-check dereferenced spec paths for this endpoint.
rg -nP "^\\s*servers:\\s*$" -n output/plex-media-server-spec-dereferenced.yaml -C2Length of output: 6840 Pray remove/update all provider.plex.tv references — action required Pray attend: the repository still contains multiple references to provider.plex.tv (discover / epg / metadata) that must be corrected to avoid mismatched clients.
Replace or parameterize these endpoints, update examples/tests, regenerate the dereferenced spec and re-run the test suite. |
||||||||||||||||||||||
| get: | ||||||||||||||||||||||
| tags: | ||||||||||||||||||||||
| - Watchlist | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧹 Nitpick (assertive)
A deft switch of servers; mind the proper noun, sir.
Recommend capitalising the brand/product for consistency.
📝 Committable suggestion
🤖 Prompt for AI Agents