Cloudbox / autoscan

Autoscan replaces the default Plex and Emby behaviour for picking up changes on the file system.
MIT License
611 stars 55 forks source link

Add triggers for rename and artist delete and album delete for lidarr #230

Open nmbrg opened 8 months ago

nmbrg commented 8 months ago

Since only download and import are supported triggers for lidarr at the moment it would be nothing short of amazing if support for rename and album delete and artist delete triggers was to be added.

so we would be getting the same awesome experience from autoscan in lidarr that we are getting in sonarr/radarr.

as it is now if you check delete/rename in the autoscan connection in lidarr (by thinking it’s the same support of triggers as sonarr/radarr) you’ll get errors in the activity.log about required fields are missing and at least in my case it wouldn’t import into plex music library.

Error: ERR Required fields are missing id=cn1lh32dee7reqc7t230 method=POST url=/triggers/lidarr

m-rots commented 7 months ago

Good to know that Lidarr added support for these events! Could you temporarily add Request Bin as a connection to Lidarr and capture example payloads for the On Delete and On Rename events? If you could paste the JSON requests in the comments that would be absolutely fantastic! Tysm!

nmbrg commented 7 months ago

Good to know that Lidarr added support for these events! Could you temporarily add Request Bin as a connection to Lidarr and capture example payloads for the On Delete and On Rename events? If you could paste the JSON requests in the comments that would be absolutely fantastic! Tysm!

have no clue how to set that up unfortunately. tried it just now and doubt i did it right and dont even know what to look for. :) i dont even see any JSON code anywhere on the pipedream page.

But if someone tells me how to, I can do it.