Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Can't play track from library search results (Read 1617 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Can't play track from library search results

Hi,
It's been a long time since I posted here last time... But some ugly thing in foobar has happened to me again.

For sure it happened in the past something like 5-6 times. It must have been somewhere in 1.3.7/1.3.8 for the first time and then in 1.3.9, for sure in 1.3.10 and now in 1.3.11b4. I remember I even asked about that in forum once and foosion gave me some answer, but finally I just restored config and forgotten about the issue.

So what happened?
I played music from some regular playlists and autoplaylists. I was performing many consecutive Media Library searches for duplicates, for same artist, remixes, etc. And suddenly when I wanted to play a track from search results it started playing recent track from autoplaylist from the beginning... I tried different track from search result, but again I heard the same track starting from the beginning. I tried closing and reopening ML search but result was the same. So I restarted foobar and... result was the same! So I restarted it once again, started from ML search and then I tried to play one of the results. OK it played selected track. But when I doubleclicked on next result, then foobar started playing last track that was played before it was closed... And from this point - only that particular track from autoplaylist was played... Fortunately I use foo_jesus so I could easily restore my faith and my config.

Right now it happened on Win10 RS1 x64 PL, but all previous occurrences happened on Win7 SP1 x64 PL. Soundcard is ESI Juli@ PCI with latest drivers (1.21). But in the past it was also happening on integrated Realteks and on some Soundblaster Live! 5.1 (SB080 or SB100).
For developers: attached there is zipped file with my config folder (without wavecache.db). It says all about my config (plugins that I use or just keep in config, their settings etc.). Most plugins are installed in main Program Files directory of foobar. Only few are in AppData/Roaming/foobar.
WHAT IS IMPORTANT:
Before it happened I haven't changed anything in configuration. It was quite long time when I last time played with changing anything in config. It just happened out of the blue, during regular usage of application. I can additionally offer my last autosave from foo_jesus for comparison.

EDIT:
I added repacked autosave file from foo_jesus - the last one done by plugin, before config become broken. So comparison is possible without delays and asking :) . Autobackup contents differs from manually collected config, as it contains additional files (directories), that I keep in foobar's config folder and are config related (additional scripts / config/preset files for plugins, some printscreens with effects of different configs, etc.).

Re: Can't play track from library search results

Reply #1
The problem is caused by Stop on Current -component. I attempted to improve it today but so far my attempts have all had side effects.

Re: Can't play track from library search results

Reply #2
Wow. I am really impressed. I must then check if "Stop on Current" has also connection with other my rarely occurring problems. One of most strange was problem with with the rip of this mvid:
https://www.youtube.com/watch?v=YqeW9_5kURI  As its name is "Major Lazer & DJ Snake - Lean On (feat. MØ) (Official Music Video)" it contains this Danish "Ø". I had to change this Ø to simple O as Foobar was always crashing while playing an .mp4 file with this mvid. After renaming - no problems, no crashes, just properly played sound... I got also some other problem when specific playback order (a mixture of formats played in a row) was causing crashes always after other certain .mp4 file taken from youtube...

Re: Can't play track from library search results

Reply #3
The best format of that video/audio is H.264 video with Opus audio, so it should be coming out as an MKV, or if you pass -x to youtube-dl, an .opus file, which is in an Ogg container. Neither of which crash, regardless of the Unicode filename. Are you sure you're not using some sort of Youtube plug-in to play it as a stream?

Re: Can't play track from library search results

Reply #4
Guys. I use "4k videodownloader" to simply download an mp4 file with AAC sound - this is how foobar reports sound format there, similarly to MPC-HC. I download in such way every youtube video that for some reason I would like to keep on HDD - mostly selected mvids. In the past I used for that VideoDownloadHelper - FF plugin, but at some point "4k videodownloader" seemed to be much more reliable method. I never used and I don't plan to use any web-related plugins in foobar - any youtube plugins, any internet radio libraries, any podcast streamers etc.
Anyway - this time I am rather curious if Case is able to tell "yes/no" to question if "Stop on Current" component is able to interfere also for these .mp4 related problems. If answer is clear "no" I will try to investigate it deeper, starting separate thread, where I will provide more details. Apart from that I will also try some tests on my own, by disabling/uninstalling this component and using original file name. But that will be done tomorrow :)

Re: Can't play track from library search results

Reply #5
That is easy to answer. The component never reads any metadata or filenames so you can't blame it for the crashing. Weird that you don't get an error dialog with debug info.

Re: Can't play track from library search results

Reply #6
I just ripped that video to 1080P MP4/AAC using that downloader, which I promptly removed afterward. The video, named as it was, did not cause foobar2000 to crash.

Re: Can't play track from library search results

Reply #7
Just to be sure, do you have anything queued? As I've experienced playback issues before where foobar2000 will have a selection playing that wasn't intentional only to later check my Queue tab to see I must have accidentally double-clicked a group from my library tab earlier.

Re: Can't play track from library search results

Reply #8
Hm. To queue something I have to intentionally pres "Q" button on my keyboard. As I am Polish speaking person, usage of Q in my language is very rare + it is placed in place that statistically decreases unintentional pressing it by random moves over the keyboard... Also honestly I don't recall situation when something was unintentionally queued here, so I doubt it was the case. Of course if next time anything specific will happen - I will check Queue playlist to be 100% sure.
As I just got up you have to give me some time for making promised tests :) . I will rather produce new topic then, as this is different problem.

Re: Can't play track from library search results

Reply #9
Fixed the playback issue in Stop on Current v0.5.

Edit: almost forgot to mention that the configs you posted seem to include Audioscrobbler login info.

Re: Can't play track from library search results

Reply #10
Damn, thanks for the info.

Re: Can't play track from library search results

Reply #11
Attachments deleted, have a nice day. Oh, and I suggest you immediately change your Last.fm password, since four or five people did download those attachments.

Re: Can't play track from library search results

Reply #12
Really ? :) First I need to find what was the current password :) . And of course thank you for taking them down.
OK, I am starting tests of mp4 files. Will report with an hour. I am only unsure if I should create new topic in general support forum or in 3rd party plugins forum, as honestly I doubt main foobar app as responsible for that...

Re: Can't play track from library search results

Reply #13
OK, I removed foo_stop_on_current plugin and as Case has predicted - still foobar crashes on downloaded mvid when I try to play it. But still foobar is able to successfully scan it for ReplayGain info... I am going to make more detailed tests and open new thread.

Re: Can't play track from library search results

Reply #14
Here's a little help to make your crash hunt easier. These are the components I installed to fill your test setup when I started tracking down your Media Library playback problem and the downloaded video plays without crashing here:

Core (2016-07-28 08:56:48 UTC)
    foobar2000 core 1.3.11 beta 4
foo_abx.dll (2016-01-23 10:09:30 UTC)
    ABX Comparator 2.0.2
foo_ac3.dll (2012-12-10 19:50:31 UTC)
    AC3 decoder 0.9.7
foo_adpcm.dll (2013-08-13 12:59:32 UTC)
    kode's ADPCM decoders 1.11
foo_albumlist.dll (2016-03-30 11:46:10 UTC)
    Album List 4.5
foo_asap.dll (2014-06-24 14:57:20 UTC)
    ASAP 3.2.0
foo_audioscrobbler.dll (2012-11-22 15:41:48 UTC)
    Audioscrobbler 1.4.7
foo_cdda.dll (2016-07-28 08:49:58 UTC)
    CD Audio Decoder 3.0
foo_converter.dll (2016-07-28 08:48:36 UTC)
    Converter 1.5
foo_cuefilter.dll (2009-04-28 12:09:44 UTC)
    CUE Playlist Filter 0.1.7.0
foo_disccache.dll (2015-08-23 07:52:48 UTC)
    Disc cache warmer 0.2
foo_dsp_eq.dll (2016-03-30 11:46:48 UTC)
    Equalizer 1.0
foo_dsp_mm.dll (2008-06-06 05:29:10 UTC)
    Matrix Mixer 0.3
foo_dsp_resampler.dll (2015-06-10 12:54:41 UTC)
    SoX Resampler 0.8.3
foo_dsp_std.dll (2016-03-30 11:45:30 UTC)
    Standard DSP Array 1.3.1
foo_dumb.dll (2016-07-14 17:44:55 UTC)
    DUMB module decoder 1.0.161
foo_fileops.dll (2016-07-28 08:48:02 UTC)
    File Operations 2.2.1
foo_freedb2.dll (2016-03-30 11:45:14 UTC)
    Online Tagger 0.7
foo_gep.dll (2016-08-06 15:23:26 UTC)
    Game Emu Player 1.202
foo_input_adplug.dll (2014-06-14 14:04:04 UTC)
    AdPlug 1.46
foo_input_dts.dll (2016-02-21 09:23:57 UTC)
    DTS decoder 0.5.2
foo_input_exe.dll (2012-10-12 15:47:05 UTC)
    Command-Line Decoder Wrapper 0.4
foo_input_gsf.dll (2014-11-26 16:01:07 UTC)
    Highly Advanced 2.0.8
foo_input_ht.dll (2016-07-24 11:15:16 UTC)
    Highly Theoretical 2.0.48
foo_input_hvl.dll (2015-02-26 16:06:43 UTC)
    Hively Tracker decoder 1.17
foo_input_kdm.dll (2012-02-19 21:08:21 UTC)
    KDM Decoder 1.1
foo_input_ncsf.dll (2014-11-26 16:01:07 UTC)
    NCSF Decoder 1.11
foo_input_org.dll (2012-02-19 21:08:21 UTC)
    Organya decoder 1.9
foo_input_qsf.dll (2014-11-26 16:01:07 UTC)
    Highly Quixotic 2.0.28
foo_input_reverse.dll (2008-02-16 05:08:52 UTC)
    Reverse Playback 0.1.4 (SSE)
foo_input_sacd.dll (2014-10-16 09:18:17 UTC)
    Super Audio CD Decoder 0.7.3
foo_input_shorten.dll (2014-01-04 10:22:33 UTC)
    Shorten decoder 0.4.2.3
foo_input_std.dll (2016-07-28 08:56:16 UTC)
    FFmpeg Decoders 3.0
    Standard Input Array 1.0
foo_input_syntrax.dll (2016-03-15 15:41:45 UTC)
    Syntrax module decoder 1.2
foo_input_tfmx.dll (2012-12-14 16:06:00 UTC)
    TFMX decoder 0.10
foo_input_tta.dll (2010-10-27 15:53:55 UTC)
    TTA Audio Decoder 3.2
foo_input_usf.dll (2015-05-12 14:54:23 UTC)
    LazyUSF 2.2.39
foo_input_v2m.dll (2014-07-01 18:19:22 UTC)
    V2M Decoder 0.2.1
foo_input_vio2sf.dll (2015-04-08 06:09:01 UTC)
    2SF Decoder 0.24.12
foo_keep_queue.dll (2010-11-12 03:28:44 UTC)
    Keep Queue 0.3.5
foo_lock.dll (2010-01-11 09:18:36 UTC)
    Pause on Lock 0.5
foo_masstag.dll (2009-09-18 07:01:36 UTC)
    Masstagger 1.8.4
foo_midi.dll (2016-04-10 15:12:50 UTC)
    MIDI synthesizer host 1.254
foo_nds.dll (2013-03-22 10:59:18 UTC)
    No Display Standby 1.1
foo_osd.dll (2012-12-17 17:28:20 UTC)
    On-Screen Display 1.73
foo_out_asio.dll (2012-06-06 14:47:43 UTC)
    ASIO support 2.1.2
foo_out_upnp.dll (2012-10-04 10:20:54 UTC)
    UPnP MediaRenderer Output 1.0 alpha 2012-10-04
foo_playcount.dll (2011-07-13 17:36:56 UTC)
    Playback Statistics 3.0.2
foo_psf.dll (2016-08-02 15:44:23 UTC)
    Highly Experimental 2.2
foo_queuecontents.dll (2012-02-23 20:06:38 UTC)
    Queue Contents Editor 0.5.1
foo_rg_trn.dll (2010-01-13 23:01:00 UTC)
    ReplayGain override 0.1.3
foo_rgscan.dll (2016-03-30 11:44:24 UTC)
    ReplayGain Scanner 2.2.2
foo_run.dll (2009-06-07 12:15:18 UTC)
    Run services 0.3.7
foo_seek.dll (2014-04-24 04:50:40 UTC)
    Seek 1.2
foo_sid.dll (2016-05-19 09:13:06 UTC)
    sidplay2 1.35
foo_skip.dll (2016-04-17 10:07:08 UTC)
    Skip Track 1.9.8
foo_snesapu.dll (2015-08-02 00:43:51 UTC)
    SNESAPU input 0.82
foo_softplaylists.dll (2013-01-25 19:31:19 UTC)
    Soft Playlists 2012-10-10
foo_stop_after_queue.dll (2016-08-09 13:02:15 UTC)
    Stop After Queue 0.7
foo_stop_on_current.dll (2016-08-21 17:01:11 UTC)
    Stop on Current 0.5
foo_textdisplay.dll (2015-12-15 19:07:17 UTC)
    Text Display UI Element 1.1 beta 1
foo_timebomb.dll (2009-12-20 20:40:00 UTC)
    Timebomb 0.0.2
foo_ui_classic.dll (2012-11-29 07:45:32 UTC)
    Classic User Interface 1.0
foo_ui_hacks.dll (2014-01-23 08:59:42 UTC)
    UI Hacks 2013-02-19
foo_ui_std.dll (2016-07-28 08:48:46 UTC)
    Default User Interface 0.9.5
foo_unpack.dll (2016-07-28 08:48:36 UTC)
    ZIP/GZIP/RAR Reader 1.7.2
foo_verifier.dll (2014-09-08 13:14:40 UTC)
    File Integrity Verifier 1.1.2
foo_vst.dll (2011-03-05 05:19:04 UTC)
    VST 2.4 adapter 0.9.0.3
foo_wave_seekbar.dll (2015-02-24 00:10:22 UTC)
    Waveform seekbar 0.2.45.4

Re: Can't play track from library search results

Reply #15
Wow. That was quick. Again - Case you impressed me with your willingness to help. It clearly seems that file "Major Lazer & DJ Snake - Lean On (feat. MØ) (Official Music Video).mp4" (with that Danish "Ø" in file name) is the problem for foo_amipwrapper.dll. Cutting of this file from "C:\Program Files (x86)\foobar2000\components\" immediately allows playback of this file. And putting it back there turns back immediate crashes. No doubt. And I think I can stop using this component, as I stopped using certain ways of communication, so generation of text string with my playback status is not that important for me today... Plus I doubt it will be fixed, as foo_amipwrapper seems to be last updated in 2010...

OK, I will have to search for the other mp4 file, as I am rather sure that there was no Unicode characters in the file name... Some Sesame Street snippet put into one of Boards Of Canada albums, as they had sampled it in one of their tracks. However I remember I might change format to .mkv which may solve the problem... So many things from the past to properly recall :)

Re: Can't play track from library search results

Reply #16
Wow... It seems that foo_amipwrapper was also causing problem with "Sesame Street  Valentine - I Love You.mp4" file... But how, if a large bunch of other mp4 files plays just fine when it is present in foobar's config? Eh...

EDIT:
I don't get it. I checked whole library with mvids, EVERY mp4 file. It turns out that "Lean On" crashes only with Danish letter in it, but "Sesame Street - Valentine - I Love You.mp4" crashes always when amipwrapper is present. Why? Just for others curiosity I attached both mp4 file and dll file. What is wrong with that mp4 file? It was obtained in exactly the same way as every other mp4 file that I have - using 4k Video Downloader.

I have found also other strange thing and I must boot to Windows 7 and check if it is only Windows 10 or if it is something with newer version of K-Lite Codeck Pack. Despite I use foo_input_ds (DirectShow input) I am unable to play sound from any .avi, .mpg, .vob, .m2v etc. file... I get "Unsupported format" error. Damn so many changes... New Windows, new KLCP, new foobar...

EDIT2:
Searching for AMIP wrapper plugin I have found the list of my plugins in this post:
https://hydrogenaud.io/index.php/topic,109949.msg905614.html
Hahaha :) . So foosion was wrong :) . And in foo 1.3.8 it even wasn't first time :)

Re: Can't play track from library search results

Reply #17
AMIP, being a wrapper and a legacy Winamp plug-in, is not Unicode compatible.

Re: Can't play track from library search results

Reply #18
The amipwrapper component alone gave an error message about missing AMIP and there was no crashing. I installed AMIP from the official homepage and error message disappeared and it still didn't crash. But perhaps it didn't do anything without mIRC.

It doesn't look like AMIP is only related to Winamp. There should be no reason why it can't send unicode strings to mIRC or other software it supports.

PS: I released a new Stop on current as the 0.5 version had accidental debug string printing left behind. It could even crash in the worst case.

Re: Can't play track from library search results

Reply #19
Sorry, I shouldn't accuse software of being broken without testing it first. And perhaps it is an interaction with the rest of the software there, or with its settings?