Re: Foobar randomly skips tracks
Reply #3 – 2025-03-14 22:02:01
My mistake, I relied on my memory about the "Process system media key events" option. That option is effectively meaningless when universal volume control integration is enabled. The option you disabled, "Process browse key events", affects the extra navigation buttons in the mouse. I wouldn't expect them to be a problem for you as they only have an effect when pressed inside foobar2000 window. To disable the media key controls you need to disable both the "Process system media key events" and "Advanced Preferences" -> "Display" -> "Integrate with Windows Universal volume Control". I wrote a quick and simple debug component that hopefully helps in finding out what goes wrong. You can download it here: https://foobar.hyv.fi/foo_playevents_debug.fb2k-component . It tries to sniff command line parameters and it keeps track of playback progress. If foobar2000 is controlled by outside program using command line parameters, it tries to report the given commands. And if track isn't fully played it reports some details about that. Everything is printed to foobar2000 console starting with string "PlayEvent ***:". Note that the command line sniffing doesn't always work. foobar2000 randomizes the order at which services are registered and if the actual command handler gets called before the debug component, the component won't see the action anymore. You could see something like this:PlayEvent ***: Command line parameter: /next PlayEvent ***: on_playback_starting: track_command_next PlayEvent ***: starting a new track before previous track finished. Played 0:04.000 / 1:15.960 of track: file://G:\Storage\test tracks\NativeDSD Music Starter Pack - NDSD017\DSD 256fs - 5ch\02. Shostakovich_Symphony no. 5 in D minor - Allegretto - excerpt (from FR724SACD) DSD 256fs - 5ch.dsf