add support for qobuz auth
All checks were successful
Publish Docker image / Push Docker image to registry (push) Successful in 55s

This commit is contained in:
Matthew 2023-05-09 22:55:21 +02:00
parent 4e5d28bef2
commit 0abaaf2296
3 changed files with 10 additions and 4 deletions

View File

@ -20,9 +20,12 @@ quality = 4
# This will download booklet pdfs that are included with some albums
download_booklets = true
email = ""
# This is an md5 hash of the plaintext password
password = ""
# Authenticate to Qobuz using auth token? Value can be true/false only
use_auth_token = true
# Enter your userid if the above use_auth_token is set to true, else enter your email
email_or_userid = "${QOBUZ_USERID}}"
# Enter your auth token if the above use_auth_token is set to true, else enter the md5 hash of your plaintext password
password_or_token = "${QOBUZ_TOKEN}}"
# Do not change
app_id = ""
# Do not change

View File

@ -1,4 +1,4 @@
# streamrip-docker
```sh
docker run -it -e DEEZER_NUTS=$TOKEN git.cesium.pw/niku/streamrip-docker
docker run -it -e DEEZER_NUTS=$TOKEN -e QOBUZ_USERID=$QOBUZ_USERID -e QOBUZ_TOKEN=$QOBUZ_TOKEN git.cesium.pw/niku/streamrip-docker
```

View File

@ -2,4 +2,7 @@
sed -i "s/\${DEEZER_NUTS}/$DEEZER_NUTS/g" /root/.config/streamrip/config.toml
sed -i "s/\${QOBUZ_USERID}/$QOBUZ_USERID/g" /root/.config/streamrip/config.toml
sed -i "s/\${QOBUZ_TOKEN}/$QOBUZ_TOKEN/g" /root/.config/streamrip/config.toml
tail -f /dev/null