This commit is contained in:
deathbybandaid 2023-03-14 11:16:07 -04:00
parent 9f86b4dd93
commit 2f83d754ca

View File

@ -37,7 +37,7 @@ token_from_api() {
>&2 echo 'Retrieving a X-Plex-Token using Plex login/password...'
curl -qu "${PLEX_LOGIN}":"${PLEX_PASSWORD}" 'https://plex.tv/users/sign_in.xml' \
curl --silent -qu "${PLEX_LOGIN}":"${PLEX_PASSWORD}" 'https://plex.tv/users/sign_in.xml' \
-X POST -H 'X-Plex-Device-Name: PlexMediaServer' \
-H 'X-Plex-Provides: server' \
-H 'X-Plex-Version: 0.9' \