Logitech SetPoint Media Button Support [Play/Pause, Stop]

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
DJRavine
New Cone
New Cone
Posts: 3
Joined: 30 Jul 2009 10:22
VLC version: 1.0.0
Operating System: Windows Vista 64bit
Location: Brisbane, Australia
Contact:

Logitech SetPoint Media Button Support [Play/Pause, Stop]

Postby DJRavine » 30 Jul 2009 11:17

Hey All...

After a few hours of researching, all I could find was the pre VLC v1.0.0 hook code for SetPoint...
Then I found this German site with a bunch of info I couldn't read. After a few more searches I located the new wndClass, 'QWidget'...
And here is new functional code to allow support for the media buttons for Logitech SetPoint v4.60.122 [Play/Pause, Stop, Previous, Next]...
I hope this helps some one out and if this has already been posted I apologize in advance...

Code: Select all

[Players] VLC=key,vlc.exe,QWidget,VLC media player,xxx, , ,S,P,N,0,1,VLC

PS. Keep up the great work on VLC... Its one hell of a mighty media app... :D


I thought I would post my complete 'players.ini' here to help out...

Logitech SetPoint - Complete 'players.ini' with support for VLC v1.0.0...

Code: Select all

#List of supported players #{btn|key|msg|emg|cmd|wac},exeName,wndClass,wndCaption,xxx,play_delayplay,pause,stop,prev,next,remove_flags,ShowOSD,menu_item [Players] MSMedia9=wac,wmplayer.exe,WMPlayerApp,Windows Media Player,xxx,xxx,xxx,xxx,xxx,xxx,0,1,Windows Media Player 9 MSMedia7=wac,wmplayer.exe,WMP Skin Host,Windows Media Player,xxx,xxx,xxx,xxx,xxx,xxx,0,1,Windows Media Player 7 MusicMatch7=wac,MMJB.EXE,MMJB:MAINWND,xxx,xxx,xxx,xxx,xxx,xxx,xxx,0,1,MusicMatch MusicMatch=cmd,MMJB.EXE,xxx,MusicMatch Jukebox 4,xxx,0x101F4,0x18059,0x101F5,0x101F6,0x101F7,0,1,MusicMatch MDesktop=wac,MDesktop.exe,MediaDesktopClass,Media Desktop,xxx,xxx,xxx,xxx,xxx,xxx,0,1,Media Desktop PowerDVD=key,PowerDVD.exe,xxx,CyberLink PowerDVD,xxx,0x0d,0x20,S,P,N,0,1,Power DVD WinDVD=wac,WinDVD.exe,WinDVDClass,Player,xxx,xxx,xxx,xxx,xxx,xxx,0,1,Win DVD WinDVD4=key,WinDVD.exe,WinDVDClass,InterVideo WinDVD 4,xxx,0x0d,0x20,0x23,0x21,0x22,0,1,Win DVD WinDVD5=key,WinDVD.exe,WinDVDClass,InterVideo WinDVD 5,xxx,0x0d,0x20,0x23,0x21,0x22,0,1,Win DVD WinDVD6=key,WinDVD.exe,WinDVDClass,InterVideo WinDVD 6,xxx,0x0d,0x20,0x23,0x21,0x22,0,1,Win DVD WinDVD7=key,WinDVD.exe,WinDVDClass,InterVideo WinDVD 7,xxx,0x0d,0x20,0x23,0x21,0x22,0,1,Win DVD iTunes=wac,iTunes.exe,iTunes,xxx,xxx,xxx,xxx,xxx,xxx,xxx,0,1,iTunes MediaCenter=wac,ehshell.exe,eHome Render Window,xxx,xxx,xxx,xxx,xxx,xxx,xxx,0,1,Windows Media Center WinAmp3=key,studio.exe,STUDIO,xxx,xxx,X,C,V,Z,B,0,1,WinAmp 3 WinAmp3d=key,winamp3.exe,STUDIO,xxx,xxx,X,C,V,Z,B,0,1,WinAmp 3d Rhapsody=key,Rhapsody.exe,xxx,Rhapsody,xxx,^P,^P,^S,^B,^F,0,1,Rhapsody #YahooMusicEngine=key,YahooMusicEngine.exe,YMPFrame,xxx,xxx,^ ,^ ,^S,~0x25,~0x27,0,1,Yahoo! Music Jukebox YahooMusicEngine=key,YahooMusicEngine.exe,YMPFrame,xxx,xxx,^ ,^ ,^S,~0x25,~0x27,0,1,Yahoo! Music Jukebox RealOne=wac,realplay.exe,GeminiWindowClass,xxx,xxx,xxx,xxx,xxx,xxx,xxx,0,1,RealOne Player WinAmp5=cmd,winamp.exe,Winamp v1.x,xxx,xxx,40045,40046,40047,40044,40048,0,1,WinAmp 5 MediaLife=key,Medialife.exe,MediaLife Frame class,Logitech MediaLife,xxx, , ,S,P,N,0,1,MediaLife MediaLife4=wac,Medialife.exe,MediaLife Koan GDI Class,xxx,xxx,xxx,xxx,xxx,xxx,xxx,0,1,MediaLife PLAYDVD=key,PlayDVD.exe,PlayDVD Frame class,Play DVD,xxx, , ,S,P,N,0,1,PlayDVD VLC=key,vlc.exe,QWidget,VLC media player,xxx, , ,S,P,N,0,1,VLC [Players.Run] MediaCenter=path,$WINDOWS\eHome WinAmp3=reg,HKLM,SOFTWARE\Classes\Winamp3.File\DefaultIcon,,2 Rhapsody=reg,HKCR,rhap\DefaultIcon,,5 WinAmp5=reg,HKLM,SOFTWARE\Classes\Winamp.File\DefaultIcon,,2 YahooMusicEngine=reg,HKCR,TypeLib\{2C5EBFB1-9174-4FE8-88DB-D1F460A9E83B}\1.0\0\win32,, VLC=path,C:\Program Files (x86)\VideoLAN\VLC [Players.Display] MediaCenter=Windows Media Center RealOne=RealOne Player WinDVD=WinDVD WinDVD4=WinDVD4 WinDVD5=WinDVD5 WinDVD6=WinDVD6 WinDVD7=WinDVD7 MediaLife=MediaLife PLAYDVD=PlayDVD VLC=VLC #{btn|key|msg|emg|cmd|wac},start,end,repeat start,,Donot send Play appcommand at end of FastForward operation [Players.Seek] MusicMatch7=cmd,22861,xxx,1 MediaLife=wac,xxx,xxx,1,0 MediaLife4=wac,xxx,xxx,0,1 PowerDVD=wac,xxx,,0,1 MediaCenter=wac,xxx,xxx,0,1 PLAYDVD=key,F,,0,1 iTunes=wac,xxx,xxx,1,0 WinDVD7=key,F,0x0d,xxx,0 WinDVD6=key,F,0x0d,xxx,0 WinDVD5=key,F,0x0d,xxx,0 WinDVD4=key,F,0x0d,xxx,0 WinAmp5=cmd,40060,xxx,1,1 MSMedia9=wac,xxx,xxx,0,0 RealOne=key,^],,1,1 #{btn|key|msg|emg|cmd|wac},start,end,repeat start,Donot send Play appcommand at end of rewind operation [Players.Rewind] PowerDVD=wac,xxx,,0,1 MusicMatch7=cmd,22860,xxx,1,0 MediaLife=wac,xxx,xxx,1,1 MediaLife4=wac,xxx,xxx,0,1 MediaCenter=wac,xxx,xxx,0,1 PLAYDVD=key,B,,0,1 iTunes=wac,xxx,xxx,1,0 WinDVD7=key,R,0x0d,xxx,0 WinDVD6=key,R,0x0d,xxx,0 WinDVD5=key,R,0x0d,xxx,0 WinDVD4=key,R,0x0d,xxx,0 WinAmp5=cmd,40061,xxx,1,1 MSMedia9=wac,xxx,xxx,0,0 RealOne=key,^[,,1,1 #list of Burn UI players (available on Burn button) [Players.BurnSupported] MSMedia9=True MusicMatch7=True #list of Record UI players (available on Record button) [Players.RecordSupported] MSMedia9=True MusicMatch7=True #list of 10" UI players (available on remote button) [Players.IsRemote] MDesktop=True MediaCenter=True MediaLife=True WinDVD=True WinDVD4=True WinDVD5=True WinDVD6=True WinDVD7=True PowerDVD=True PLAYDVD=True VLC=True
Image
"In a world of genocide, the pacifist must take control..." - DJRavine

soonerlater
New Cone
New Cone
Posts: 4
Joined: 20 May 2008 04:09

Re: Logitech SetPoint Media Button Support [Play/Pause, Stop

Postby soonerlater » 10 May 2010 18:54

I am running Setpoint Control Center ver. 4.80.103 (and driver 4.80.11) with VLC 1.0.5 Goldeneye. My Players.INI file is below. The play/pause, stop, fwd and rev buttons work, but only when VLC has focus. If another app has focus, the buttons do nothing. This not the way it is supposed to work. Back when I used RealPlayer :oops: as my favored media player, the buttons would work regardless of what app had focus. The Windows volume setting responds to the vol+ / vol- buttons and it *never* has focus.

Since I have no idea what any of these settings mean, it's hard to troubleshoot. Logitech doesn't document the Players.INI settings worth a darn. I'm really at a loss.

I prefer to use VLC to listen to podcasts while I work, so another app is always on top of VLC. When the phone rings, I need to stop my podcast (not just mute the sound), so I can resume listening after I hang up. I appreciate that this is NOT a VLC problem, but I hope that someone here can help nevertheless.

Code: Select all

#List of supported players #{btn|key|msg|emg|cmd|wac},exeName,wndClass,wndCaption,xxx,play_delayplay,pause,stop,prev,next,remove_flags,ShowOSD,menu_item [Players] MSMedia9=wac,wmplayer.exe,WMPlayerApp,Windows Media Player,xxx,xxx,xxx,xxx,xxx,xxx,0,1,Windows Media Player 9 MSMedia7=wac,wmplayer.exe,WMP Skin Host,Windows Media Player,xxx,xxx,xxx,xxx,xxx,xxx,0,1,Windows Media Player 7 MusicMatch7=wac,MMJB.EXE,MMJB:MAINWND,xxx,xxx,xxx,xxx,xxx,xxx,xxx,0,1,MusicMatch MusicMatch=cmd,MMJB.EXE,xxx,MusicMatch Jukebox 4,xxx,0x101F4,0x18059,0x101F5,0x101F6,0x101F7,0,1,MusicMatch MDesktop=wac,MDesktop.exe,MediaDesktopClass,Media Desktop,xxx,xxx,xxx,xxx,xxx,xxx,0,1,Media Desktop PowerDVD=key,PowerDVD.exe,xxx,CyberLink PowerDVD,xxx,0x0d,0x20,S,P,N,0,1,Power DVD WinDVD=wac,WinDVD.exe,WinDVDClass,Player,xxx,xxx,xxx,xxx,xxx,xxx,0,1,Win DVD WinDVD4=key,WinDVD.exe,WinDVDClass,InterVideo WinDVD 4,xxx,0x0d,0x20,0x23,0x21,0x22,0,1,Win DVD WinDVD5=key,WinDVD.exe,WinDVDClass,InterVideo WinDVD 5,xxx,0x0d,0x20,0x23,0x21,0x22,0,1,Win DVD WinDVD6=key,WinDVD.exe,WinDVDClass,InterVideo WinDVD 6,xxx,0x0d,0x20,0x23,0x21,0x22,0,1,Win DVD WinDVD7=key,WinDVD.exe,WinDVDClass,InterVideo WinDVD 7,xxx,0x0d,0x20,0x23,0x21,0x22,0,1,Win DVD iTunes=wac,iTunes.exe,iTunes,xxx,xxx,xxx,xxx,xxx,xxx,xxx,0,1,iTunes MediaCenter=wac,ehshell.exe,eHome Render Window,xxx,xxx,xxx,xxx,xxx,xxx,xxx,0,1,Windows Media Center WinAmp3=key,studio.exe,STUDIO,xxx,xxx,X,C,V,Z,B,0,1,WinAmp 3 WinAmp3d=key,winamp3.exe,STUDIO,xxx,xxx,X,C,V,Z,B,0,1,WinAmp 3d Rhapsody=key,Rhapsody.exe,xxx,Rhapsody,xxx,^P,^P,^S,^B,^F,0,1,Rhapsody #YahooMusicEngine=key,YahooMusicEngine.exe,YMPFrame,xxx,xxx,^ ,^ ,^S,~0x25,~0x27,0,1,Yahoo! Music Jukebox YahooMusicEngine=key,YahooMusicEngine.exe,YMPFrame,xxx,xxx,^ ,^ ,^S,~0x25,~0x27,0,1,Yahoo! Music Jukebox RealOne=wac,realplay.exe,GeminiWindowClass,xxx,xxx,xxx,xxx,xxx,xxx,xxx,0,1,RealOne Player WinAmp5=cmd,winamp.exe,Winamp v1.x,xxx,xxx,40045,40046,40047,40044,40048,0,1,WinAmp 5 MediaLife=key,Medialife.exe,MediaLife Frame class,Logitech MediaLife,xxx, , ,S,P,N,0,1,MediaLife MediaLife4=wac,Medialife.exe,MediaLife Koan GDI Class,xxx,xxx,xxx,xxx,xxx,xxx,xxx,0,1,MediaLife PLAYDVD=key,PlayDVD.exe,PlayDVD Frame class,Play DVD,xxx, , ,S,P,N,0,1,PlayDVD Nero=wac,NeroHome.exe,xxx,xxx,xxx,xxx,xxx,xxx,xxx,0,1,NeroHome Nero2=wac,ShowTime.exe,xxx,xxx,xxx,xxx,xxx,xxx,xxx,0,1,ShowTime Nero3=wac,Nero.exe,xxx,xxx,xxx,xxx,xxx,xxx,xxx,0,1,Nero VLC=key,vlc.exe,QWidget,VLC media player,xxx, , ,S,P,N,0,1,VLC [Players.Run] MediaCenter=path,$WINDOWS\eHome WinAmp3=reg,HKLM,SOFTWARE\Classes\Winamp3.File\DefaultIcon,,2 Rhapsody=reg,HKCR,rhap\DefaultIcon,,5 WinAmp5=reg,HKLM,SOFTWARE\Classes\Winamp.File\DefaultIcon,,2 YahooMusicEngine=reg,HKCR,TypeLib\{2C5EBFB1-9174-4FE8-88DB-D1F460A9E83B}\1.0\0\win32,, VLC=path,C:\Program Files\VideoLAN\VLC [Players.Display] MediaCenter=Windows Media Center RealOne=RealOne Player WinDVD=WinDVD WinDVD4=WinDVD4 WinDVD5=WinDVD5 WinDVD6=WinDVD6 WinDVD7=WinDVD7 MediaLife=MediaLife PLAYDVD=PlayDVD VLC=VLC #{btn|key|msg|emg|cmd|wac},start,end,repeat start,,Donot send Play appcommand at end of FastForward operation [Players.Seek] MusicMatch7=cmd,22861,xxx,1 MediaLife=wac,xxx,xxx,1,0 MediaLife4=wac,xxx,xxx,0,1 PowerDVD=wac,xxx,,0,1 MediaCenter=wac,xxx,xxx,0,1 PLAYDVD=key,F,,0,1 iTunes=wac,xxx,xxx,1,0 WinDVD7=key,F,0x0d,xxx,0 WinDVD6=key,F,0x0d,xxx,0 WinDVD5=key,F,0x0d,xxx,0 WinDVD4=key,F,0x0d,xxx,0 WinAmp5=cmd,40060,xxx,1,1 MSMedia9=wac,xxx,xxx,0,0 RealOne=key,^],,1,1 #{btn|key|msg|emg|cmd|wac},start,end,repeat start,Donot send Play appcommand at end of rewind operation [Players.Rewind] PowerDVD=wac,xxx,,0,1 MusicMatch7=cmd,22860,xxx,1,0 MediaLife=wac,xxx,xxx,1,1 MediaLife4=wac,xxx,xxx,0,1 MediaCenter=wac,xxx,xxx,0,1 PLAYDVD=key,B,,0,1 iTunes=wac,xxx,xxx,1,0 WinDVD7=key,R,0x0d,xxx,0 WinDVD6=key,R,0x0d,xxx,0 WinDVD5=key,R,0x0d,xxx,0 WinDVD4=key,R,0x0d,xxx,0 WinAmp5=cmd,40061,xxx,1,1 MSMedia9=wac,xxx,xxx,0,0 RealOne=key,^[,,1,1 #list of Burn UI players (available on Burn button) [Players.BurnSupported] MSMedia9=True MusicMatch7=True Nero3=True #list of Record UI players (available on Record button) [Players.RecordSupported] MSMedia9=True MusicMatch7=True Nero3=True #list of 10" UI players (available on remote button) [Players.IsRemote] MDesktop=Trues MediaCenter=True MediaLife=True WinDVD=True WinDVD4=True WinDVD5=True WinDVD6=True WinDVD7=True PowerDVD=True PLAYDVD=True VLC=True

soonerlater
New Cone
New Cone
Posts: 4
Joined: 20 May 2008 04:09

Re: Logitech SetPoint Media Button Support [Play/Pause, Stop

Postby soonerlater » 10 May 2010 20:22

I found this thread:

QUERY: Just a quick one here! I'm using VLC media player (the version 9 one) to stream a playlist of online radio stations whilst I play a game (Test Drive Unlimited). I've found that the default hotkeys for VLC will only work when the program is the foremost one so when I'm playing TDU, the hotkeys for volume have no effect and I have to ALT+TAB out of the game to change any settings.
Is there any type of script that would allow me to use to hotkeys for VLC whilst I'm inside another application?

RESPONSE: You need to use ControlSend in order to send messages to windows and window controls that aren't active.

http://www.autohotkey.com/forum/viewtop ... hlight=vlc

on the forum which supports AutoHotKey. I suspect that there is at least a clue, and maybe the answer here, but it's over my head.

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: Logitech SetPoint Media Button Support [Play/Pause, Stop

Postby Jean-Baptiste Kempf » 11 May 2010 12:34

Use VLC 1.1.0-pre4
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 “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 20 guests