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="Shukuyen" data-source="post: 1060332" data-attributes="member: 74313"><p>The dll file seems to be corrupt:</p><p></p><p></p><p>Can you please delete the WifiRemote.dll and reinstall it via MP Extensions Installer?[DOUBLEPOST=1391252438][/DOUBLEPOST]</p><p></p><p>Kevin,</p><p></p><p>Johan is right, WifiRemote is not a HTTP REST service. You need to open a socket connection through TCP to the WifiRemote port, then send the json packages delimited with \r\n. I did it this way because I wanted to have a realtime two-way communication. A classic REST service is great for information that you want to poll from the service, for example getting information about a TV show in MP-Extended. </p><p></p><p>The principle of WifiRemote is that you open a connection that both the client and the server use to send data back and forth. For example your client will be notified when the user starts playing some media file or when the facade (MediaPortal list views) changes. Without a persistent connection that wouldn't be possible.</p><p></p><p>So depending which programming language you are using you need to find a way to connect to the socket, then just read and write the <a href="http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/17_Extensions/3_Plugins/WifiRemote/Commands" target="_blank">commands</a> and <a href="http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/17_Extensions/3_Plugins/WifiRemote/Messages" target="_blank">messages</a> as <a href="http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/17_Extensions/3_Plugins/WifiRemote" target="_blank">documented in the Wiki</a>.</p></blockquote><p></p>
[QUOTE="Shukuyen, post: 1060332, member: 74313"] The dll file seems to be corrupt: Can you please delete the WifiRemote.dll and reinstall it via MP Extensions Installer?[DOUBLEPOST=1391252438][/DOUBLEPOST] Kevin, Johan is right, WifiRemote is not a HTTP REST service. You need to open a socket connection through TCP to the WifiRemote port, then send the json packages delimited with \r\n. I did it this way because I wanted to have a realtime two-way communication. A classic REST service is great for information that you want to poll from the service, for example getting information about a TV show in MP-Extended. The principle of WifiRemote is that you open a connection that both the client and the server use to send data back and forth. For example your client will be notified when the user starts playing some media file or when the facade (MediaPortal list views) changes. Without a persistent connection that wouldn't be possible. So depending which programming language you are using you need to find a way to connect to the socket, then just read and write the [URL='http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/17_Extensions/3_Plugins/WifiRemote/Commands']commands[/URL] and [URL='http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/17_Extensions/3_Plugins/WifiRemote/Messages']messages[/URL] as [URL='http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/17_Extensions/3_Plugins/WifiRemote']documented in the Wiki[/URL]. [/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