diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 063901c800..df097a3d18 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -24,5 +24,8 @@ "hostRequirements": { "memory": "8gb", "cpus": 4 - } + }, + "mounts": [ + "source=/opt/docker/data/jellyfin/config10.9.11/metadata/,target=/workspaces/jellyfin/TestData/metadata,type=bind,consistency=cached" + ] } diff --git a/.gitignore b/.gitignore index d5a0367bff..c636f797b8 100644 --- a/.gitignore +++ b/.gitignore @@ -20,6 +20,8 @@ local.properties .settings/ .loadpath +TestData + # External tool builders .externalToolBuilders/ diff --git a/.vscode/launch.json b/.vscode/launch.json index 7e50d4f0a4..72ee2f4181 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -35,7 +35,7 @@ "request": "launch", "preLaunchTask": "build", "program": "${workspaceFolder}/Jellyfin.Server/bin/Debug/net8.0/jellyfin.dll", - "args": ["--nowebclient", "--ffmpeg", "/usr/lib/jellyfin-ffmpeg/ffmpeg"], + "args": ["--nowebclient", "--ffmpeg", "/usr/lib/jellyfin-ffmpeg/ffmpeg", "--datadir", "/workspaces/jellyfin/TestData"], "cwd": "${workspaceFolder}/Jellyfin.Server", "console": "internalConsole", "stopAtEntry": false,