hywell 2 Posted April 17, 2024 Posted April 17, 2024 I am configuring the webhook to send notifications to Bark. At this stage the webhook only supports the post method and there is no way to customize the content of the post request.How do I configure a webhook to send notifications to bark?
hywell 2 Posted April 18, 2024 Author Posted April 18, 2024 https://github.com/finb/bark Get: Url /:BarkKey/:body /:BarkKey/:title/:body /:BarkKey/:category/:title/:body Post: Json: { "body": "Test Bark Server", "title": "Test Title", "badge": 1, "category": "myNotificationCategory", "sound": "minuet.caf", "icon": "https://day.app/assets/images/avatar.jpg", "group": "test", "url": "https://mritd.com" }
Luke 40063 Posted April 18, 2024 Posted April 18, 2024 OK so the post body needs to be formatted differently .That means one of two things needs to happen: A community member could build a bark plugin with everything about the notification tailored for Bark Or you'll need something intermediary to receive the Emby webhook, such as IFTTT, and then you can parse the Emby web hook, transform the data as needed and then pass it along to Bark.
Luke 40063 Posted April 18, 2024 Posted April 18, 2024 So in terms of the plugin route, we have lots of examples, such as: https://github.com/MediaBrowser/Emby.Notifications.Discord
hywell 2 Posted April 19, 2024 Author Posted April 19, 2024 I am going to write the corresponding plugin by myself, where is the corresponding material for reference?
Luke 40063 Posted April 19, 2024 Posted April 19, 2024 3 hours ago, hywell said: I am going to write the corresponding plugin by myself, where is the corresponding material for reference? The easiest thing to do is start here to learn how to create plugins: https://github.com/MediaBrowser/Emby/wiki/How-to-build-a-Server-Plugin But for the most part you should be able to clone an existing notification plugin. we have a bunch that you could use as an example. This might be the simplest one: https://github.com/MediaBrowser/Pushbullet
beocean 0 Posted January 14 Posted January 14 On 4/19/2024 at 10:51 AM, hywell said: I am going to write the corresponding plugin by myself, where is the corresponding material for reference? if you have a solution now?
hywell 2 Posted January 14 Author Posted January 14 Bark Notification has been successfully implemented by writing its own plugin. 1
hywell 2 Posted April 1 Author Posted April 1 MediaBrowser.Plugins.BarkNotifications.dll使用 Guid = “aa03f484-dbb1-497d-aaeb-998f028c47b6”
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