MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Main Features (talk, share your ideas, get support) » Watch / Listen Media » MyTV - Engine 0.2 » Tips and Tricks


Tips and Tricks Post your Tips and Tricks in here.

Reply
 
Thread Tools Display Modes
Old 2005-05-04, 16:53   #1 (permalink)
Portal Member
 
Join Date: Feb 2005
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts


Default Guide: How to use Twinhan remote control

Here you can find a short step-by-step guide how to configure the twinhan remote control for usage in MediaPortal:

http://forum.digitalrise.biz/viewtopic.php?p=2616#2616

Known issues:

+ "Power" button cannot be used to close MediaPortal from inside the application because I don't know how to configure key shortcut "STRG + UMSCHALT + ALT + F6" to exit MediaPortal.

+ Cannot stop running tv recording because I don't know the key shortcut for this action.

+ Buttons "EPG", "Record List" and "Teletext" cannot be used because I didn't find a way to call these actions directly with a key shortcut (and "My Keys Plugin" is no more available).

+ Cannot use VOL- und VOL+ buttons because modifiers in key shortcuts ("SHIFT+DOWN" and "SHIFT+UP") are currently not possible in MediaPortal. I'm using the buttons "Rewind" and "Forward" as workaround.

Martin
maju is offline   Reply With Quote
Old 2005-05-23, 18:01   #2 (permalink)
nayt74
Guest
 
Posts: n/a


Default

+ "Power" button cannot be used to close MediaPortal from inside the application because I don't know how to configure key shortcut "STRG + UMSCHALT + ALT + F6" to exit MediaPortal.

I noticed that the twinhan remote always tries to open twinhandtv.exe from this location, C:\Program Files\PC-TV\TwinHanDTV

To get media portal working with the power button i replaced the twinhandtv.exe with a small .net program that opens media portal if it is not already running and closes it if it is already running. Now when I press the power button on the twinhan remote media portal opens up and if I press again it closes it.

Here is the code
public static void Main(string[] args)
{

Process proc;
int i;
//Application.Run(new MainForm());
Process [] myProcs = Process.GetProcessesByName("MediaPortal");
if (myProcs.Length == 0){
ProcessStartInfo startInfo = new ProcessStartInfo("\"C:\\Program Files\\Team MediaPortal\\MediaPortal\\MediaPortal.exe\"");
startInfo.WindowStyle = ProcessWindowStyle.Maximized;
proc = Process.Start(startInfo);
}else{
for (i = 0; i< myProcs.Length; i++){
proc = myProcs[i];
proc.CloseMainWindow();
proc.Close();
}
}


Application.Exit();


}
  Reply With Quote
Reply

Bookmarks

Tags
control, guide, remote, twinhan

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
WebEPG issues ronald2oo2 WebEPG 28 2007-04-29 18:55
Help with TVServer and client rick78 Get Support 8 2006-12-12 19:48
Any idea why WebEPG is putting the wrong date in tvguide.xml koach MediaPortal 1 Talk 3 2006-11-07 00:36
Leadtek TV2000 RM Gives Errors - Can't do anything slmckenzie General Support 1 2006-09-15 07:35
A problem creating spanish TDT grabber for WEBEPG pegial WebEPG 7 2006-06-04 13:14


All times are GMT +1. The time now is 19:28.


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