MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Help on Development » Improvement Suggestions


Improvement Suggestions You have an idea how MediaPortal could be improved? Post it in here.

Reply
 
Thread Tools Display Modes
Old 2005-02-14, 20:03   #1 (permalink)
Portal Member
 
orencha's Avatar
 
Join Date: Feb 2005
Location: Kfar Vitkin
Age: 32
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts

Country:

My System

Default General Automation of MP

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.
orencha is offline   Reply With Quote
Old 2005-02-15, 07:22   #2 (permalink)
Portal Member
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 773
Thanks: 0
Thanked 0 Times in 0 Posts


Default

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
samuel337 is offline   Reply With Quote
Old 2005-02-15, 09:00   #3 (permalink)
Portal Member
 
orencha's Avatar
 
Join Date: Feb 2005
Location: Kfar Vitkin
Age: 32
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts

Country:

My System

Default

Mainly the ability to display a custom "pop-up" message. I'm really into implementing this CallerID feature.
orencha is offline   Reply With Quote
Old 2005-02-15, 13:24   #4 (permalink)
Portal User
 
Join Date: Oct 2004
Location: Denmark
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts


Default

I can support the CallerID request - that feature would be very usefull.

Dantev
Dantev is offline   Reply With Quote
Old 2005-03-19, 19:45   #5 (permalink)
Portal Member
 
Join Date: Mar 2005
Location: U.S.A.
Posts: 110
Thanks: 0
Thanked 0 Times in 0 Posts


Default

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
civikdude is offline   Reply With Quote
Old 2005-03-19, 23:17   #6 (permalink)
Portal Member
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 773
Thanks: 0
Thanked 0 Times in 0 Posts


Default

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
samuel337 is offline   Reply With Quote
Old 2005-03-19, 23:28   #7 (permalink)
Portal Member
 
Join Date: Nov 2004
Posts: 74
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Quote:
Originally Posted by orencha
Mainly the ability to display a custom "pop-up" message. I'm really into implementing this CallerID feature.
Quote:
Originally Posted by orencha
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.
Combining these two would allow a lot of new functionality to MediaPortal.... Would prolly make it easier to implement some new plugins as well.
__________________
~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
LastMar is offline   Reply With Quote
Old 2005-03-24, 06:22   #8 (permalink)
Portal Member
 
Join Date: Mar 2005
Location: U.S.A.
Posts: 110
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Hi Sam,

Quote:
Originally Posted by samuel337
There's a plugin around here that allows you to jump to various modules using special keypresses, can't remember what its called though.
I'm unable to find the plugin you mention, maybe because I'm just not typing in the right keywords. Any idea where you saw the writeup? Is any out there running this plugin? Thanks!

-aaron-
civikdude is offline   Reply With Quote
Old 2005-03-24, 13:51   #9 (permalink)
Portal Member
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 773
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Quote:
Originally Posted by civikdude
Hi Sam,

Quote:
Originally Posted by samuel337
There's a plugin around here that allows you to jump to various modules using special keypresses, can't remember what its called though.
I'm unable to find the plugin you mention, maybe because I'm just not typing in the right keywords. Any idea where you saw the writeup? Is any out there running this plugin? Thanks!

-aaron-
See: http://nolanparty.com/mediaportal.so...light=key+jump

Sam
samuel337 is offline   Reply With Quote
Old 2005-03-24, 16:37   #10 (permalink)
Portal Member
 
Join Date: Mar 2005
Location: U.S.A.
Posts: 110
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Thanks! I'll give that a try. Also sounds like I should keep an eye on Gucky's Home Plugin . . .

-aaron-
civikdude is offline   Reply With Quote
Reply

Bookmarks

Tags
automation, general

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

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


All times are GMT +1. The time now is 16:54.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden