Skip to content

Commit 1fa753e

Browse files
authored
Fix watchlist
1 parent d92072d commit 1fa753e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.env.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ SERVER_DOMAIN=<server_domain>
1818
#-------------------------------------------------------------------#
1919

2020
PLEX_HOST="https://plex.tv/"
21-
PLEX_METADATA_HOST="https://metadata.provider.plex.tv/"
21+
PLEX_METADATA_HOST="https://discover.provider.plex.tv/"
2222
PLEX_SERVER_HOST=<plex_server_host>
2323
PLEX_SERVER_MACHINE_ID=<plex_server_machine_id>
2424
PLEX_SERVER_API_KEY=<plex_server_api_key>

watchlist.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def getWatchlistedAt(ratingKey, headers):
119119

120120
if request.status_code != 200: return
121121

122-
watchlistedAt = request.json()['MediaContainer']['UserState']['watchlistedAt']
122+
watchlistedAt = request.json()['MediaContainer']['UserState'][0]['watchlistedAt']
123123

124124
return watchlistedAt
125125

0 commit comments

Comments
 (0)