Skip to content

Instantly share code, notes, and snippets.

@ShivamAmin
Created July 13, 2024 02:06
Show Gist options
  • Save ShivamAmin/06599d9d5643c9945882626415220b17 to your computer and use it in GitHub Desktop.
Save ShivamAmin/06599d9d5643c9945882626415220b17 to your computer and use it in GitHub Desktop.
Unmoni
#!/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}'
@bonelifer
Copy link

@ShivamAmin where do you put this/run it, when using lidarr via docker?

@ShivamAmin
Copy link
Author

ShivamAmin commented Apr 26, 2025

@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'

@bonelifer
Copy link

Thanks, new to Lidarr/Deemix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment