| |||||||
| Improvement Suggestions You have an idea how MediaPortal could be improved? Post it in here. |
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Portal Member Join Date: Feb 2005 Location: Kfar Vitkin Age: 32
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Country: | 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. Example 1: a "Caller ID" application. A standard CID application can be used. When a call is received, the CID program can run the following command: MediaPortal.exe /pause /popup "Incoming call from 555-12345" /image "d:\pics\john.jpg" 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)... Example 2: Sending commands to MP. An external application can send commands to MP. This will help integrate with unsupported input devices (including remote controllers): MediaPortal.exe /command "13" or: MediaPortal.exe /command "ACTION_STOP" 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. |
| | |
| | #2 (permalink) |
| Portal Member Join Date: Aug 2004 Location: Melbourne, Australia
Posts: 773
Thanks: 0
Thanked 0 Times in 0 Posts
| I'm working on this at the moment. I've done a prototype and I've implemented this in MPWebControl - a web interface for mediaportal. I'm currently working on version 2 of the External Control Plugin, which will cover many more functions in MP. Without going into the specifics, my plugin is controllable via HTTP, so I can easily create a simple app that takes command line switches and sends the commands to the plugin via HTTP. I'm doing this when I have free time, so it might take a while... BTW, any particular functions that people want to access via MP? Please post them here... Sam |
| | |
| | #5 (permalink) |
| Portal Member Join Date: Mar 2005 Location: U.S.A.
Posts: 110
Thanks: 0
Thanked 0 Times in 0 Posts
| Along these lines ... is there any way to call a specific module/application within MP using a command-line switch/parameter? For example, my remote control issues a "Shift + Ctrl + Alt + 2" when the TV button is pressed. I would like to use this Hotkey Helper program I found (which runs as a service) to map these keypresses to the My TV portion of MP (open MP, bring me directly to the "My TV" module.) So the missing piece is the command line & parameters that are necessary to accomplish this. Something along the lines of: C:\Program Files\Team MediaPortal\MediaPortal\MediaPortal.exe /run="My TV" Question for samuel337 - it sounds like you're working on something like this. Can you confirm? Is there a trial version you have created that I can try? It would be GREATLY appreciated. Aaron |
| | |
| | #6 (permalink) |
| Portal Member Join Date: Aug 2004 Location: Melbourne, Australia
Posts: 773
Thanks: 0
Thanked 0 Times in 0 Posts
| There's a plugin around here that allows you to jump to various modules using special keypresses, can't remember what its called though. As for the external control plugin 2, essentially, its been released as its been combined with the web interface, STSC's pvr scheduler, and AllanConquest's LCD plugin. STSC and I however, can't figure out how to display a progress window as the usual code doesn't work... I'm hoping to get the plugin placed into MP's source so its in line with everything else and other people can edit it too. Sam |
| | |
| | #7 (permalink) | ||
| Portal Member Join Date: Nov 2004
Posts: 74
Thanks: 0
Thanked 0 Times in 0 Posts
| Quote:
Quote:
__________________ ~mar. Recording PC: Abit AN7, Athlon XP 3000+ 400FSB, 512MB PC3200, AIW 9800Pro, dual 21" CRTs, XP Pro SP2, ATI MMC, MediaPortal For viewing: Celeron 700, 384MB PC133, GeForce4 MX connected to TV, WinXP, MediaPortal | ||
| | |
| | #8 (permalink) | |
| Portal Member Join Date: Mar 2005 Location: U.S.A.
Posts: 110
Thanks: 0
Thanked 0 Times in 0 Posts
| Hi Sam, Quote:
-aaron- | |
| | |
| | #9 (permalink) | ||
| Portal Member Join Date: Aug 2004 Location: Melbourne, Australia
Posts: 773
Thanks: 0
Thanked 0 Times in 0 Posts
| Quote:
Sam | ||
| | |
![]() |
| Bookmarks |
| Tags |
| automation, general |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| unable to create graph - x64 + .net 2 | Nightmare77 | Installation, configuration support | 10 | 2006-09-21 08:23 |
| What I Have to do now? | mikele83 | General Support | 6 | 2006-04-19 14:07 |
| Trouble with PG700 DVB-T Card | archidendron | General Support | 3 | 2006-03-22 13:53 |
| Ultraview DVB-T Plus unable to create graph and no autotune | doodfood | General Support | 2 | 2005-12-29 13:52 |
| Unable to create graph for this device | blueuniverse | General Support | 5 | 2005-11-16 22:45 |