jellyfin-smart-playlist/Test/test.sh

18 lines
366 B
Bash
Raw Normal View History

2024-06-27 01:47:44 +02:00
#!/bin/sh
set -eu
cd "$(dirname "$0")"
pwd
(
cd ..
dotnet build
)
pwd
mkdir -p ./cache ./config/plugins/jellyfin-smart-playlist
cp ../bin/Debug/net8.0/jellyfin-smart-playlist.dll ./config/plugins/jellyfin-smart-playlist/
docker run --rm --user "$(id -u):$(id -g)" \
-v ./cache:/cache \
-v ./config:/config \
-p 8096:8096 \
jellyfin/jellyfin