home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
WifiRemote - a tcp remote control server 0.8.3 [2014-07-20]
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Stephen Bromfield" data-source="post: 1149837" data-attributes="member: 120288"><p>Hi mm,</p><p>I am sending a JSON object command with an AsyncTask in Android and am also using WireShark to monitor what is being transmitted and received.</p><p>I send the JSON command :-</p><p></p><p>{</p><p> "Type":"mpext",</p><p> "Action":"play",</p><p> "ItemId":"214",</p><p> "MediaType":0,</p><p> "PlayInfo":{"Type":"myvideos","Id":"214"},</p><p> "ProviderId":7,</p><p> "StartFullscreen":true,</p><p> "StartIndex":0,</p><p> "StartPosition":0</p><p>}</p><p>to start the video. If I haven't watched any of the video before it just starts and there is no issue but if I have watched part of the video I get the ppup menu on MediaPortal to give the option of starting from the beginning or to resume. The response is of a type 'dialog' to get the DialogId I discovered that it was part of a sub JSON object.</p><p></p><p>I am trying to respond with a dialog response but it doesn't appear to be as easy as in <a href="http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/17_Extensions/3_Plugins/WifiRemote/Commands" target="_blank">http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/17_Extensions/3_Plugins/WifiRemote/Commands</a></p><p></p><p>Regards,</p><p>Steve B[DOUBLEPOST=1440528122][/DOUBLEPOST]Hi Brownard,</p><p></p><p>I have tried the command you suggested with no success but thanks for pointing me in the right direction, I wasn't too sure where to go so tried here first.</p><p></p><p>Many thanks for your help.</p><p></p><p>Steve B</p></blockquote><p></p>
[QUOTE="Stephen Bromfield, post: 1149837, member: 120288"] Hi mm, I am sending a JSON object command with an AsyncTask in Android and am also using WireShark to monitor what is being transmitted and received. I send the JSON command :- { "Type":"mpext", "Action":"play", "ItemId":"214", "MediaType":0, "PlayInfo":{"Type":"myvideos","Id":"214"}, "ProviderId":7, "StartFullscreen":true, "StartIndex":0, "StartPosition":0 } to start the video. If I haven't watched any of the video before it just starts and there is no issue but if I have watched part of the video I get the ppup menu on MediaPortal to give the option of starting from the beginning or to resume. The response is of a type 'dialog' to get the DialogId I discovered that it was part of a sub JSON object. I am trying to respond with a dialog response but it doesn't appear to be as easy as in [URL]http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/17_Extensions/3_Plugins/WifiRemote/Commands[/URL] Regards, Steve B[DOUBLEPOST=1440528122][/DOUBLEPOST]Hi Brownard, I have tried the command you suggested with no success but thanks for pointing me in the right direction, I wasn't too sure where to go so tried here first. Many thanks for your help. Steve B [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
WifiRemote - a tcp remote control server 0.8.3 [2014-07-20]
Contact us
RSS
Top
Bottom