mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-04 10:34:59 +02:00
Fixed: Plex Watchlist import list
This commit is contained in:
parent
29204c93a3
commit
88de927435
@ -99,7 +99,7 @@ public HttpRequest GetWatchlist(string authToken, int pageSize, int pageOffset)
|
||||
|
||||
var clientIdentifier = _configService.PlexClientIdentifier;
|
||||
|
||||
var requestBuilder = new HttpRequestBuilder("https://metadata.provider.plex.tv/library/sections/watchlist/all")
|
||||
var requestBuilder = new HttpRequestBuilder("https://discover.provider.plex.tv/library/sections/watchlist/all")
|
||||
.Accept(HttpAccept.Json)
|
||||
.AddQueryParam("clientID", clientIdentifier)
|
||||
.AddQueryParam("context[device][product]", BuildInfo.AppName)
|
||||
@ -107,7 +107,8 @@ public HttpRequest GetWatchlist(string authToken, int pageSize, int pageOffset)
|
||||
.AddQueryParam("context[device][platformVersion]", "7")
|
||||
.AddQueryParam("context[device][version]", BuildInfo.Version.ToString())
|
||||
.AddQueryParam("includeFields", "title,type,year,ratingKey")
|
||||
.AddQueryParam("includeElements", "Guid")
|
||||
.AddQueryParam("excludeElements", "Image")
|
||||
.AddQueryParam("includeGuids", "1")
|
||||
.AddQueryParam("sort", "watchlistedAt:desc")
|
||||
.AddQueryParam("type", (int)PlexMediaType.Show)
|
||||
.AddQueryParam("X-Plex-Container-Size", pageSize)
|
||||
|
Loading…
Reference in New Issue
Block a user