-
-
Notifications
You must be signed in to change notification settings - Fork 425
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding Plex and Emby support? #2
Comments
Let me look more into this. In the past i was asked to do Plex support and when i investigated it further i found out that i couldn't. The problem is Plex notifications are used to signal directories that it should search for new/updated content in. It's notifications aren't for relaying popups or notices (in a form of text to a user). That's not quite what apprise is for. apprise is specifically text notifications. It's been a while since this topic came up (about Plex); so maybe it supports actual text based notifications now? Emby is a good suggestion; i'll look it up and see if it's possible to integrate with. At this time i don't know much about it. |
I don't know for Plex (I don't develop for it) but for Emby you can take a look at "DisplayMessage" in the RemoteControl API: https://github.com/MediaBrowser/Emby/wiki/Remote-control |
@morpheus65535 Thanks for all of your help (that wiki link got me started). I made a massive headway today and have almost completed the Emby notification support. I ran into a critical issues though which i opened a support ticket to (here). I'll await their feedback to hopefully get past this roadblock. I'll hopefully start on Plex support next week (if it's even possible). |
Thanks to you! You module really saved me a lot of time when I was trying to add notification to bazarr. If you need some to test emby integration, just contact me! |
Just so you know, I didn't get very far with Plex so i turned to the community. For tracking this (this ticket seems to be the best place for it), here is the link to my inquiry. |
Emby support is complete! Your Plex request is looking a little less promising. I'm not quite sure if such a functionality still exists or not (and if i can tap into it). This article here is quite interesting and shows that just a little over a year ago, this was indeed possible. I tried to implement this and failed (so somewhere along the lines this isn't do-able any-more). |
Tautulli (AKA PlexPy) has a variety of notifications for just about everything, including methods for making your own custom notifications, maybe take a look at that: |
Hey @albino1, thanks for your feedback! I've bookmarked their repository so I can fill in what they have that I don't (which seems to be Facebook, IFTTT, and HipChat - which I've already started poking at last night). I'm not sure what Scripts and Browser is, but i guess when i peek at their code, I'll find out! 😄
Edit: So it turns out Plex Home Theatre is nothing but a Kodi Server listening on a different default port. So since I already have kodi:// I'm covered here. Thanks again for the share! |
@morpheus65535 I think we're going to have to write off Plex support. It still doesn't appear to have any notification support. There isn't much luck with the community either. But hey!... If you come up with any more ideas please let me know! Since this ticket I've added Stride support (previously Hipchat) and IFTTT support too which pretty much knocks everything off of @albino1's list except Facebook. I started adding support for Facebook too until this recent scandal they got caught in. As a result, they've disabled most of their back-end and api right now 🙄 making it unusable (especially for notifications). I'll resume it's implementation when they turn their messaging features back on (specifically the private messaging one). So if you guys are alright with it; I'm going to close this ticket. |
@caronc Thank you for your hard work on apprise! Have you taken a look to this webpage regarding plex notification? |
Yeah, it's the same link I posted to the Plex community and identified above (about 3 comments back). It doesn't work any more. It's like they had an undocumented Plex notification feature that they since removed/disabled (within the past year). It might still work for an older or very specific version of Plex. I'll ping (@hdurdle) the author of the blog and get his feedback. |
Oh... my bad. If you want to push a little more, do it but you already put a lot of time on this feature request. Thanks! |
Plex Home Theatre itself has been unsupported by Plex for some time, and all the modern UI clients they do support are missing the old client underpinnings with the mostly undocumented API. Until and unless Plex want to support these kinds of notifications in their first party clients, I expect you’re out of luck. |
@hdurdle Thanks for your response. Just one follow up question: Your blog makes mention of Was the client (hostname) you referenced in your 2017 blog entry part of Plex (maybe a specific version), or to the Plex Home Theatre? Or was it another plugin you needed to acquire? I'm using Plex today but if i run a netstat on the service, i only see the following ports open:
None are listening on 3005 nor do the ones that are listed respond to the RPC calls similar to the ones you made in your blog last year. I was just curious of your thoughts? |
The jsonrpc API was part of PHT only, and none of the modern clients include anything like it. This was always a client side solution making use of a historical quirk of how they built the original PHT. |
Thanks a lot for your insight @hdurdle! @morpheus65535, I think native Plex notifications can be scratched off the list. Those who have an old version of PHT can just use the apprise syntax I'm going to close this ticket but if you can think of other services the app your working on could use, just let me know. I'd be happy to try and add support in apprise for you! |
Thanks! :-) |
First, I would like to thank you for wrapping up all those notification systems in one single and easy to use module.
I'm currently integrating it in Bazarr and I was wondering if you would like to add support for Plex and Emby?
Thanks again and keep up the good work! :-)
The text was updated successfully, but these errors were encountered: