Skip to main content

Topic: Media key causes play/pause to toggle multiple times (Read 640 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • zorblek
  • [*]
Media key causes play/pause to toggle multiple times
I'm having an odd problem controlling foobar with my media keys. When I hit the play/pause button, instead of simply toggling whether the song is playing or paused, it toggles several times in quick succession. So if a song is playing and I hit pause, what it actually does is pause, then play, then pause, then play, then finally pause for good. (If a song isn't playing and I hit play/pause, then it does the same thing but in reverse.)

Additional info:
* This only happens with foobar2000; other media players play/pause normally.
* It only happens when the main foobar window doesn't have focus. If that windows is active, then the play/pause button works normally.
* The other media keys work as expected. It's only play/pause that has problems.
* The console gives no information.

Here are my installed components:
Code: [Select]
Core (2012-02-04 13:05:48 UTC)
   foobar2000 core 1.1.11
foo_albumlist.dll (2012-02-04 13:04:12 UTC)
   Album List 4.5
foo_audioscrobbler.dll (2010-06-04 16:27:04 UTC)
   Audioscrobbler 1.4.7
foo_cdda.dll (2012-02-04 13:03:52 UTC)
   CD Audio Decoder 3.0
foo_converter.dll (2012-02-04 13:04:00 UTC)
   Converter 1.5
foo_dsp_std.dll (2012-02-04 13:04:14 UTC)
   Standard DSP Array 1.0
foo_fileops.dll (2012-02-04 13:03:02 UTC)
   File Operations 2.1.3
foo_freedb2.dll (2012-02-04 13:03:02 UTC)
   freedb Tagger 0.6.4
foo_gntp.dll (2009-11-28 11:31:16 UTC)
   Foobar GNTP 0.2.3
foo_input_std.dll (2012-02-04 13:05:10 UTC)
   Standard Input Array 1.0
foo_podcatcher.dll (2012-02-14 22:10:09 UTC)
   Podcatcher 0.2.5 (beta, Mar 12 2011)
foo_rgscan.dll (2012-02-04 13:03:48 UTC)
   ReplayGain Scanner 2.1.2
foo_ui_std.dll (2012-02-04 13:04:08 UTC)
   Default User Interface 0.9.5
foo_unpack.dll (2012-02-04 13:03:26 UTC)
   ZIP/GZIP/RAR Reader 1.6
foo_vis_shpeck.dll (2009-09-28 09:32:16 UTC)
   Shpeck - Winamp vis plugins wrapper 0.3.7
foo_w7shell.dll (2011-08-27 07:59:14 UTC)
   Windows 7 integration

I'd really appreciate any help!

  • kode54
  • [*][*][*][*][*]
  • Administrator
Media key causes play/pause to toggle multiple times
Reply #1
Perhaps whatever multimedia keyboard software you have running is detecting foo_vis_shpeck as a running instance of Winamp, and is sending play or pause commands to it as well as forwarding multimedia keys through global WM_APPCOMMAND messages.