podonnell 47 Posted October 21, 2024 Posted October 21, 2024 Hi, I'm thinking this is an API topic, but feel free to move discussion to General or whatever fits if not. I was looking through the notifications / alerts that we can send out. One that I did not see built-in was if we can alert whenever there is a transcode that occurs. Is this something natively built-in anywhere, or would I need to use the API to write something that fires off whenever that happens? Thanks!
Solution Luke 42077 Posted October 21, 2024 Solution Posted October 21, 2024 Quote Is this something natively built-in anywhere, or would I need to use the API to write something that fires off whenever that happens? HI, yes this is exactly what you would have to do, unless there is a webhook that has what you need. 1
podonnell 47 Posted October 21, 2024 Author Posted October 21, 2024 2 hours ago, Luke said: HI, yes this is exactly what you would have to do, unless there is a webhook that has what you need. Thank you. One thing I'm confused on -- Emby does support notifications on Playback start. However it seems like there's no way to embed my own code/script into Emby notifications / webhooks as those are all integrated and don't appear to support a custom script. Does this mean it needs to be entirely external to Emby? If so, wouldn't I have to run this all the time to see if there is a current playback session with a transcode occurring? I need Emby to tell me when a Playback session starts ideally instead of running this all the time outside of Emby. Anything I'm missing?
Luke 42077 Posted October 21, 2024 Posted October 21, 2024 29 minutes ago, podonnell said: Thank you. One thing I'm confused on -- Emby does support notifications on Playback start. However it seems like there's no way to embed my own code/script into Emby notifications / webhooks as those are all integrated and don't appear to support a custom script. Does this mean it needs to be entirely external to Emby? If so, wouldn't I have to run this all the time to see if there is a current playback session with a transcode occurring? I need Emby to tell me when a Playback session starts ideally instead of running this all the time outside of Emby. Anything I'm missing? The way webhooks work is you receive the webhook http request on some other server, read the data, and then process and act on it depending on what you want to do. 1
podonnell 47 Posted October 21, 2024 Author Posted October 21, 2024 9 minutes ago, Luke said: The way webhooks work is you receive the webhook http request on some other server, read the data, and then process and act on it depending on what you want to do. Ah got it thank you. My research mentioned something about needing an HTTP host listening. I think this was a nice idea but that goes beyond the scope I'm looking for. If this eventually gets added to the built in webhook functionality, that would be great. If I can lend that feedback anywhere else, please let me know! Appreciate the info. 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