Jump to content

Recommended Posts

Posted

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?

Posted
Quote

Can we add a dedicate event for when a user removes media?

Hi, what is the difference?

Posted

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

Posted

Even adding an attribute to the existing event like, trigger_type=user or missing_media would work

Posted

OK yea we should probably look into adding the user who deleted it to the event.

Posted

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.

Posted

It’s when it’s deleted from the server database.

Posted

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.

Posted

No, there could be more than one. We could just attach the user who deleted it.

  • Thanks 1

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...