l3uddz / plex_autoscan

Script to assist sonarr/radarr with plex imports. Will only scan the folder that has been imported, instead of the whole library section.
GNU General Public License v3.0
396 stars 70 forks source link

Deletion Support #39

Closed camjac251 closed 5 years ago

camjac251 commented 6 years ago

I noticed that if I delete something on Sonarr/Radarr, Plex won't see that it's been deleted. Would this be possible? I think a few others like renames also didn't work for me either with it sending to plex right away.

danielloader commented 6 years ago

This would be great yeah, often I upgrade and it leaves multiple copies on plex but sonarr has deleted the older lower quality version and it's only picked up later by a global scan + trash delete.

l3uddz commented 5 years ago

Renames should work.

For renames, you need to make sure you are using the latest auto scan, and enable the on rename event in your web hook.

https://monosnap.com/direct/cTIBMwlnAnNm8lgbo8B7Dg8ll1UM2u

If sonarr/radarr adds an On Remove event, we can certainly add support for on delete.