Luke 37185 Posted August 28, 2013 Share Posted August 28, 2013 A host of new remote control commands have been added. See the bottom: https://github.com/MediaBrowser/MediaBrowser/wiki/Remote-control They are go home, go to settings, mute/volume controls, and the ability to display a message to the user. They are in the latest apiclient package. The web client will support all of them beginning with the next server dev build. 1 Link to comment Share on other sites More sharing options...
Abobader 2954 Posted August 28, 2013 Share Posted August 28, 2013 Well done Luke! Link to comment Share on other sites More sharing options...
ebr 14949 Posted August 28, 2013 Share Posted August 28, 2013 That's great. I'm still not a fan of the drop-down list format for sending these. It hides the options and makes the interface cumbersome. Can we change it to an options list like we use for overall tabs in the rest of the dash? And make "Play" the default... Link to comment Share on other sites More sharing options...
ebr 14949 Posted August 28, 2013 Share Posted August 28, 2013 Excellent. Thx. Link to comment Share on other sites More sharing options...
ebr 14949 Posted August 28, 2013 Share Posted August 28, 2013 What do these look like on the receiving end? Are they all separate messages or are some of them a consolidated message with parms? Link to comment Share on other sites More sharing options...
darwindeeds 356 Posted August 28, 2013 Share Posted August 28, 2013 Awesome buddy. Link to comment Share on other sites More sharing options...
Luke 37185 Posted August 28, 2013 Author Share Posted August 28, 2013 For receivers, I've added notes to the Messages section: https://github.com/MediaBrowser/MediaBrowser/wiki/Web-Socket Link to comment Share on other sites More sharing options...
Luke 37185 Posted August 28, 2013 Author Share Posted August 28, 2013 BaseApiWebSocket is also updated. Link to comment Share on other sites More sharing options...
Luke 37185 Posted August 28, 2013 Author Share Posted August 28, 2013 I changed it. Play is the default, and Resume and Browse are right there as well without having to use the dropdown. you only have to use it to pick something else like a chapter or special feature. Link to comment Share on other sites More sharing options...
Luke 37185 Posted August 29, 2013 Author Share Posted August 29, 2013 I'll get them into BaseApiClient today so you can see a sample. In the meantime, they're MessageType SystemCommand, where Data = the command. Or MessageType MessageCommand, where Data = a json structure with Header, Text and TimeoutMs properties.The guidelines will be flexible though. The client can ignore the timeout value if it's not feasible for them to implement that. Link to comment Share on other sites More sharing options...
darwindeeds 356 Posted August 29, 2013 Share Posted August 29, 2013 Luke, Need the getsessions and sessions sockets to return the new command related fields. The one I need right now is isMuted field. Thanks Link to comment Share on other sites More sharing options...
Luke 37185 Posted August 29, 2013 Author Share Posted August 29, 2013 at the moment the clients don't report that. i'll have to have them start doing that. Link to comment Share on other sites More sharing options...
darwindeeds 356 Posted August 29, 2013 Share Posted August 29, 2013 at the moment the clients don't report that. i'll have to have them start doing that. Ok cool no problem. Whenever you get to it. 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