Fork to yt-mp3-ui
Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
parent
84a8e0faa7
commit
9c6360e9c4
10 changed files with 243 additions and 288 deletions
10
entrypoint.sh
Executable file
10
entrypoint.sh
Executable file
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
# yt-dlp breaks whenever YouTube changes; refresh to latest before the server
|
||||
# imports it. A failed update (e.g. no network) must not stop the app from
|
||||
# starting with the version baked into the image.
|
||||
python -m pip install --user --upgrade --disable-pip-version-check yt-dlp \
|
||||
|| echo "yt-dlp auto-update failed; starting with the installed version" >&2
|
||||
|
||||
exec "$@"
|
||||
Loading…
Add table
Add a link
Reference in a new issue