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="LukeV" data-source="post: 1156177" data-attributes="member: 101624"><p>Hi guys, hope you guys can help me out with a problem...</p><p></p><p>I'm working with Domoticz (a domotica system om my NAS). For some actions I would like my mediaportal to 'pause' (e.g. when the doorbell rings).</p><p></p><p>I'm a real N00B with coding. I'm reading and Google-ing alot, but everything I do doesn't seem to work <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite3" alt=":(" title="Frown :(" loading="lazy" data-shortname=":(" /></p><p></p><p>This is my tiny script:</p><p></p><p>[code]curl -X POST -H "Content-Type: application/json" 'http://192.168.1.151:8017'</p><p></p><p></p><p>'{</p><p> "Type":"command",</p><p> "Command":"pause"</p><p>}'[/code]</p><p></p><p>I get a proper response from the server:</p><p></p><p></p><p></p><p>But how do I post my request to pause MediaPortal??</p><p></p><p>Sorry for this question, but it's driving me crazy right now...<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite9" alt=":eek:" title="Eek! :eek:" loading="lazy" data-shortname=":eek:" /></p></blockquote><p></p>
[QUOTE="LukeV, post: 1156177, member: 101624"] Hi guys, hope you guys can help me out with a problem... I'm working with Domoticz (a domotica system om my NAS). For some actions I would like my mediaportal to 'pause' (e.g. when the doorbell rings). I'm a real N00B with coding. I'm reading and Google-ing alot, but everything I do doesn't seem to work :( This is my tiny script: [code]curl -X POST -H "Content-Type: application/json" 'http://192.168.1.151:8017' '{ "Type":"command", "Command":"pause" }'[/code] I get a proper response from the server: But how do I post my request to pause MediaPortal?? Sorry for this question, but it's driving me crazy right now...:eek: [/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