Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/docker-lidarr-extended/commit/a9d2a4ec86c56f9b624b8d524485a60bf3c2ae01
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
13 additions and
1 deletions
@ -1,5 +1,5 @@
#!/usr/bin/env bash
version = 1.0.005
version = 1.0.006
if [ -z " $lidarrUrl " ] || [ -z " $lidarrApiKey " ] ; then
lidarrUrlBase = " $( cat /config/config.xml | xq | jq -r .Config.UrlBase) "
if [ " $lidarrUrlBase " = = "null" ] ; then
@ -32,9 +32,21 @@ if [ "$lidarr_eventtype" == "Test" ]; then
fi
getAlbumArtist = " $( curl -s " $lidarrUrl /api/v1/album/ $lidarr_album_id " -H " X-Api-Key: ${ lidarrApiKey } " | jq -r .artist.artistName) "
getAlbumArtistPath = " $( curl -s " $lidarrUrl /api/v1/album/ $lidarr_album_id " -H " X-Api-Key: ${ lidarrApiKey } " | jq -r .artist.path) "
getTrackPath = " $( curl -s " $lidarrUrl /api/v1/trackFile?albumId= $lidarr_album_id " -H " X-Api-Key: ${ lidarrApiKey } " | jq -r .[ ] .path | head -n1) "
getFolderPath = " $( dirname " $getTrackPath " ) "
if echo " $getFolderPath " | grep " $getAlbumArtistPath " | read; then
if [ -d " $getFolderPath " ] ; then
sleep 0.01
else
log " ERROR :: \" $getFolderPath \" Folder is missing :: Exiting... "
fi
else
log " ERROR :: $getAlbumArtistPath not found within \" $getFolderPath \" :: Exiting... "
exit
fi
ProcessWithBeets ( ) {
# Input
# $1 Download Folder to process