fix: always pull newest jellyfin version.

This commit is contained in:
redxef 2024-10-27 20:07:25 +01:00
parent 8402e3d4ff
commit 4b34971700
Signed by: redxef
GPG key ID: 7DAC3AA211CBD921

View file

@ -1,5 +1,7 @@
#!/bin/sh #!/bin/sh
JELLYFIN=jellyfin/jellyfin
set -eu set -eu
cd "$(dirname "$0")" cd "$(dirname "$0")"
pwd pwd
@ -10,9 +12,10 @@ pwd
pwd pwd
mkdir -p ./cache ./media ./config/plugins/jellyfin-smart-playlist mkdir -p ./cache ./media ./config/plugins/jellyfin-smart-playlist
cp ../Jellyfin.Plugin.SmartPlaylist/bin/Debug/net8.0/jellyfin-smart-playlist.dll ./config/plugins/jellyfin-smart-playlist/ cp ../Jellyfin.Plugin.SmartPlaylist/bin/Debug/net8.0/jellyfin-smart-playlist.dll ./config/plugins/jellyfin-smart-playlist/
docker pull "$JELLYFIN"
docker run --rm --user "$(id -u):$(id -g)" \ docker run --rm --user "$(id -u):$(id -g)" \
-v ./cache:/cache \ -v ./cache:/cache \
-v ./config:/config \ -v ./config:/config \
-v ./media:/media \ -v ./media:/media \
-p 8096:8096 \ -p 8096:8096 \
jellyfin/jellyfin "$JELLYFIN"