Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/screenshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,11 +164,11 @@ jobs:
- name: Start Lidarr with plugin mounted
run: |
docker pull ghcr.io/hotio/lidarr:${{ env.LIDARR_DOCKER_VERSION }}
# NOTE: Lidarr plugins branch expects FLAT structure: /config/plugins/PluginName/
# NOT nested: /config/plugins/Owner/PluginName/
# CORRECT: Lidarr plugins branch expects: /config/plugins/[Owner]/[PluginName]/
# PathExtensions.GetPluginAssemblies() scans for Lidarr.Plugin.*.dll in this structure
docker run -d --name lidarr-ss \
-p 8686:8686 \
-v "${{ github.workspace }}/plugin-dist:/config/plugins/Brainarr:ro" \
-v "${{ github.workspace }}/plugin-dist:/config/plugins/RicherTunes/Brainarr:ro" \
-e PUID=1000 -e PGID=1000 \
ghcr.io/hotio/lidarr:${{ env.LIDARR_DOCKER_VERSION }}
# Wait for config.xml to be created
Expand Down Expand Up @@ -212,7 +212,7 @@ jobs:
APIKEY=$(docker exec lidarr-ss sh -lc "sed -n 's:.*<ApiKey>\\(.*\\)</ApiKey>.*:\\1:p' /config/config.xml")
echo "Using API key: ${APIKEY:0:4}..."
for i in $(seq 1 30); do
if curl -fsS -H "X-Api-Key: $APIKEY" http://localhost:8686/api/v1/system/plugins | grep -qi Brainarr; then
if curl -fsS -H "X-Api-Key: $APIKEY" http://localhost:8686/api/v1/importlist/schema | grep -qi Brainarr; then
echo "Brainarr plugin detected via API"
exit 0
fi
Expand Down
Loading
Loading