audiobookshelf icon indicating copy to clipboard operation
audiobookshelf copied to clipboard

[Enhancement]: Webhook support

Open IgnisDa opened this issue 2 years ago • 5 comments
trafficstars

Describe the feature/enhancement

Would love a webhook feature. Some events that I think would be great for starting off:

  • Media added
  • Progress update
  • Metadata update

Thank you for this project!

IgnisDa avatar Jun 19 '23 17:06 IgnisDa

I had no problem using "notification" to place a webhook call. If they expand the types of notifications available it should work pretty well for most use cases. I just put the following in the Apprise API URL. json://{IP address}:{port}{endpoint}

Home Assistant example: json://{IP address}:8123/api/webhook/{webhook ID}

NF8C avatar Oct 19 '23 03:10 NF8C

@NF8C wdym by notifications?

IgnisDa avatar Oct 19 '23 03:10 IgnisDa

@NF8C wdym by notifications?

Settings >> Notifications Then click create. "The Apprise URL(s)" is the URL of the webhook in the following format. json://{IP address}:{port}{endpoint}

json is the most commonly used webhook format I'm aware of. There is no need to run an Apprise server if you want to use webhooks. Ideally we just need an expansion of the supported "Notification Events". Currently it only supports two triggers(AKA: "Notification Event").

  • onPodcastEpisodeDownloaded
  • onTest

Ideally some more triggers such as the following would be added to the current notification system.

  • Media added
  • Progress update
  • Metadata update
  • Too many log in attempts

https://api.audiobookshelf.org/#get-notification-settings https://github.com/caronc/apprise-api

NF8C avatar Oct 19 '23 04:10 NF8C

thanks!

IgnisDa avatar Oct 19 '23 05:10 IgnisDa

Just wanted to +1 this, I would also love notification for new audiobooks added to library.

BruschettaKnight avatar Aug 27 '24 18:08 BruschettaKnight

also want to +1 this i have an announcements page in discord when media is added to my jellyfin server and would like to have the same for audiobookshelf

epipenRX avatar Jun 30 '25 07:06 epipenRX