Jump to content

WebHooks


Recommended Posts

pir8radio
Posted (edited)

Just trying to get more info on the webhooks plugin before I mess around with it...      Can it send webhooks based on emby notifications?    Like i would like to send a JSON string when "new media" is added that includes the message and media info.   The ability to use metadata fields to edit the JSON string however we want would be cool...  

 

something like:

{"content": "New Media Added: \n *mediaTitle* \n *mediaPrimary* \n *mediaOverview*"} 

New Media Added:

The 5th Wave

5e6afbd739e1b_Screenshotfrom202003122219

16-year-old Cassie Sullivan tries to survive in a world devastated by the waves of an alien invasion that has already decimated the population and knocked mankind back to the Stone Age.

 

 

 

So I can have it automatically post to my website, or facebook, or discord or whatever....

Edited by pir8radio
Posted

Not based on emby notifications, but rather based on the events you can choose in the webhook plugin settings.

pir8radio
Posted

Not based on emby notifications, but rather based on the events you can choose in the webhook plugin settings.

 

Ok and that only fires a webhook right it doesnt send json data in the post with details?

Posted

Yes there is a json body with information about the event that happened.

  • Like 1
  • 1 year later...
Posted
On 3/12/2020 at 10:25 PM, pir8radio said:

Just trying to get more info on the webhooks plugin before I mess around with it...      Can it send webhooks based on emby notifications?    Like i would like to send a JSON string when "new media" is added that includes the message and media info.   The ability to use metadata fields to edit the JSON string however we want would be cool...  

 

something like:


{"content": "New Media Added: \n *mediaTitle* \n *mediaPrimary* \n *mediaOverview*"} 

New Media Added:

The 5th Wave

5e6afbd739e1b_Screenshotfrom202003122219

16-year-old Cassie Sullivan tries to survive in a world devastated by the waves of an alien invasion that has already decimated the population and knocked mankind back to the Stone Age.

 

 

 

So I can have it automatically post to my website, or facebook, or discord or whatever....

That is exactly what I am looking for, did you find a solution for this? My case is

When new media added > post to twitter

 

Thanks :P

pir8radio
Posted
23 hours ago, rawzef said:

That is exactly what I am looking for, did you find a solution for this? My case is

When new media added > post to twitter

 

Thanks :P

no i ended up using the discord plugin to send a message on discord then I used zapier.com to send that discord to Facebook (can also be twitter)  it works, but not direct like i originally wanted. 

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...