jellyfin-smart-playlist/Test/test.sh

19 lines
459 B
Bash
Raw Normal View History

2024-06-27 01:47:44 +02:00
#!/bin/sh
set -eu
cd "$(dirname "$0")"
pwd
(
cd ../Jellyfin.Plugin.SmartPlaylist/
2024-06-27 01:47:44 +02:00
dotnet build
)
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/
2024-06-27 01:47:44 +02:00
docker run --rm --user "$(id -u):$(id -g)" \
-v ./cache:/cache \
-v ./config:/config \
-v ./media:/media \
2024-06-27 01:47:44 +02:00
-p 8096:8096 \
jellyfin/jellyfin