chef 3749 Posted October 29, 2016 Share Posted October 29, 2016 I notice if I send a notification through the API it will log in the notification list (great!) but is it possible to request a popup on the device running emby to show the notification? Should this happen automatically or is it client specific what notifications to show? Example Xbox emby Theater will show a popup when the server is restarting. Link to comment Share on other sites More sharing options...
chef 3749 Posted October 30, 2016 Author Share Posted October 30, 2016 So I think I am looking in the wrong place. SessionController has SendMessage Link to comment Share on other sites More sharing options...
Luke 37247 Posted October 30, 2016 Share Posted October 30, 2016 Yup that's it. Link to comment Share on other sites More sharing options...
chef 3749 Posted October 30, 2016 Author Share Posted October 30, 2016 Is it better to go through ISessionController or ISessionManager? public static async void Notes() { foreach (var session in SessionManager.Sessions) { await session.SessionController.SendMessage( "Test", "HelloWorld", CancellationToken.None); } } or just: public static async void Notes() { await SessionController.SendMessage( "Test", "HelloWorld", CancellationToken.None); } Where SessionControler is ISessionControler Class Link to comment Share on other sites More sharing options...
chef 3749 Posted October 31, 2016 Author Share Posted October 31, 2016 Damn I had it working for about half a day and now I can't get message pop ups. I have even tried using GeneralCommands with the type of SendMessage Is there a plugin on git which shows an example? 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