tOLJY 27 Posted January 30 Posted January 30 I thought about using the library.deleted event in a webhook to go to my Sonarr/Radarr and remove and blacklist a show/movie if I delete it from emby. I have things set to autoamtically remove on played, so thought the user deleting it manually could signifiy that they don't like it and to scrap it. I recently found out that this event gets triggered when media is removed from the library as part of its normal proceses anyway. Can we add a dedicate event for when a user removes media?
Luke 40003 Posted January 30 Posted January 30 Quote Can we add a dedicate event for when a user removes media? Hi, what is the difference?
tOLJY 27 Posted January 30 Author Posted January 30 I want to be able to identify the difference between media being right-click deleted at the series level so that I can take that and say that the user thinks this show is not good and to delete it from Sonarr Current when you watch an entire series, this event also triggers when the media is removed from emby So basically I can't distinguish between the media being removed after it's been deleted from the disk by whatever means versus the user went in and right clicked and said I want to delete this
tOLJY 27 Posted January 30 Author Posted January 30 Even adding an attribute to the existing event like, trigger_type=user or missing_media would work
Luke 40003 Posted January 30 Posted January 30 OK yea we should probably look into adding the user who deleted it to the event.
tOLJY 27 Posted January 30 Author Posted January 30 I presume then that the event that gets triggered when the media is deleted at the OS level or other then that would not contain a user? That would be great, I could use the presence of the user as my key.
tOLJY 27 Posted January 31 Author Posted January 31 If you're adding the user, would that be the user that triggered it or the user profile associated with the media? Because the second option will not work in my use case as I am needing to identify that a user manually opted in to delete the media via the emby UI.
Luke 40003 Posted January 31 Posted January 31 No, there could be more than one. We could just attach the user who deleted it. 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now