Compare commits

...

13 Commits

Author SHA1 Message Date
d3196afffa Merge branch 'master' of ssh://git.cesium.pw:2335/niku/streamrip-docker
All checks were successful
Publish Docker image / Push Docker image to registry (push) Successful in 3m59s
2025-01-27 20:09:11 +01:00
532eb4aed5 back to the original repo 2025-01-27 20:09:10 +01:00
6b5994984e Update 'README.md'
All checks were successful
Publish Docker image / Push Docker image to registry (push) Successful in 40s
2023-05-18 08:08:32 +00:00
aeb8b3f0ce Add 'LICENSE'
All checks were successful
Publish Docker image / Push Docker image to registry (push) Successful in 51s
2023-05-18 08:00:29 +00:00
6efed23405 }}}}}}}}
All checks were successful
Publish Docker image / Push Docker image to registry (push) Successful in 1m1s
2023-05-09 22:59:00 +02:00
0abaaf2296 add support for qobuz auth
All checks were successful
Publish Docker image / Push Docker image to registry (push) Successful in 55s
2023-05-09 22:55:21 +02:00
4e5d28bef2 needed this in the container
All checks were successful
Publish Docker image / Push Docker image to registry (push) Successful in 1m19s
2023-05-09 22:46:46 +02:00
47bb135f64 I need an IDE for YAML
Some checks failed
Publish Docker image / Push Docker image to registry (push) Failing after 47s
2023-05-09 22:44:27 +02:00
b10cda6c1c Install Git 2023-05-09 22:43:59 +02:00
6f429392fc wat is stable
Some checks failed
Publish Docker image / Push Docker image to registry (push) Failing after 41s
2023-05-09 22:35:55 +02:00
69a2bb99c8 dit is de juiste conventie
All checks were successful
Publish Docker image / Push Docker image to registry (push) Successful in 59s
2023-05-09 21:45:17 +02:00
5a8438448f Merge branch 'master' of ssh://git.cesium.pw:2335/niku/streamrip-docker
All checks were successful
Publish Docker image / Push Docker image to registry (push) Successful in 57s
2023-05-09 21:35:52 +02:00
de99db60de tailing /dev/null hoping for some text 2023-05-09 21:35:44 +02:00
5 changed files with 48 additions and 9 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
@ -147,7 +150,7 @@ exclude = []
add_singles_to_folder = false
# Available keys: "albumartist", "title", "year", "bit_depth", "sampling_rate",
# "container", "id", and "albumcomposer"
folder_format = "{albumartist} - {title} ({year}) [{container}] [{bit_depth}B-{sampling_rate}kHz]"
folder_format = "{albumartist}/{title} ({year})"
# Available keys: "tracknumber", "artist", "albumartist", "composer", "title",
# and "albumcomposer"
track_format = "{tracknumber}. {artist} - {title}{explicit}"

View File

@ -1,9 +1,11 @@
FROM python:3.11.3-slim-bullseye
WORKDIR /app
RUN pip install streamrip --upgrade
RUN apt update && apt install -y git
#RUN pip install git+https://github.com/hifimusix/streamrip.git --upgrade
RUN pip install git+https://github.com/nathom/streamrip --upgrade
COPY .config/streamrip/config.toml /root/.config/streamrip/config.toml
COPY docker-entrypoint.sh ./
RUN ["chmod", "+x", "/app/docker-entrypoint.sh"]
ENTRYPOINT [ "/app/docker-entrypoint.sh" ]
ENTRYPOINT [ "/app/docker-entrypoint.sh" ]

21
LICENSE Normal file
View File

@ -0,0 +1,21 @@
MIT License
Copyright (c) 2022 niku
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@ -1,4 +1,14 @@
# streamrip-docker
Container image for [nathom's streamrip](https://github.com/nathom/streamrip).
```sh
docker run -it -e DEEZER_NUTS=$TOKEN git.cesium.pw/niku/streamrip-docker
```
docker run \
-e DEEZER_NUTS=$TOKEN \
-e QOBUZ_USERID=$QOBUZ_USERID \
-e QOBUZ_TOKEN=$QOBUZ_TOKEN \
--name streamrip \
-d git.cesium.pw/niku/streamrip-docker
docker exec streamrip rip url <url>
```

View File

@ -2,4 +2,7 @@
sed -i "s/\${DEEZER_NUTS}/$DEEZER_NUTS/g" /root/.config/streamrip/config.toml
exec "$@"
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