Mapping MCE Remote Buttons

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
luke823
Blank Cone
Blank Cone
Posts: 18
Joined: 16 May 2012 04:49

Mapping MCE Remote Buttons

Postby luke823 » 17 May 2012 20:08

Hi there,
I'm trying to use hotkeys to setup mce remote buttons.

This is working great for most of them. I'm able to map skip forward/back to next/previous chapter, stop to stop, etc.

There are a few buttons that VLC seems to not want to respond to. For instance, I want to map the ff/rew buttons on the remote to short jump forward/backwards. But when I try to do this in hotkey settings, VLC never responds to the remote button press and thus I'm not able to map it. There are a few other keys like this too, media info for example.

Is this intentional?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Mapping MCE Remote Buttons

Postby Jean-Baptiste Kempf » 21 May 2012 18:48

No. probably a bug. Can you list the ones that works and the ones that do not?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

luke823
Blank Cone
Blank Cone
Posts: 18
Joined: 16 May 2012 04:49

Re: Mapping MCE Remote Buttons

Postby luke823 » 24 May 2012 03:40

They all pretty much work but the ones that don't are important.

What does not work (meaning you cannot assign them as hot keys to VLC functions)

FF/Rew
Info
Menu - This pops open WMC, but when VLC is open it would be nice to reassign it.
Guide - Same as above. Opens WMC guide.
Channel Up/Down - VLC seems to reserve this to go back and forth between tracks in the playlist. (Which is fine with me I'm just noting this).

Note the difference between ff/rew and skip forward/back. The skip buttons do work.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Mapping MCE Remote Buttons

Postby Jean-Baptiste Kempf » 24 May 2012 18:38

Can you give us a picture of your remote?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

luke823
Blank Cone
Blank Cone
Posts: 18
Joined: 16 May 2012 04:49

Re: Mapping MCE Remote Buttons

Postby luke823 » 24 May 2012 21:44

http://www.newegg.com/Product/Product.a ... 6880101007

I know why it's not working. I'm a developer for MediaBrowser (trying to integrate VLC). I've been working on my own input monitoring for MB.

You are listening to keyboard input, which most commands on the remote will map to, so for the most part it works. Some of them however, are not keys, they are AppCommands (FF, Rew, Info, and some others).

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Mapping MCE Remote Buttons

Postby Jean-Baptiste Kempf » 24 May 2012 22:08

http://git.videolan.org/?p=vlc.git;a=bl ... b=HEAD#l33

Some are not handled in the switch :)
We do not really have a backward action, but we have a slower. Else, we could skip back 10seconds or so, but people would need to keep it pressed.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

luke823
Blank Cone
Blank Cone
Posts: 18
Joined: 16 May 2012 04:49

Re: Mapping MCE Remote Buttons

Postby luke823 » 24 May 2012 22:15

What are your thoughts then? Can ff and rew be added?

Some of the others would nice too, particularly Info, but those are really the big two.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Mapping MCE Remote Buttons

Postby Jean-Baptiste Kempf » 24 May 2012 22:17

http://pastie.org/3962762

What would info map to?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Mapping MCE Remote Buttons

Postby Jean-Baptiste Kempf » 24 May 2012 22:18

If we want to have fast_forward and fast_rewind actions when buttons are pressed, then we should map those to skip 10sec back or fwd.
Else, we can map it to faster/slower, like I did.

For info, no clue what it should do.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

luke823
Blank Cone
Blank Cone
Posts: 18
Joined: 16 May 2012 04:49

Re: Mapping MCE Remote Buttons

Postby luke823 » 24 May 2012 22:23

Exactly.

I don't care so much what the default functionality is, as long as they can be assigned as hotkeys, both in the settings UI and on the command line.

What I'm hoping to achieve for MB users is to set it all up for them on the command line, which I am already doing as best i can. What I would like to have is:

FF/Rew - Skip forward back 10 seconds like you suggest
Skip Forward/Back - Next/prev chapters
Channel Up/Down - Next/prev file in playlist.

This is also why I asked a couple weeks ago if View -> Fullscreen Interface is available on the command line. That's actually the only setting users have to configure manually. Still a lot better than the other players though.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Mapping MCE Remote Buttons

Postby Jean-Baptiste Kempf » 24 May 2012 22:26

they cannot be assigned. Or else, I do not understand what you mean.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

luke823
Blank Cone
Blank Cone
Posts: 18
Joined: 16 May 2012 04:49

Re: Mapping MCE Remote Buttons

Postby luke823 » 24 May 2012 22:29

Well I can go into hotkeys and re-assign skip forward/back on the remote to anything I want.

And I am doing that on the command line to re-assign the buttons to next/previous chapter. And it works. So why wouldn't that be possible for the ff/rew buttons?

Well even if you don't make them re-assignable, having them jump forward and back 10 seconds is better than the button not doing anything at all.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Mapping MCE Remote Buttons

Postby Jean-Baptiste Kempf » 24 May 2012 22:35

Well, you can reassign the normal VLC hotkeys, not the remote ones.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

luke823
Blank Cone
Blank Cone
Posts: 18
Joined: 16 May 2012 04:49

Re: Mapping MCE Remote Buttons

Postby luke823 » 24 May 2012 22:44

Actually most of them I can re-assign, and I am currently doing so for the ones I mentioned.

Well as for ff/rew as long as the buttons do something I think that's fine.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Mapping MCE Remote Buttons

Postby Jean-Baptiste Kempf » 25 May 2012 01:12

Which one is the info ? APPCOMMAND_HELP ?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

luke823
Blank Cone
Blank Cone
Posts: 18
Joined: 16 May 2012 04:49

Re: Mapping MCE Remote Buttons

Postby luke823 » 25 May 2012 04:37

I haven't implemented AppCommands yet in my own code, so I can't say for sure. But I don't see Info on this list:

http://msdn.microsoft.com/en-us/library ... s.85).aspx

It is possible that it could be Help. I'll follow up when know for sure. This shouldn't hold up ff & rew getting fixed though, right?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Mapping MCE Remote Buttons

Postby Jean-Baptiste Kempf » 25 May 2012 19:52

DONE.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

luke823
Blank Cone
Blank Cone
Posts: 18
Joined: 16 May 2012 04:49

Re: Mapping MCE Remote Buttons

Postby luke823 » 25 May 2012 23:07

Thanks!

gene_wood
New Cone
New Cone
Posts: 2
Joined: 23 May 2015 23:32

Re: Mapping MCE Remote Buttons

Postby gene_wood » 23 May 2015 23:35

I've encountered the same issue that @luke823 reported regarding being able to map the fast forward and rewind buttons to actions in VLC. I can't tell from this thread what the resolution was. Is there a way to use those buttons on a remote with VLC? Currently they map to the function of increase playback speed and decrease playback speed. I'd like to map them to what @luke823 wanted to map them to which is the skip ahead 10 seconds and skip back 10 seconds.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Mapping MCE Remote Buttons

Postby Jean-Baptiste Kempf » 16 Jul 2015 20:26

I'm not sure it was fixed, tbh.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Majestic-12 [Bot] and 20 guests