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
MediaPortal Automation
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="JDWestoby" data-source="post: 843156" data-attributes="member: 72093"><p><strong>Nothing can do this.</strong></p><p></p><p>Johan has (very nicely, patiently and kindly) been trying to show me that what I done is already there (in the various remote plugins).</p><p></p><p>But I don't think this is the case.</p><p></p><p>There is nothing that allows automating MP using simple commands - only extensive programming.</p><p>(Try driving iPiMP [which uses MPClientController] by code. You'll need to learn/use JSON)</p><p></p><p></p><p>If there were why isn't there (the reason I started this) a 'clock radio'?</p><p></p><p></p><p>I have a simple clock plugin and I could add code to [try] to play the radio, but why bother?</p><p>(I did try/manage to do this but it would only play for a few seconds and then stopped, heartbeat wasn't the problem but never did find out what was wrong.)</p><p></p><p>Anyway, this is solving the wrong problem.</p><p></p><p></p><p>Far better to have a button pushing robot - which is what this is.</p><p></p><p>(I trundled through the MP source and guess what - it does a SendKeys.SendWait too, so all I've done is duplicate what MP does but in a way that is accessible from the 'outside'.)</p><p></p><p></p><p>So, work out what buttons to press to achieve what you want and then replicate it in simple '<Auto...' telnet/socket calls.</p><p></p><p>Now this can be done from another PC (hence automation) </p><p> OR</p><p>from the same PC (now my radio clock is trivial).</p><p></p><p>I don't have to write media handling code (which I freely admit I can't do), just a few simple button pushes.</p><p></p><p>If someone can show me a clock radio (not the one that plays a media file) then I'll still say this is better because I can change my 'clock radio' into a 'clock tv' or a 'clock media' or 'clock recording' by changing the calls - trivially!</p><p></p><p>No heavy lifting required.</p><p></p><p>I have now got easy access to anything that MP can do</p><p></p><p>I repeat, all this does is press the right button.</p></blockquote><p></p>
[QUOTE="JDWestoby, post: 843156, member: 72093"] [b]Nothing can do this.[/b] Johan has (very nicely, patiently and kindly) been trying to show me that what I done is already there (in the various remote plugins). But I don't think this is the case. There is nothing that allows automating MP using simple commands - only extensive programming. (Try driving iPiMP [which uses MPClientController] by code. You'll need to learn/use JSON) If there were why isn't there (the reason I started this) a 'clock radio'? I have a simple clock plugin and I could add code to [try] to play the radio, but why bother? (I did try/manage to do this but it would only play for a few seconds and then stopped, heartbeat wasn't the problem but never did find out what was wrong.) Anyway, this is solving the wrong problem. Far better to have a button pushing robot - which is what this is. (I trundled through the MP source and guess what - it does a SendKeys.SendWait too, so all I've done is duplicate what MP does but in a way that is accessible from the 'outside'.) So, work out what buttons to press to achieve what you want and then replicate it in simple '<Auto...' telnet/socket calls. Now this can be done from another PC (hence automation) OR from the same PC (now my radio clock is trivial). I don't have to write media handling code (which I freely admit I can't do), just a few simple button pushes. If someone can show me a clock radio (not the one that plays a media file) then I'll still say this is better because I can change my 'clock radio' into a 'clock tv' or a 'clock media' or 'clock recording' by changing the calls - trivially! No heavy lifting required. I have now got easy access to anything that MP can do I repeat, all this does is press the right button. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
MediaPortal Automation
Contact us
RSS
Top
Bottom