Media Player Classic

Questions and comments specific to a particular plugin should go here.

Re: Media Player Classic

Postby molitar » Fri Jan 20, 2012 3:08 pm

Pako,

How do you caputure the Send User Message in Eventghost so you know what the message is? I remember doing this with uICE before I found EventGhost and started using EventGhost.
molitar
Experienced User
 
Posts: 149
Joined: Fri Sep 11, 2009 6:44 am

Re: Media Player Classic

Postby Pako » Fri Jan 20, 2012 3:39 pm

I usually use application WinspectorU, but in the case of MPC-HC I do it differently. I use EG and modified plugin MPC-HC:
MPC-HC_id_getting.png
MPC-HC_id_getting.png (6.56 KiB) Viewed 1366 times
Then I just use the action Show MPC menu, go to the desired menu item and confirm it ...

Pako
User avatar
Pako
Plugin Developer
 
Posts: 1282
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic

Re: Media Player Classic

Postby molitar » Fri Jan 20, 2012 4:08 pm

Thanks Pako.. Hmm is their a tutorial for WinspectorU? I checking it out but I am not getting send message just windows being destroyed and created. the links to the How To do not seem to open either. Usually most of these types of programs are pretty self explanatory but this one does not seem to be so.
molitar
Experienced User
 
Posts: 149
Joined: Fri Sep 11, 2009 6:44 am

Re: Media Player Classic

Postby Pako » Sat Jan 21, 2012 5:47 am

molitar wrote:Hmm is their a tutorial for WinspectorU?
Unfortunately, I do not know any tutorial.
I learned it myself.
But I am not able to write a tutorial, because I do not speak English.
I have to translate each sentence using a translator and the result still inspect and modify.

Pako
User avatar
Pako
Plugin Developer
 
Posts: 1282
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic

Re: Media Player Classic

Postby molitar » Sat Jan 21, 2012 6:14 am

Thanks I found one online which showed me how to filter my wm_commands.
molitar
Experienced User
 
Posts: 149
Joined: Fri Sep 11, 2009 6:44 am

Re: Media Player Classic

Postby molitar » Wed May 16, 2012 6:47 pm

Pako,

I have a question for you.. the command for the default subtitle toggle is MediaPlayerClassic.UserMessage(u'2304') but is it possible to check status and display it by OSD? I want to know when I toggle for it to show a message like Default Subtitles Enabled or Default Subtitles Disabled. So is it possible to check the status of the default subtitles if it's enabled or disabled?
molitar
Experienced User
 
Posts: 149
Joined: Fri Sep 11, 2009 6:44 am

Re: Media Player Classic

Postby molitar » Thu Jun 07, 2012 1:03 pm

Can someone please check out this plugin in the latest eventghost? I am getting events being called when the remote is no way pointing at the IR receiver as if a button is being pressed on my Logitech Harmony Remote and it gets stuck in an infinite loop repeating itself. I woke up this morning when I had the remote facing away from the infrared receiver in back of the receiver so no stray signal could hit it and woke up with it giving me the message application could not be found and it stuck trying to do an endless jump command that it was basically locked up. Either EventGhost with the latest one is picking up bad Event Commands or most likely it's the plugin itself since it's the MPC plugin that is active. Maybe some idle command or something is triggering the EventGhost MPC plugin.

Think I traced this to a problem with the latest EventGhost r1568. I went back to r1544 and so far it's been behaving normally but have only used this fix about an hour now but so far so good.
molitar
Experienced User
 
Posts: 149
Joined: Fri Sep 11, 2009 6:44 am

Re: Media Player Classic

Postby nonob » Fri Jul 27, 2012 8:04 pm

Hi, i think i have the same pb:

I have an event affected to the "next audio" action with Media player classic home cinema plugin.
While playling a mkv file with multiple audio and subtitles, when i push the red button on my remote, the event is displayed two times in EG log, so the action is sent two time too.
It isn't a remote pb because if i disable the entire 'next audio" macro, i don't have the event dubbed anymore..

On this screen, i push my remote button one time only :

Image

I'm on windows XPSP3, i use 1.6.2.4902 mpchc version with haali splitter, evenghost 0.4.1.15.72 (same pb with 1568)

I have the same pb with the "next subtitle" action.

Thanks for your help..
Last edited by nonob on Sat Jul 28, 2012 10:54 am, edited 1 time in total.
nonob
 
Posts: 44
Joined: Tue Dec 06, 2011 6:52 am

Re: New key IDs

Postby nonob » Fri Jul 27, 2012 8:19 pm

Another thing, can this code modification could be modified in original plugin, cause i have to reapply it each time the plugin is released:
Thanks

Jto wrote:Hey guys! Since a couple of actions stopped working with newer versions of MPC-HC (e.g. next/prev. subtitle track) I invested some time to figure out that some key IDs had changed. I edited them - and the actions work again - but I have no clue about python, so I can't tell if any further edits are necessary. Also, I commented out actions which I couldn't find in MPC-HC, ergo new ID unknown. There may also be new actions in the software, I just looked for the ones listed in the python file.
Here are the new action IDs for MPC-HC 1.5.2.3456 (__init__.py).

Code: Select all
ACTIONS = (
(eg.ActionGroup, 'GroupMainControls', 'Main controls', None, (
    ('Exit', 'Quit Application', None, 816),
    ('PlayPause', 'Play/Pause', None, 889),
    ('Play', 'Play', None, 887),
    ('Pause', 'Pause', None, 888),
    ('Stop', 'Stop', None, 890),
    ('JumpForwardSmall', 'Jump Forward Small', None, 900),
    ('JumpBackwardSmall', 'Jump Backward Small', None, 899),
    ('JumpForwardMedium', 'Jump Forward Medium', None, 902),
    ('JumpBackwardMedium', 'Jump Backward Medium', None, 901),
    ('JumpForwardLarge', 'Jump Forward Large', None, 904),
    ('JumpBackwardLarge', 'Jump Backward Large', None, 903),
    ('JumpForwardKeyframe', 'Jump Forward Keyframe', None, 898),
    ('JumpBackwardKeyframe', 'Jump Backward Keyframe', None, 897),
    ('IncreaseRate', 'Increase Rate', None, 895),
    ('DecreaseRate', 'Decrease Rate', None, 894),
    ('ResetRate', 'Reset Rate', None, 896),
    ('VolumeUp', 'Volume Up', None, 907),
    ('VolumeDown', 'Volume Down', None, 908),
    ('VolumeMute', 'Volume Mute', None, 909),
    ('BossKey', 'Boss Key', None, 944),
    ('Next', 'Next', None, 922),
    ('Previous', 'Previous', None, 921),
    ('NextPlaylistItem', 'Next File', None, 920),
    ('PreviousPlaylistItem', 'Previous File', None, 919),
    ('OpenFile', 'Open File', None, 800),
    ('OpenDVD', 'Open DVD', None, 801),
    ('QuickOpen', 'Quick Open File', None, 969),
    #('OpenDirectory', 'Open Directory', None, 33208),#not found
    ('FrameStep', 'Frame Step', None, 891),
    ('FrameStepBack', 'Frame Step Back', None, 892),
    ('GoTo', 'Go To', None, 893),
    ('AudioDelayAdd10ms', 'Audio Delay +10ms', None, 905),
    ('AudioDelaySub10ms', 'Audio Delay -10ms', None, 906),
)),
(eg.ActionGroup, 'GroupViewModes', 'View modes', None, (
    ('Fullscreen', 'Fullscreen', None, 830),
    ('FullscreenWOR', 'Fullscreen without resolution change', None, 831),
    ('PnSIncSize', 'Pan & Scan Increase Size', None, 862),
    ('PnSDecSize', 'Pan & Scan Decrease Size', None, 863),
    #('PnSTo169', 'Pan & Scan Scale to 16:9', None, 4100),#not found
    #('PnSToWidescreen', 'Pan & Scan to Widescreen', None, 4101),#not found
    #('PnSToUltraWidescreen', 'Pan & Scan to Ultra-Widescreen', None, 4102),#not found
    ('ViewMinimal', 'View Minimal', None, 827),
    ('ViewCompact', 'View Compact', None, 828),
    ('ViewNormal', 'View Normal', None, 829),
    ('AlwaysOnTop', 'Always On Top', None, 884),
    ('Zoom50', 'Zoom 50%', None, 832),
    ('Zoom100', 'Zoom 100%', None, 833),
    ('Zoom200', 'Zoom 200%', None, 834),
    ('VidFrmHalf', 'Video Frame Half', None, 835),
    ('VidFrmNormal', 'Video Frame Normal', None, 836),
    ('VidFrmDouble', 'Video Frame Double', None, 837),
    ('VidFrmStretch', 'Video Frame Stretch', None, 838),
    ('VidFrmInside', 'Video Frame Inside', None, 839),
    ('VidFrmOutside', 'Video Frame Outside', None, 840),
    ('PnSReset', 'Pan & Scan Reset', None, 861),
    ('PnSIncWidth', 'Pan & Scan Increase Width', None, 864),
    ('PnSIncHeight', 'Pan & Scan Increase Height', None, 866),
    ('PnSDecWidth', 'Pan & Scan Decrease Width', None, 865),
    ('PnSDecHeight', 'Pan & Scan Decrease Height', None, 867),
    ('PnSCenter', 'Pan & Scan Center', None, 876),
    ('PnSLeft', 'Pan & Scan Left', None, 868),
    ('PnSRight', 'Pan & Scan Right', None, 869),
    ('PnSUp', 'Pan & Scan Up', None, 870),
    ('PnSDown', 'Pan & Scan Down', None, 871),
    ('PnSUpLeft', 'Pan & Scan Up/Left', None, 872),
    ('PnSUpRight', 'Pan & Scan Up/Right', None, 873),
    ('PnSDownLeft', 'Pan & Scan Down/Left', None, 874),
    ('PnSDownRight', 'Pan & Scan Down/Right', None, 875),
    ('PnSRotateAddX', 'Pan & Scan Rotate X+', None, 877),
    ('PnSRotateSubX', 'Pan & Scan Rotate X-', None, 878),
    ('PnSRotateAddY', 'Pan & Scan Rotate Y+', None, 879),
    ('PnsRotateSubY', 'Pan & Scan Rotate Y-', None, 880),
    ('PnSRotateAddZ', 'Pan & Scan Rotate Z+', None, 881),
    ('PnSRotateSubZ', 'Pan & Scan Rotate Z-', None, 882),
)),
(eg.ActionGroup, 'GroupDvdControls', 'DVD controls', None, (
    ('DVDTitleMenu', 'DVD Title Menu', None, 923),
    ('DVDRootMenu', 'DVD Root Menu', None, 924),
    ('DVDSubtitleMenu', 'DVD Subtitle Menu', None, 925),
    ('DVDAudioMenu', 'DVD Audio Menu', None, 926),
    ('DVDAngleMenu', 'DVD Angle Menu', None, 927),
    ('DVDChapterMenu', 'DVD Chapter Menu', None, 928),
    ('DVDMenuLeft', 'DVD Menu Left', None, 929),
    ('DVDMenuRight', 'DVD Menu Right', None, 930),
    ('DVDMenuUp', 'DVD Menu Up', None, 931),
    ('DVDMenuDown', 'DVD Menu Down', None, 932),
    ('DVDMenuActivate', 'DVD Menu Activate', None, 933),
    ('DVDMenuBack', 'DVD Menu Back', None, 934),
    ('DVDMenuLeave', 'DVD Menu Leave', None, 935),
    ('DVDNextAngle', 'DVD Next Angle', None, 961),
    ('DVDPrevAngle', 'DVD Previous Angle', None, 962),
    ('DVDNextAudio', 'DVD Next Audio', None, 963),
    ('DVDPrevAudio', 'DVD Prev Audio', None, 964),
    ('DVDNextSubtitle', 'DVD Next Subtitle', None, 965),
    ('DVDPrevSubtitle', 'DVD Prev Subtitle', None, 966),
    ('DVDOnOffSubtitle', 'DVD On/Off Subtitle', None, 967),
)),
(eg.ActionGroup, 'GroupExtendedControls', 'Extended controls', None, (
    ('OpenDevice', 'Open Device', None, 802),
    ('SaveAs', 'Save As', None, 805),
    ('SaveImage', 'Save Image', None, 806),
    ('SaveImageAuto', 'Save Image Auto', None, 807),
    ('LoadSubTitle', 'Load Subtitle', None, 809),
    ('SaveSubtitle', 'Save Subtitle', None, 810),
    ('Close', 'Close File', None, 804),
    ('Properties', 'Properties', None, 814),
    ('PlayerMenuShort', 'Player Menu Short', None, 949),
    ('PlayerMenuLong', 'Player Menu Long', None, 950),
    ('FiltersMenu', 'Filters Menu', None, 951),
    ('Options', 'Options', None, 815),
    ('NextAudio', 'Next Audio', None, 952),
    ('PrevAudio', 'Previous Audio', None, 953),
    ('NextSubtitle', 'Next Subtitle', None, 954),
    ('PrevSubtitle', 'Prev Subtitle', None, 955),
    ('OnOffSubtitle', 'On/Off Subtitle', None, 956),
    ('ReloadSubtitles', 'Reload Subtitles', None, 2302),
    ('NextAudioOGM', 'Next Audio OGM', None, 957),
    ('PrevAudioOGM', 'Previous Audio OGM', None, 958),
    ('NextSubtitleOGM', 'Next Subtitle OGM', None, 959),
    ('PrevSubtitleOGM', 'Previous Subtitle OGM', None, 960),
)),
(eg.ActionGroup, 'GroupToggleControls', 'Toggle player controls', None, (
    ('ToggleCaptionMenu', 'Toggle Caption Menu', None, 817),
    ('ToggleSeeker', 'Toggle Seeker', None, 818),
    ('ToggleControls', 'Toggle Controls', None, 819),
    ('ToggleInformation', 'Toggle Information', None, 820),
    ('ToggleStatistics', 'Toggle Statistics', None, 821),
    ('ToggleStatus', 'Toggle Status', None, 822),
    ('ToggleSubresyncBar', 'Toggle Subresync Bar', None, 823),
    ('TogglePlaylistBar', 'Toggle Playlist Bar', None, 824),
    ('ToggleCaptureBar', 'Toggle Capture Bar', None, 825),
    ('ToggleShaderEditorBar', 'Toggle Shader Editor Bar', None, 826),
    #('ToggleElapsedTime', 'Toggle OSD Elapsed Time', None, 32778),#not found
)),
)
nonob
 
Posts: 44
Joined: Tue Dec 06, 2011 6:52 am

Re: Media Player Classic

Postby liggers » Sun Feb 03, 2013 11:05 pm

MPC-HC.1.6.5.6366.x86
EventGhost_0.4.1.r1580

Hi everyone!

I stumbled upon a problem just after upgrading from EventGhost_0.4.1.r1572. The problem started appearing in r1580.
If i activate the Media Player Classic Plugin and i open a video file with MPC, an additional empty MPC window is opened.
eventghost_r1580_mpc-hc_bug.PNG

This doesn't happen if the MPC-plugin is disabled.

I hope someone can spot and fix this issue.

Thank you!
liggers
 
Posts: 4
Joined: Sun Feb 03, 2013 10:50 pm

Re: Media Player Classic

Postby Pako » Thu Feb 07, 2013 12:36 pm

liggers wrote:Hi everyoneI stumbled upon a problem just after upgrading from EventGhost_0.4.1.r1572. The problem started appearing in r1580.
If i activate the Media Player Classic Plugin and i open a video file with MPC, an additional empty MPC window is opened.
1. Can you please write the exact steps that leads to the described behavior?
2. Can you please try the latest beta MPC-HC (1.6.6.6723 now) ?

Pako
User avatar
Pako
Plugin Developer
 
Posts: 1282
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic

Re: Media Player Classic

Postby nonob » Thu Feb 07, 2013 12:43 pm

Hi Paco :)

Did you had a look to my two last posts ?

Thanks
nonob
 
Posts: 44
Joined: Tue Dec 06, 2011 6:52 am

Re: Media Player Classic

Postby Pako » Thu Feb 07, 2013 12:55 pm

nonob wrote:I have an event affected to the "next audio" action with Media player classic home cinema plugin.
While playling a mkv file with multiple audio and subtitles, when i push the red button on my remote, the event is displayed two times in EG log, so the action is sent two time too.
It isn't a remote pb because if i disable the entire 'next audio" macro, i don't have the event dubbed anymore..
This I will have to try when I get home.
nonob wrote:Another thing, can this code modification could be modified in original plugin, cause i have to reapply it each time the plugin is released:
I think this is already a long time in order. Can you please verify?

Pako
User avatar
Pako
Plugin Developer
 
Posts: 1282
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic

Re: Media Player Classic

Postby nonob » Thu Feb 07, 2013 1:29 pm

nonob wrote:I have an event affected to the "next audio" action with Media player classic home cinema plugin.
While playling a mkv file with multiple audio and subtitles, when i push the red button on my remote, the event is displayed two times in EG log, so the action is sent two time too.
It isn't a remote pb because if i disable the entire 'next audio" macro, i don't have the event dubbed anymore..

This I will have to try when I get home.


Thanks :)

nonob wrote:Another thing, can this code modification could be modified in original plugin, cause i have to reapply it each time the plugin is released:

I think this is already a long time in order. Can you please verify?


This is my evenghost version: 0.4.1.r1572.
For try, do i just have to update evenghost to the last version ? (is mpchc plugin would be updated too ?)
or can i download you plugin separatly ?
nonob
 
Posts: 44
Joined: Tue Dec 06, 2011 6:52 am

Re: Media Player Classic

Postby Pako » Thu Feb 07, 2013 1:36 pm

nonob wrote:This is my evenghost version: 0.4.1.r1572.
For try, do i just have to update evenghost to the last version ? (is mpchc plugin would be updated too ?)
or can i download you plugin separatly ?
I'm of course thinking of the latest version of EG, which contains the latest version of the plugin.
Can you please try the problem with the double event as well?

Pako
User avatar
Pako
Plugin Developer
 
Posts: 1282
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic

PreviousNext

Return to Plugin Support

Who is online

Users browsing this forum: No registered users and 0 guests