Help with Opening an External App (1 Viewer)

MD-Runner

Portal Member
July 31, 2008
15
0
Home Country
United States of America United States of America
I am writing my first plugin for MP (and my first in Visual C#). Does anyone have any code help for how to open an external app when a button in Mp is pushed? I am thinking AppActivate, but I really don't know.
 

MD-Runner

Portal Member
July 31, 2008
15
0
Home Country
United States of America United States of America
UPDATE: Okay, it looks like the real way to go here is with "Process Start" like this code example I found online:

=== Program that opens directory (C#) ===

using System.Diagnostics;

class Program
{
static void Main()
{
//
// Use Process.Start here.
//
Process.Start("C:\\");
}
}

Can I make this work? I get several errors from C# when I try to implement this and insert the program.exe into that last part.
 

Users who are viewing this thread

Similar threads

I don't think so, because MP has no way of knowing at which timestamp the external player stopped playback. Best way to achieve this would be to use an auto-resume feature in your external player itself. (MPC-HC can do that, I don't know about VLC)
I don't think so, because MP has no way of knowing at which timestamp the external player stopped playback. Best way to achieve...
Hello Folks, Is it possible to enable MP to resume in an External Player, where it left off ? I guess the question also is, can...
Replies
2
Views
1K
MP1 MP2 TVGuide Users DE
Greetings Fellow MP'rs. Does anyone out there use tvguide.com to access TV listings..? :unsure: If so, can you advise on how it is set up for use with MediaPortal..? I havebeen using Zap2XML / GraceNote but that just died (for me alone seemingly) and I am out of listings. :( Would appreciate any help - Thanks.
Greetings Fellow MP'rs. Does anyone out there use tvguide.com to access TV listings..? :unsure: If so, can you advise on how it...
Greetings Fellow MP'rs. Does anyone out there use tvguide.com to access TV listings..? :unsure: If so, can you advise on how it...
Replies
0
Views
760
I currently have two Quatros running, one connect, one duo using OTA antennae, mostly UHF fringe area, mostly cat5 local network. Hauppauge card retired long ago. I have also retired very early SD units, the Quatros seem to work much better than the older units. Go to SD's support website and download and install the windows...
I currently have two Quatros running, one connect, one duo using OTA antennae, mostly UHF fringe area, mostly cat5 local network...
I am currently using a Hauppauge WinTV QuadHD PCIe card on MP1 (1.37) for DVB-T, but 2 of the tuners have died. Thinking about...
Replies
3
Views
1K
Sorry, it's my fault -- I did not notice that you are using MP2. :( MP1 has a separate configuration utility, similar to "TV Server Config". I have tried MP2 only a couple of times, and have never used it seriously. I don't know what MP2 supports with regard to adjusting audio delay, but I do know that all of the adjustments of...
Sorry, it's my fault -- I did not notice that you are using MP2. :( MP1 has a separate configuration utility, similar to "TV...
Hi. I recently upgraded my home cinema AVR which also meant changed from sending audio from my HTPC as 5.1 using optical to 7.1...
Replies
5
Views
2K
I haven't tested it. I use MP1, but sometimes I try to help with MP2 :).
I haven't tested it. I use MP1, but sometimes I try to help with MP2 :).
This happened immediately after my Windows 11 x64 monthly update for November. The update included also cumulative update to .NET...
Replies
9
Views
2K
Top Bottom