Guide for HTPC

Soldato
Joined
7 Jan 2007
Posts
10,607
Location
Sussex, UK
ahh you mean the kmplugin?
I thought the MP and MCE remote plugin were 2 different ones

It may worth while if we could have some global settings for KMP and WMP Classic and WMPC Home Cinema when using MCE Remote. This will keep things nice and easy and allow most users to have the basic functions. The rest can be mapped later.

I've included a pic. If these buttons could work with the above mentioned players within MPortal then it will simplify things a lot.

The "direction", "back", "OK" and "Info" keys can remain the same so that these can be used to navigate within mediaportal.


your missing the point a little m8. each key can have different bindings for different applications.

As we will only use one application in the active window at a time it doesnt matter.

I have bound play=play, pause=pause, ffw=fww,rwd=rwd, pc off button = exit application, skip=nextchapter, prev=prevchapter, back=back.

This means we can still use mp to navigate the options & then kmplayer can run free without interference from MP, i.e the mappings wont conflict each other.

you have to have the following plugins enabled for all this to work:

1) task create/Switch events
2) keyboard emulation ( for up, down, left, right to work in kmplayer)
3) Microsoft MCE remote
4) Mediaportal
5) Kmplayer
6) Media player classic
7) Not needed but I have it enabled for blu-ray/Hd-dvd. PowerDVD plugin.
 
Soldato
Joined
7 Jan 2007
Posts
10,607
Location
Sussex, UK
Below is my xml file you may wanna copy into your eventghost folder.

Code:
<?xml version="1.0" encoding="UTF-8" ?> 
- <EventGhost Name="Configuration Tree" Expanded="True" Version="1487" Guid="{069E8B3A-8AC2-43E9-847C-7C4E160ADA60}" Time="1231275606.78">
- <Autostart Name="Autostart" Expanded="True">
  <Plugin Enabled="False" File="X10" Identifier="X10">gAJLAl1xAChLAUsCSwNLBEsFSwZLB0sISwlLCksLSwxLDUsOSw9LEGVYAwAAAFgxMHEBh3ECLg==</Plugin> 
  <Plugin Enabled="False" File="ZoomPlayer" Identifier="ZoomPlayer">gAIoWAkAAABsb2NhbGhvc3RxAE2hEoiJdHEBLg==</Plugin> 
  <Plugin Enabled="False" File="Winamp" Identifier="Winamp">gAIpLg==</Plugin> 
  <Plugin File="Task" Identifier="Task">gAIpLg==</Plugin> 
  <Action>EventGhost.EnableExclusive(XmlIdLink(223))</Action> 
  <Plugin File="MceRemote" Identifier="MceRemote">gAJHP8MzMzMzMzOIhnEALg==</Plugin> 
  <Plugin File="MediaPortal" Identifier="MediaPortal">gAIpLg==</Plugin> 
  <Plugin File="KMPlayer" Identifier="KMPlayer">gAIpLg==</Plugin> 
  <Plugin File="PowerDVD" Identifier="PowerDvd">gAIpLg==</Plugin> 
  <Plugin File="MediaPlayerClassic" Identifier="MediaPlayerClassic">gAIpLg==</Plugin> 
  </Autostart>
- <Macro Name="Start Zoom Player">
  <Event Name="DVD" /> 
  <Action>EventGhost.JumpIfLongPress(3.0, XmlIdLink(139))</Action> 
  <Action>System.Execute(u'{eg.folderPath.ProgramFiles}\\Zoom Player\\zplayer.exe', u'/TCP: 4769', 0, False, 2, u'')</Action> 
  <Action>ZoomPlayer.fnBringToFront()</Action> 
  </Macro>
- <Macro Name="Start Winamp">
  <Event Name="Music" /> 
  <Action>System.Execute(u'{eg.folderPath.ProgramFiles}\\Winamp\\winamp.exe', u'', 0, False, 2, u'')</Action> 
  </Macro>
- <Macro Name="Switch to mode: Zoom Player">
  <Event Name="Task.Activated.zplayer" /> 
  <Action>EventGhost.EnableExclusive(XmlIdLink(36))</Action> 
  </Macro>
- <Macro Name="Switch to mode: Winamp">
  <Event Name="Task.Activated.winamp" /> 
  <Action>EventGhost.EnableExclusive(XmlIdLink(141))</Action> 
  </Macro>
- <Macro Name="Switch to mode: Mouse Emulation">
  <Event Name="Setup" /> 
  <Action>EventGhost.EnableExclusive(XmlIdLink(188))</Action> 
  </Macro>
- <Macro Name="Switch to mode: Keyboard Emulation">
  <Event Name="TXT" /> 
  <Event Name="Task.Deactivated.zplayer" /> 
  <Event Name="Task.Deactivated.winamp" /> 
  <Action>EventGhost.EnableExclusive(XmlIdLink(223))</Action> 
  </Macro>
- <Folder Name="Context Folder" Expanded="True">
- <Folder Name="Zoom Player" id="36" Enabled="False">
- <Macro Name="Context Navigator">
  <Event Name="X10.Rename" /> 
  <Event Name="Menu" /> 
  <Action>ZoomPlayer.fnContextNav()</Action> 
  </Macro>
- <Macro Name="Cursor Up">
  <Event Name="Up" /> 
  <Action>ZoomPlayer.Up()</Action> 
  <Action>EventGhost.AutoRepeat()</Action> 
  </Macro>
- <Macro Name="Cursor Down">
  <Event Name="Down" /> 
  <Action>ZoomPlayer.Down()</Action> 
  <Action>EventGhost.AutoRepeat()</Action> 
  </Macro>
- <Macro Name="Cursor Left">
  <Event Name="Left" /> 
  <Action>ZoomPlayer.Left()</Action> 
  <Action>EventGhost.AutoRepeat()</Action> 
  </Macro>
- <Macro Name="Cursor Right">
  <Event Name="Right" /> 
  <Action>ZoomPlayer.Right()</Action> 
  <Action>EventGhost.AutoRepeat()</Action> 
  </Macro>
- <Macro Name="Ok">
  <Event Name="Ok" /> 
  <Action>ZoomPlayer.Enter()</Action> 
  </Macro>
- <Macro Name="Play">
  <Event Name="Play" /> 
  <Action>ZoomPlayer.fnPlay()</Action> 
  </Macro>
- <Macro Name="Pause">
  <Event Name="Pause" /> 
  <Action>ZoomPlayer.fnPause()</Action> 
  </Macro>
- <Macro Name="Stop">
  <Event Name="Stop" /> 
  <Action>ZoomPlayer.fnStop()</Action> 
  </Macro>
- <Macro Name="Fast Forward">
  <Event Name="Forward" /> 
  <Action>ZoomPlayer.fnFastForward()</Action> 
  </Macro>
- <Macro Name="Fast Rewind">
  <Event Name="Rewind" /> 
  <Action>ZoomPlayer.fnRewind()</Action> 
  </Macro>
- <Macro Name="Num1">
  <Event Name="Num1" /> 
  <Action>ZoomPlayer.exDVDNumPad(u'1')</Action> 
  </Macro>
- <Macro Name="Num2">
  <Event Name="Num2" /> 
  <Action>ZoomPlayer.exDVDNumPad(u'2')</Action> 
  </Macro>
- <Macro Name="Num3">
  <Event Name="Num3" /> 
  <Action>ZoomPlayer.exDVDNumPad(u'3')</Action> 
  </Macro>
- <Macro Name="Num4">
  <Event Name="Num4" /> 
  <Action>ZoomPlayer.exDVDNumPad(u'4')</Action> 
  </Macro>
- <Macro Name="Num5">
  <Event Name="Num5" /> 
  <Action>ZoomPlayer.exDVDNumPad(u'5')</Action> 
  </Macro>
- <Macro Name="Num6">
  <Event Name="Num6" /> 
  <Action>ZoomPlayer.exDVDNumPad(u'6')</Action> 
  </Macro>
- <Macro Name="Num7">
  <Event Name="Num7" /> 
  <Action>ZoomPlayer.exDVDNumPad(u'7')</Action> 
  </Macro>
- <Macro Name="Num8">
  <Event Name="Num8" /> 
  <Action>ZoomPlayer.exDVDNumPad(u'8')</Action> 
  </Macro>
- <Macro Name="Num9">
  <Event Name="Num9" /> 
  <Action>ZoomPlayer.exDVDNumPad(u'9')</Action> 
  </Macro>
- <Macro Name="Num0">
  <Event Name="Num0" /> 
  <Action>ZoomPlayer.exDVDNumPad(u'0')</Action> 
  </Macro>
- <Macro Name="Next Track">
  <Event Name="NextTrack" /> 
  <Action>ZoomPlayer.fnNextTrack()</Action> 
  </Macro>
- <Macro Name="Previous Track">
  <Event Name="PreviousTrack" /> 
  <Action>ZoomPlayer.fnPrevTrack()</Action> 
  </Macro>
- <Macro Name="DVD Menu">
  <Event Name="DVDMenu" /> 
  <Action Name="because not every DVD has a title menu">EventGhost.Comment()</Action> 
  <Action Name="and we want to do it with just one key">EventGhost.Comment()</Action> 
  <Action Name="we simply use both actions. One of it will">EventGhost.Comment()</Action> 
  <Action Name="succeed everytime.">EventGhost.Comment()</Action> 
  <Action>ZoomPlayer.fnDVDRootMenu()</Action> 
  <Action>ZoomPlayer.fnDVDTitleMenu()</Action> 
  </Macro>
- <Macro Name="DVD Audio">
  <Event Name="DVDAudio" /> 
  <Action>ZoomPlayer.fnDVDAudioMenu()</Action> 
  </Macro>
- <Macro Name="Zoom In">
  <Event Name="ChannelUp" /> 
  <Action>ZoomPlayer.fnZoomIn()</Action> 
  <Action>EventGhost.AutoRepeat()</Action> 
  </Macro>
- <Macro Name="Zoom Out">
  <Event Name="ChannelDown" /> 
  <Action>ZoomPlayer.fnZoomOut()</Action> 
  <Action>EventGhost.AutoRepeat()</Action> 
  </Macro>
- <Macro Name="Toggle Controlbar">
  <Event Name="EditImage" /> 
  <Action>ZoomPlayer.fnBar()</Action> 
  </Macro>
- <Macro Name="Toggle Fullscreen">
  <Event Name="Fullscreen" /> 
  <Action>ZoomPlayer.fnFullScreen()</Action> 
  </Macro>
- <Macro Name="Exit Zoom Player">
  <Event Name="Power" /> 
  <Action>ZoomPlayer.fnExit()</Action> 
  </Macro>
- <Macro Name="Forced Restart" id="139">
  <Action Name="Taskkill ZoomPlayer">System.Execute(u'{eg.folderPath.System}\\taskkill.exe', u'/F /IM zplayer.exe /T', 1, True, 2, u'')</Action> 
  </Macro>
  </Folder>
- <Folder Name="Winamp" id="141" Enabled="False">
- <Macro Name="Play">
  <Event Name="Play" /> 
  <Event Name="Ok" /> 
  <Action>Winamp.TogglePlay()</Action> 
  </Macro>
- <Macro Name="Stop">
  <Event Name="Stop" /> 
  <Action>Winamp.Stop()</Action> 
  </Macro>
- <Macro Name="Pause">
  <Event Name="Pause" /> 
  <Action>Winamp.Pause()</Action> 
  </Macro>
- <Macro Name="Cursor Up">
  <Event Name="Up" /> 
  <Action>Winamp.PreviousTrack()</Action> 
  <Action>EventGhost.AutoRepeat()</Action> 
  </Macro>
- <Macro Name="Cursor Down">
  <Event Name="Down" /> 
  <Action>Winamp.NextTrack()</Action> 
  <Action>EventGhost.AutoRepeat()</Action> 
  </Macro>
- <Macro Name="Cursor Left">
  <Event Name="Left" /> 
  <Action>Winamp.FastRewind()</Action> 
  <Action>EventGhost.AutoRepeat()</Action> 
  </Macro>
- <Macro Name="Cursor Right">
  <Event Name="Right" /> 
  <Action>Winamp.FastForward()</Action> 
  <Action>EventGhost.AutoRepeat()</Action> 
  </Macro>
- <Macro Name="Next Track">
  <Event Name="NextTrack" /> 
  <Action>Winamp.NextTrack()</Action> 
  </Macro>
- <Macro Name="Previous Track">
  <Event Name="PreviousTrack" /> 
  <Action>Winamp.PreviousTrack()</Action> 
  </Macro>
- <Macro Name="Visualization">
  <Event Name="Fullscreen" /> 
  <Action>Winamp.ExVis()</Action> 
  </Macro>
- <Macro Name="Exit">
  <Event Name="Power" /> 
  <Action>Winamp.Exit()</Action> 
  </Macro>
- <Macro Name="Volume Up">
  <Event Name="VolumeUp" /> 
  <Action>Winamp.VolumeUp()</Action> 
  <Action>EventGhost.AutoRepeat(0.33000000000000002, 0.050000000000000003, 0.050000000000000003, 3.0)</Action> 
  </Macro>
- <Macro Name="Volume Down">
  <Event Name="VolumeDown" /> 
  <Action>Winamp.VolumeDown()</Action> 
  <Action>EventGhost.AutoRepeat(0.33000000000000002, 0.050000000000000003, 0.050000000000000003, 3.0)</Action> 
  </Macro>
  </Folder>
- <Folder Name="Mouse Emulation" id="188" Enabled="False">
- <Macro Name="Mouse Move Up">
  <Event Name="Up" /> 
  <Event Name="Num2" /> 
  <Action>Mouse.GoDirection(0)</Action> 
  </Macro>
- <Macro Name="Mouse Move RightUp">
  <Event Name="Num3" /> 
  <Action>Mouse.GoDirection(45)</Action> 
  </Macro>
- <Macro Name="Mouse Move Right">
  <Event Name="Right" /> 
  <Event Name="Num6" /> 
  <Action>Mouse.GoDirection(90)</Action> 
  </Macro>
- <Macro Name="Mouse Move RightDown">
  <Event Name="Num9" /> 
  <Action>Mouse.GoDirection(u'135')</Action> 
  </Macro>
- <Macro Name="Mouse Move Down">
  <Event Name="Down" /> 
  <Event Name="Num8" /> 
  <Action>Mouse.GoDirection(u'180')</Action> 
  </Macro>
- <Macro Name="Mouse Move LeftDown">
  <Event Name="Num7" /> 
  <Action>Mouse.GoDirection(225)</Action> 
  </Macro>
- <Macro Name="Mouse Move Left">
  <Event Name="Left" /> 
  <Event Name="Num4" /> 
  <Action>Mouse.GoDirection(270)</Action> 
  </Macro>
- <Macro Name="Mouse Move LeftUp">
  <Event Name="Num1" /> 
  <Action>Mouse.GoDirection(315)</Action> 
  </Macro>
- <Macro Name="Left Mouse Button">
  <Event Name="X10.Rename" /> 
  <Action>Mouse.LeftButton()</Action> 
  </Macro>
- <Macro Name="Right Mouse Button">
  <Event Name="X10.Snapshot" /> 
  <Action>Mouse.RightButton()</Action> 
  </Macro>
  </Folder>
- <Folder Name="Keyboard Emulation" id="223" Expanded="True">
- <Macro Name="Up">
  <Event Name="Up" /> 
  <Action>Window.SendKeys(u'{Up}')</Action> 
  <Action>EventGhost.AutoRepeat(0.59999999999999998, 0.29999999999999999, 0.01, 3.0)</Action> 
  </Macro>
- <Macro Name="Down">
  <Event Name="Down" /> 
  <Action>Window.SendKeys(u'{Down}')</Action> 
  <Action>EventGhost.AutoRepeat(0.59999999999999998, 0.29999999999999999, 0.01, 3.0)</Action> 
  </Macro>
- <Macro Name="Right">
  <Event Name="Right" /> 
  <Action>Window.SendKeys(u'{Right}')</Action> 
  <Action>EventGhost.AutoRepeat(0.59999999999999998, 0.29999999999999999, 0.01, 3.0)</Action> 
  </Macro>
- <Macro Name="Left">
  <Event Name="Left" /> 
  <Action>Window.SendKeys(u'{Left}')</Action> 
  <Action>EventGhost.AutoRepeat(0.59999999999999998, 0.29999999999999999, 0.01, 3.0)</Action> 
  </Macro>
- <Macro Name="Ok -> Enter Key">
  <Event Name="Ok" /> 
  <Action>Window.SendKeys(u'{Enter}')</Action> 
  </Macro>
  </Folder>
  </Folder>
- <Folder Name="Volume Control">
- <Macro Name="Mute Volume">
  <Event Name="Mute" /> 
  <Action>System.ToggleMute()</Action> 
  </Macro>
- <Macro Name="Decrease Volume">
  <Event Name="VolumeDown" /> 
  <Action>System.ChangeMasterVolumeBy(-2.0)</Action> 
  <Action>EventGhost.AutoRepeat(0.59999999999999998, 0.29999999999999999, 0.01, 3.0)</Action> 
  </Macro>
- <Macro Name="Increase Volume">
  <Event Name="VolumeUp" /> 
  <Action>System.ChangeMasterVolumeBy(2.0)</Action> 
  <Action>EventGhost.AutoRepeat(0.59999999999999998, 0.29999999999999999, 0.01, 3.0)</Action> 
  </Macro>
  </Folder>
- <Folder Name="Other Examples" Expanded="True">
- <Folder Name="State Folder Example">
- <Folder Name="Folder1" id="257">
- <Macro Name="Enable other Folder">
  <Event Name="Blue" /> 
  <Action>EventGhost.EnableExclusive(XmlIdLink(261))</Action> 
  </Macro>
  </Folder>
- <Folder Name="Folder2" id="261" Enabled="False">
- <Macro Name="Enable other Folder">
  <Event Name="Blue" /> 
  <Action>EventGhost.EnableExclusive(XmlIdLink(265))</Action> 
  </Macro>
  </Folder>
- <Folder Name="Folder3" id="265" Enabled="False">
- <Macro Name="Enable other Folder">
  <Event Name="Blue" /> 
  <Action>EventGhost.EnableExclusive(XmlIdLink(257))</Action> 
  </Macro>
  </Folder>
  </Folder>
- <Folder Name="State Macro Example">
- <Macro Name="State1" id="270" Enabled="False">
  <Event Name="Green" /> 
  <Action>EventGhost.DisableItem(XmlIdLink(270))</Action> 
  <Action>EventGhost.EnableItem(XmlIdLink(275))</Action> 
  <Action Enabled="False">System.MonitorPowerOff()</Action> 
  </Macro>
- <Macro Name="State2" id="275">
  <Event Name="Green" /> 
  <Action>EventGhost.EnableItem(XmlIdLink(270))</Action> 
  <Action>EventGhost.DisableItem(XmlIdLink(275))</Action> 
  <Action>System.MonitorPowerOn()</Action> 
  </Macro>
  </Folder>
- <Folder Name="State Macro Example 2">
- <Macro Name="Macro1" id="281" Enabled="False">
  <Event Name="Yellow" /> 
  <Action>EventGhost.EnableExclusive(XmlIdLink(284))</Action> 
  </Macro>
- <Macro Name="Macro2" id="284">
  <Event Name="Yellow" /> 
  <Action>EventGhost.EnableExclusive(XmlIdLink(287))</Action> 
  </Macro>
- <Macro Name="Macro3" id="287" Enabled="False">
  <Event Name="Yellow" /> 
  <Action>EventGhost.EnableExclusive(XmlIdLink(281))</Action> 
  </Macro>
  </Folder>
  </Folder>
- <Folder Name="MediaPortal" Expanded="True">
- <Macro Name="Cursor Up">
  <Action>MediaPortal.Up()</Action> 
  </Macro>
- <Macro Name="Cursor Down">
  <Action>MediaPortal.Down()</Action> 
  </Macro>
- <Macro Name="Cursor Left">
  <Action>MediaPortal.Left()</Action> 
  </Macro>
- <Macro Name="Cursor Right">
  <Action>MediaPortal.Right()</Action> 
  </Macro>
- <Macro Name="Ok">
  <Action>MediaPortal.Ok()</Action> 
  </Macro>
- <Macro Name="Back">
  <Event Name="MceRemote.Back" /> 
  <Action>MediaPortal.Back()</Action> 
  </Macro>
- <Macro Name="NumPad 0">
  <Action>MediaPortal.NumPad0()</Action> 
  </Macro>
- <Macro Name="NumPad 1">
  <Action>MediaPortal.NumPad1()</Action> 
  </Macro>
- <Macro Name="NumPad 2">
  <Action>MediaPortal.NumPad2()</Action> 
  </Macro>
- <Macro Name="NumPad 3">
  <Action>MediaPortal.NumPad3()</Action> 
  </Macro>
- <Macro Name="NumPad 4">
  <Action>MediaPortal.NumPad4()</Action> 
  </Macro>
- <Macro Name="NumPad 5">
  <Action>MediaPortal.NumPad5()</Action> 
  </Macro>
- <Macro Name="NumPad 6">
  <Action>MediaPortal.NumPad6()</Action> 
  </Macro>
- <Macro Name="NumPad 7">
  <Action>MediaPortal.NumPad7()</Action> 
  </Macro>
- <Macro Name="NumPad 8">
  <Action>MediaPortal.NumPad8()</Action> 
  </Macro>
- <Macro Name="NumPad 9">
  <Action>MediaPortal.NumPad9()</Action> 
  </Macro>
- <Macro Name="Enter">
  <Action>MediaPortal.Enter()</Action> 
  </Macro>
- <Macro Name="Power1">
  <Action>MediaPortal.Power1()</Action> 
  </Macro>
- <Macro Name="Power2">
  <Action>MediaPortal.Power2()</Action> 
  </Macro>
- <Macro Name="Start">
  <Action>MediaPortal.Start()</Action> 
  </Macro>
- <Macro Name="Info">
  <Event Name="MceRemote.Details" /> 
  <Action>MediaPortal.Info()</Action> 
  </Macro>
- <Macro Name="Volume Up">
  <Action>MediaPortal.VolumeUp()</Action> 
  </Macro>
- <Macro Name="Volume Down">
  <Action>MediaPortal.VolumeDown()</Action> 
  </Macro>
- <Macro Name="Mute">
  <Event Name="MceRemote.Mute" /> 
  <Action>MediaPortal.Mute()</Action> 
  </Macro>
- <Macro Name="Channel Up">
  <Event Name="MceRemote.ChannelUp" /> 
  <Action>MediaPortal.ChannelUp()</Action> 
  </Macro>
- <Macro Name="Channel Down">
  <Event Name="MceRemote.ChannelDown" /> 
  <Action>MediaPortal.ChannelDown()</Action> 
  </Macro>
- <Macro Name="Forward">
  <Event Name="MceRemote.Forward" /> 
  <Action>MediaPortal.Forward()</Action> 
  </Macro>
- <Macro Name="Rewind">
  <Event Name="MceRemote.Rewind" /> 
  <Action>MediaPortal.Rewind()</Action> 
  </Macro>
- <Macro Name="Play">
  <Event Name="MceRemote.Play" /> 
  <Action>MediaPortal.Play()</Action> 
  </Macro>
- <Macro Name="Record">
  <Event Name="MceRemote.Record" /> 
  <Action>MediaPortal.Record()</Action> 
  </Macro>
- <Macro Name="Pause">
  <Event Name="MceRemote.Pause" /> 
  <Action>MediaPortal.Pause()</Action> 
  </Macro>
- <Macro Name="Stop">
  <Event Name="MceRemote.Stop" /> 
  <Action>MediaPortal.Stop()</Action> 
  </Macro>
- <Macro Name="Skip">
  <Event Name="MceRemote.Skip" /> 
  <Action>MediaPortal.Skip()</Action> 
  </Macro>
- <Macro Name="Replay">
  <Event Name="MceRemote.Replay" /> 
  <Action>MediaPortal.Replay()</Action> 
  </Macro>
- <Macro Name="OemGate">
  <Action>MediaPortal.OemGate()</Action> 
  </Macro>
- <Macro Name="Oem8">
  <Action>MediaPortal.Oem8()</Action> 
  </Macro>
- <Macro Name="DVDMenu">
  <Action>MediaPortal.DVDMenu()</Action> 
  </Macro>
- <Macro Name="LiveTV">
  <Event Name="MceRemote.LiveTV" /> 
  <Action>MediaPortal.LiveTV()</Action> 
  </Macro>
- <Macro Name="Guide">
  <Event Name="MceRemote.Guide" /> 
  <Action>MediaPortal.Guide()</Action> 
  </Macro>
- <Macro Name="AspectRatio" Expanded="True">
  <Event Name="MceRemote.Details" /> 
  <Action>MediaPortal.AspectRatio()</Action> 
  </Macro>
- <Macro Name="MyTV">
  <Action>MediaPortal.MyTV()</Action> 
  </Macro>
- <Macro Name="MyMusic">
  <Action>MediaPortal.MyMusic()</Action> 
  </Macro>
- <Macro Name="RecordedTV">
  <Event Name="MceRemote.Recorded_TV" /> 
  <Action>MediaPortal.RecordedTV()</Action> 
  </Macro>
- <Macro Name="MyPictures">
  <Action>MediaPortal.MyPictures()</Action> 
  </Macro>
- <Macro Name="MyVideos">
  <Action>MediaPortal.MyVideos()</Action> 
  </Macro>
- <Macro Name="Print">
  <Action>MediaPortal.Print()</Action> 
  </Macro>
- <Macro Name="MyRadio">
  <Action>MediaPortal.MyRadio()</Action> 
  </Macro>
- <Macro Name="Teletext">
  <Action>MediaPortal.Teletext()</Action> 
  </Macro>
- <Macro Name="Red">
  <Action>MediaPortal.Red()</Action> 
  </Macro>
- <Macro Name="Green">
  <Action>MediaPortal.Green()</Action> 
  </Macro>
- <Macro Name="Yellow">
  <Action>MediaPortal.Yellow()</Action> 
  </Macro>
- <Macro Name="Blue">
  <Action>MediaPortal.Blue()</Action> 
  </Macro>
- <Macro Name="PowerTV">
  <Action>MediaPortal.PowerTV()</Action> 
  </Macro>
- <Macro Name="Messenger">
  <Action>MediaPortal.Messenger()</Action> 
  </Macro>
  </Folder>
- <Folder Name="KMPlayer" Expanded="True">
- <Folder Name="Settings" Expanded="True">
- <Macro Name="KMPlayer: RootMenu">
  <Event Name="MceRemote.DVDMenu" /> 
  <Action>KMPlayer.RootMenu()</Action> 
  </Macro>
- <Macro Name="KMPlayer: PrevChapter">
  <Event Name="MceRemote.Replay" /> 
  <Action>KMPlayer.PrevChapter()</Action> 
  </Macro>
- <Macro Name="KMPlayer: NextChapter">
  <Event Name="MceRemote.Skip" /> 
  <Action>KMPlayer.NextChapter()</Action> 
  </Macro>
- <Macro Name="KMPlayer: Backward2">
  <Event Name="MceRemote.Rewind" /> 
  <Action>KMPlayer.Backward2()</Action> 
  </Macro>
- <Macro Name="KMPlayer: Forward2">
  <Event Name="MceRemote.Forward" /> 
  <Action>KMPlayer.Forward2()</Action> 
  </Macro>
- <Macro Name="KMPlayer: CycleRatio">
  <Event Name="MceRemote.Details" /> 
  <Action>KMPlayer.CycleRatio()</Action> 
  </Macro>
- <Macro Name="KMPlayer: Stop">
  <Event Name="MceRemote.Stop" /> 
  <Action>KMPlayer.Stop()</Action> 
  </Macro>
- <Macro Name="KMPlayer: PausePlay">
  <Event Name="MceRemote.Pause" /> 
  <Action>KMPlayer.PausePlay()</Action> 
  </Macro>
- <Macro Name="KMPlayer: PlayPause">
  <Event Name="MceRemote.Play" /> 
  <Action>KMPlayer.PlayPause()</Action> 
  </Macro>
- <Macro Name="KMPlayer: LanguageMenu">
  <Event Name="MceRemote.Blue" /> 
  <Action>KMPlayer.LanguageMenu()</Action> 
  </Macro>
- <Macro Name="KMPlayer: Exit">
  <Event Name="MceRemote.Power" /> 
  <Action>KMPlayer.Exit()</Action> 
  </Macro>
  </Folder>
  </Folder>
- <Folder Name="CyberLink PowerDVD">
- <Macro Name="Play">
  <Action>PowerDvd.Play()</Action> 
  </Macro>
- <Macro Name="Pause">
  <Action>PowerDvd.Pause()</Action> 
  </Macro>
- <Macro Name="Stop">
  <Action>PowerDvd.Stop()</Action> 
  </Macro>
- <Macro Name="Menu">
  <Action>PowerDvd.Menu()</Action> 
  </Macro>
- <Macro Name="Previous chapter">
  <Action>PowerDvd.PreviousChapter()</Action> 
  </Macro>
- <Macro Name="Next chapter">
  <Action>PowerDvd.NextChapter()</Action> 
  </Macro>
- <Macro Name="Step backward">
  <Action>PowerDvd.StepBackward()</Action> 
  </Macro>
- <Macro Name="Step forward">
  <Action>PowerDvd.StepForward()</Action> 
  </Macro>
- <Macro Name="Toggle fullscreen">
  <Action>PowerDvd.ToggleFullscreen()</Action> 
  </Macro>
- <Macro Name="Toggle mute">
  <Action>PowerDvd.ToggleMute()</Action> 
  </Macro>
- <Macro Name="Volume up">
  <Action>PowerDvd.VolumeUp()</Action> 
  </Macro>
- <Macro Name="Volume down">
  <Action>PowerDvd.VolumeDown()</Action> 
  </Macro>
- <Macro Name="Next audio stream">
  <Action>PowerDvd.NextAudioStream()</Action> 
  </Macro>
- <Macro Name="Next subtitle">
  <Action>PowerDvd.NextSubtitle()</Action> 
  </Macro>
- <Macro Name="Next angel">
  <Action>PowerDvd.NextAngel()</Action> 
  </Macro>
- <Macro Name="Say-It-Again">
  <Action>PowerDvd.SayItAgain()</Action> 
  </Macro>
- <Macro Name="See-It-All">
  <Action>PowerDvd.SeeItAll()</Action> 
  </Macro>
- <Macro Name="Capture frame">
  <Action>PowerDvd.CaptureFrame()</Action> 
  </Macro>
- <Macro Name="Navigation Up">
  <Action>PowerDvd.NavigationUp()</Action> 
  </Macro>
- <Macro Name="Navigation Down">
  <Action>PowerDvd.NavigationDown()</Action> 
  </Macro>
- <Macro Name="Navigation Left">
  <Action>PowerDvd.NavigationLeft()</Action> 
  </Macro>
- <Macro Name="Navigation Right">
  <Action>PowerDvd.NavigationRight()</Action> 
  </Macro>
- <Macro Name="Navigation Enter">
  <Action>PowerDvd.NavigationEnter()</Action> 
  </Macro>
  </Folder>
- <Folder Name="Media Player Classic">
- <Folder Name="Main controls" Expanded="True">
- <Macro Name="Media Player Classic: Play/Pause">
  <Event Name="MceRemote.Pause" /> 
  <Action>MediaPlayerClassic.PlayPause()</Action> 
  </Macro>
- <Macro Name="Media Player Classic: Play">
  <Event Name="MceRemote.Play" /> 
  <Action>MediaPlayerClassic.Play()</Action> 
  </Macro>
- <Macro Name="Media Player Classic: Stop">
  <Event Name="MceRemote.Stop" /> 
  <Action>MediaPlayerClassic.Stop()</Action> 
  </Macro>
- <Macro Name="Media Player Classic: Jump Backward Large">
  <Event Name="MceRemote.Rewind" /> 
  <Action>MediaPlayerClassic.JumpBackwardLarge()</Action> 
  </Macro>
- <Macro Name="Media Player Classic: Jump Forward Large">
  <Event Name="MceRemote.Forward" /> 
  <Action>MediaPlayerClassic.JumpForwardLarge()</Action> 
  </Macro>
- <Macro Name="Media Player Classic: Next">
  <Event Name="MceRemote.Skip" /> 
  <Action>MediaPlayerClassic.Next()</Action> 
  </Macro>
- <Macro Name="Media Player Classic: Previous">
  <Event Name="MceRemote.Replay" /> 
  <Action>MediaPlayerClassic.Previous()</Action> 
  </Macro>
- <Macro Name="Media Player Classic: DVD Root Menu" Expanded="True">
  <Event Name="MceRemote.DVDMenu" /> 
  <Action>MediaPlayerClassic.DVDRootMenu()</Action> 
  </Macro>
- <Macro Name="Media Player Classic: DVD On/Off Subtitle">
  <Event Name="MceRemote.Blue" /> 
  <Action>MediaPlayerClassic.DVDOnOffSubtitle()</Action> 
  </Macro>
- <Macro Name="Media Player Classic: Quit Application">
  <Event Name="MceRemote.Power" /> 
  <Action>MediaPlayerClassic.Exit()</Action> 
  </Macro>
  </Folder>
  </Folder>
  </EventGhost>
 
Soldato
OP
Joined
7 Nov 2006
Posts
5,677
Location
Stockton on Tees
one final one, remember to install the message plugin inside mediaportal!

Installation
-------------------
Place MessagePlugin.dll in the MediaPortal\Plugins\Process\ folder.
Place MessagePlugin.xml in the MediaPortal\InputDeviceMappings\Defaults\ folder.
Import MessagePlugin.hip into HIP.
Configure MediaPortal.
- Disable any remote plugins.
- Enable and configure MessagePlugin.


Does the hip file go into EventGhost's directory?
Do i just bin the other files in that zip (.cs, csproj, .cs files)

I use LMRemote at the moment to map my "Green Button". Im assuming i can just get rid of that now and let EventGhost handle that for me...???
 
Last edited:
Soldato
Joined
7 Jan 2007
Posts
10,607
Location
Sussex, UK
So have you got it all done now mate?
KMP and WMPC working fine in MP and respond to the MCE remote and all the functions that we have when using MP's built in rubbish player??

yep :). not tried WMPC as it weas crashing today for some reason. I think kmplayer is better after looking at them closely today. Kmplayer responds better to FFW and RW commands.

EDIT: oh yeh nd kmplayer has a nice "cycle all aspect ratio" button
 
Soldato
OP
Joined
7 Nov 2006
Posts
5,677
Location
Stockton on Tees
yep :). not tried WMPC as it weas crashing today for some reason. I think kmplayer is better after looking at them closely today. Kmplayer responds better to FFW and RW commands.

EDIT: oh yeh nd kmplayer has a nice "cycle all aspect ratio" button

Excellent work my friend!
Looks like MediaPortal is here to stay after all.
 
Soldato
OP
Joined
7 Nov 2006
Posts
5,677
Location
Stockton on Tees
Heres the error report also:

Traceback (most recent call last):
File "EventGhost.pyw", line 34, in <module>
File "C:\Program Files\EventGhost\eg\__init__.py", line 23, in <module>
import Cli
File "C:\Program Files\EventGhost\eg\Cli.py", line 131, in <module>
e.BringToFront()
File "<COMObject {7EB106DC-468D-4345-9CFE-B0021039114B}>", line 2, in BringToFront
pywintypes.com_error: (-2147352567, 'Exception occurred.', (0, u'Python COM Server Internal Error', u"Unexpected Python Error: <class 'wx._core.PyDeadObjectError'>: The C++ part of the MainFrame object has been deleted, attribute access no longer allowed.", None, 0, -2147467259), None)
Traceback (most recent call last):
File "EventGhost.pyw", line 34, in <module>
File "C:\Program Files\EventGhost\eg\__init__.py", line 1, in <module>
eg.RegisterPlugin(
NameError: name 'eg' is not defined
Traceback (most recent call last):
File "EventGhost.pyw", line 34, in <module>
File "C:\Program Files\EventGhost\eg\__init__.py", line 1, in <module>
eg.RegisterPlugin(
NameError: name 'eg' is not defined
Traceback (most recent call last):
File "EventGhost.pyw", line 34, in <module>
File "C:\Program Files\EventGhost\eg\__init__.py", line 1, in <module>
eg.RegisterPlugin(
NameError: name 'eg' is not defined
 
Soldato
Joined
3 Mar 2006
Posts
3,233
Location
Atcham, Shropshire
didn't want to create a thread about this and its htpc related i suppose so here goes,

my kids watch their films on the tv (secondary display) that are played from my pc using MPC with FFDshow, while they are watching their films i want to be able to play games.

when i try and run a game i the tv will go black and no picture is displayed, i figured it out once before but have forgotton now. what settings are needed so i can game and have a film on the tv at the same time?
 
Soldato
Joined
7 Jan 2007
Posts
10,607
Location
Sussex, UK
didn't want to create a thread about this and its htpc related i suppose so here goes,

my kids watch their films on the tv (secondary display) that are played from my pc using MPC with FFDshow, while they are watching their films i want to be able to play games.

when i try and run a game i the tv will go black and no picture is displayed, i figured it out once before but have forgotton now. what settings are needed so i can game and have a film on the tv at the same time?

in my nvidia settings go > display > setup multiple displays > check dualview.

job done
 
Associate
Joined
1 Feb 2006
Posts
1,868
Location
Reading
Hopefully someone in here can offer some advice using mptv-series.

I can't get it to parse anything,

My format is:

Tv Shows\<series name>\Season <#>\<#> - <title>.avi

(# being season and episode numbers respectively)

I have a single parse expression:

\<series>\Season <season>\<episode> - <title>.<ext>

Parsing however fails on every single file, what's going on? it's a pretty straight forward format.
 
Back
Top Bottom