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
Development
Improvement Suggestions
General Automation of MP
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="orencha" data-source="post: 10687" data-attributes="member: 11329"><p>Hi,</p><p></p><p>I thought that since MP is very open, and people will probably have more and more ideas, of which some will not be implemented in MP...</p><p></p><p>How about the ability to automate MP from an external program/process? This can be done using a command-line interface.</p><p></p><p><u>Example 1: a "Caller ID" application.</u></p><p>A standard CID application can be used. When a call is received, the CID program can run the following command:</p><p></p><p><strong>MediaPortal.exe /pause /popup "Incoming call from 555-12345" /image "d:\pics\john.jpg" </strong></p><p></p><p>Since MP is already running, it will:</p><p>* Pause the current playing video/music (or TV if timeshifting is on)</p><p>* Display a Popup message with the caller ID....</p><p>* Display the picture of the caller!</p><p>* Other stuff is optional, such as: playing a ringtone (midi/wav/mp3)...</p><p></p><p></p><p><u>Example 2: Sending commands to MP.</u></p><p>An external application can send commands to MP. This will help integrate with unsupported input devices (including remote controllers):</p><p></p><p><strong>MediaPortal.exe /command "13"</strong></p><p>or: <strong>MediaPortal.exe /command "ACTION_STOP"</strong></p><p></p><p>The idea is to help integrate MP with existing software, rather than writing new code to support various features already existing elsewere.</p><p></p><p>Wanna hear what you think!</p><p></p><p>- Oren.</p></blockquote><p></p>
[QUOTE="orencha, post: 10687, member: 11329"] Hi, I thought that since MP is very open, and people will probably have more and more ideas, of which some will not be implemented in MP... How about the ability to automate MP from an external program/process? This can be done using a command-line interface. [u]Example 1: a "Caller ID" application.[/u] A standard CID application can be used. When a call is received, the CID program can run the following command: [b]MediaPortal.exe /pause /popup "Incoming call from 555-12345" /image "d:\pics\john.jpg" [/b] Since MP is already running, it will: * Pause the current playing video/music (or TV if timeshifting is on) * Display a Popup message with the caller ID.... * Display the picture of the caller! * Other stuff is optional, such as: playing a ringtone (midi/wav/mp3)... [u]Example 2: Sending commands to MP.[/u] An external application can send commands to MP. This will help integrate with unsupported input devices (including remote controllers): [b]MediaPortal.exe /command "13"[/b] or: [b]MediaPortal.exe /command "ACTION_STOP"[/b] The idea is to help integrate MP with existing software, rather than writing new code to support various features already existing elsewere. Wanna hear what you think! - Oren. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
Improvement Suggestions
General Automation of MP
Contact us
RSS
Top
Bottom