fix(api): update Plex Watchlist URL (#1847)

This commit is contained in:
0xsysr3ll
2025-08-14 21:57:30 +02:00
committed by GitHub
parent 3292f11308
commit 17d4f13afe

View File

@@ -291,7 +291,7 @@ class PlexTvAPI extends ExternalAPI {
headers: { headers: {
'If-None-Match': cachedWatchlist?.etag, 'If-None-Match': cachedWatchlist?.etag,
}, },
baseURL: 'https://metadata.provider.plex.tv', baseURL: 'https://discover.provider.plex.tv',
validateStatus: (status) => status < 400, // Allow HTTP 304 to return without error validateStatus: (status) => status < 400, // Allow HTTP 304 to return without error
} }
); );
@@ -315,7 +315,7 @@ class PlexTvAPI extends ExternalAPI {
const detailedResponse = await this.getRolling<MetadataResponse>( const detailedResponse = await this.getRolling<MetadataResponse>(
`/library/metadata/${watchlistItem.ratingKey}`, `/library/metadata/${watchlistItem.ratingKey}`,
{ {
baseURL: 'https://metadata.provider.plex.tv', baseURL: 'https://discover.provider.plex.tv',
} }
); );