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/commits/commit/424abd32512c802d7e95360be65569c8ac7a561d/root/scripts
You should set ROOT_URL correctly, otherwise the web may not work correctly.
Adding the lidarrArtistForeignArtistId to the notfound ID, will allow using cli tools to delete all notfound ids from a particular artist. This is only for more advanced users that want to re-search a particular artist.
Move notfound logs from: /config/extended/logs/downloaded/notfound -> /config/extended/logs/notfound/
Use Lidarr album ID instead of MBZ id
When the script generates the missing/cutoff list, skip items in the "/config/extended/logs/notfound" directory, thus improving the speed of all the processes.
Instead of matching by having the exact track count, use the maximum and minimum track count for possible releases to filter, and then match by title name.
Reduce code by removing duplicated code with each search process into a single search loop process. Reduces required API calls, less chance for mistakes by reducing the amount of script code needed to achieve the same result...
Remove repetitive code, remove unneeded code, only verify downloaded tracks that were downloaded during that attempt. Previously all tracks would be verified every-time, which slows down the overall process.