diff --git a/Test/test.sh b/Test/test.sh index f56d07e..a85c13a 100755 --- a/Test/test.sh +++ b/Test/test.sh @@ -1,5 +1,7 @@ #!/bin/sh +JELLYFIN=jellyfin/jellyfin + set -eu cd "$(dirname "$0")" pwd @@ -10,9 +12,10 @@ pwd pwd 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/ +docker pull "$JELLYFIN" docker run --rm --user "$(id -u):$(id -g)" \ -v ./cache:/cache \ -v ./config:/config \ -v ./media:/media \ -p 8096:8096 \ - jellyfin/jellyfin + "$JELLYFIN"