Created
July 13, 2024 02:06
-
-
Save ShivamAmin/06599d9d5643c9945882626415220b17 to your computer and use it in GitHub Desktop.
Unmoni
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
lidarrUrl="" | |
lidarrApiKey="" | |
curl -s "$lidarrUrl/api/v1/album/monitor" --request PUT --header "X-Api-Key:"${lidarrApiKey} -H "Content-Type: application/json" --data-raw '{"albumIds":['$lidarr_album_id'], "monitored": false}' |
@ShivamAmin where do you put this/run it, when using lidarr via docker?
You download/save it where Lidarr is installed (in your case, the config folder), and then use the custom script functionality of Lidarr to run this script on the action: 'on import'
Thanks, new to Lidarr/Deemix.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@ShivamAmin where do you put this/run it, when using lidarr via docker?