feerlessleadr 155 Posted September 15, 2023 Share Posted September 15, 2023 Hi - Would it be possible to create a plugin for ntfy? It is a self hosted notifications platform that I recently setup and I'd like to replace my push bullet & email notifications on emby with this if I can. I tried to get it to work w/ emby's webhooks, but couldn't get it to work. Thanks Link to comment Share on other sites More sharing options...
Luke 37071 Posted September 15, 2023 Share Posted September 15, 2023 Hi, yes I would suggest basing it off of the 4.8 notifications system. The email plugin could be used as an example to build a new plugin: https://github.com/MediaBrowser/email-notifications Link to comment Share on other sites More sharing options...
tielv 4 Posted October 2, 2023 Share Posted October 2, 2023 I've recently built a small plugin to use ntfy notifications: https://github.com/tielvh/emby-ntfy-notifications I based it on the existing Join plugin https://github.com/ackbarr/Emby.Plugins The wiki says I need a developer ID to publish my plugin to the catalog... How would I get one? 1 Link to comment Share on other sites More sharing options...
feerlessleadr 155 Posted October 2, 2023 Author Share Posted October 2, 2023 How would I go about adding this manually to my emby server? Link to comment Share on other sites More sharing options...
tielv 4 Posted October 2, 2023 Share Posted October 2, 2023 Clone the repo Build the solution Copy the DLL to your Emby plugins directory. Restart Emby server You should see the config page in your server dashboard Link to comment Share on other sites More sharing options...
feerlessleadr 155 Posted October 2, 2023 Author Share Posted October 2, 2023 Thanks - prob a little above my depth then, as I'm not familiar with how to build the solution from source. I'll wait until there is a dll release on the repo, or until your plugin is added to the cataloge. Link to comment Share on other sites More sharing options...
tielv 4 Posted October 2, 2023 Share Posted October 2, 2023 (edited) I'll look into getting a DLL build into the repo Hopefully we get a speedy response here, so I can get the plugin in the catalog Edited October 2, 2023 by tielv 1 Link to comment Share on other sites More sharing options...
Luke 37071 Posted October 2, 2023 Share Posted October 2, 2023 Please send @ebra pm. The notification system has changed in 4.8 as I mentioned so I would suggest building off of that as we’re getting close to releasing. Link to comment Share on other sites More sharing options...
ebr 14913 Posted October 2, 2023 Share Posted October 2, 2023 Hi. Typically we ask people to test new plug-ins here in the forum for a while before putting them in the catalog. That way we can ensure it is working properly and has an adequate user base. You can just post your DLL (zip it) in this topic for people to install manually during testing. Thanks! Link to comment Share on other sites More sharing options...
tielv 4 Posted October 2, 2023 Share Posted October 2, 2023 Thanks! Do you have documentation on the upcoming changes to the notification API? For now, I'll drop the DLL here for testing. (I'm on 4.7.14.0 right now, I can't be sure about it working on earlier versions) ntfy-notifications.zip Link to comment Share on other sites More sharing options...
Luke 37071 Posted October 2, 2023 Share Posted October 2, 2023 1 hour ago, tielv said: Thanks! Do you have documentation on the upcoming changes to the notification API? For now, I'll drop the DLL here for testing. (I'm on 4.7.14.0 right now, I can't be sure about it working on earlier versions) ntfy-notifications.zip 5.91 kB · 1 download I haven't written up documentation, but actually it's less code than the 4.7 notifications system so it should be easy. You can look at the email plugin for sample code: https://github.com/MediaBrowser/email-notifications Link to comment Share on other sites More sharing options...
feerlessleadr 155 Posted October 2, 2023 Author Share Posted October 2, 2023 2 hours ago, tielv said: Thanks! Do you have documentation on the upcoming changes to the notification API? For now, I'll drop the DLL here for testing. (I'm on 4.7.14.0 right now, I can't be sure about it working on earlier versions) ntfy-notifications.zip 5.91 kB · 2 downloads I added this dll to my server (same version as you), and all seems to be working correctly. Granted I haven't had an actual event to test, but the 'test notification' button works great. 1 Link to comment Share on other sites More sharing options...
tielv 4 Posted October 3, 2023 Share Posted October 3, 2023 Great! I've just released a new (beta) version to work with the new 4.8 notifications system (https://github.com/tielvh/emby-ntfy-notifications/releases). Tested with 4.8.0.49 1 1 Link to comment Share on other sites More sharing options...
jeefberkey 1 Posted December 18, 2023 Share Posted December 18, 2023 @tielvjust installed this after dealing with unformatted webhook notifications for months. It works great. Thanks for the plugin! 1 Link to comment Share on other sites More sharing options...
upD8RP 2 Posted February 21 Share Posted February 21 Just installed this plugin but I'm a bit lost: I use the public ntfy server only, so no authentication I suppose. But auth token seems to be mandatory in the config screen? Which events are actually triggering a notification? Is this then configured in the notification section (the plugin doesn't show for me there). Thanks! Link to comment Share on other sites More sharing options...
tielv 4 Posted March 13 Share Posted March 13 @upD8RPThe plugin is designed to use self-hosted ntfy instances, as that's what I'm using and needed at the time. I'm working on making the plugin compatible with the public ntfy instance as well and I'll post updates here when it's ready. You can indeed configure the notifications in the 'notifications' section when you're set up. You can select per notification type to use ntfy. Link to comment Share on other sites More sharing options...
upD8RP 2 Posted March 13 Share Posted March 13 @tielvSorry, my comment was outdated. Actually, I didn't use the version for server 4.8.x and I managed to make it work with the non-selfhosted ntfy instance, so all good. Not sure what I entered in the token field Thanks, it works as expected! 2 Link to comment Share on other sites More sharing options...
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