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: Fb2k Sometimes Hangs When I Add A Dir To Playlist (Read 2203 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Fb2k Sometimes Hangs When I Add A Dir To Playlist

With quick search for "hang" and "freeze" in the support forum, I didn't find any similar topics.

EDIT: check the screenshots post, there's a simpler explanation with screenshots

foobar2000 0.8.3 (special package with some extra plugins) sometimes hangs when I add a directory to playlist. It is kind of weird, I am able to duplicate it every time I do things the same way.

So, I have a mp3 directory structure like:
K:\mp3\<genre name here>\<album name here>

- Bug happens only when I add the WHOLE K:\mp3 directory to playlist. The "Processing files" window hangs EVERY TIME on the same directory (something like K:\mp3\<genre name here>\<album name here>). The UI is alive, I can abort it.
- Ok, next I try to add ONLY the genre directory (K:\mp3\<genre name here>) to playlist.... works, "Processing files" window doesn't hang and the tracks appear in the playlist (even the same album that hangs the process when adding whole directory tree).
- Works if I add only the specific album to playlist.
- Hangs to the same album if I add whole K:\ to playlist.
- I tried to add the same directory tree to another computer's playlist (over mapped network drive), it also hangs on the very same album.

Has anyone had any similar problems? Is there any other debug info I should provide before this bug (?) becomes solvable?

This is kind of annoying because I need to add one genre at a time to the playlist...

Fb2k Sometimes Hangs When I Add A Dir To Playlist

Reply #1
Can you figure out which specific file in the directory causes it to hang?  Maybe then it could be updated to not hang on that file type.

Fb2k Sometimes Hangs When I Add A Dir To Playlist

Reply #2
The directory only contains 15 MP3s.

I just tried to modify the tags (APEv2 & ID3v1) and rewrote them to the files from database... still hangs.

Fb2k Sometimes Hangs When I Add A Dir To Playlist

Reply #3
Here's information of one of the MP3s in the directory:
---
bitrate = 192
codec = MP3
channels = 2
samplerate = 44100
mp3_stereo_mode = stereo
replaygain_track_gain = -8.61 dB
replaygain_track_peak = 1.137616
replaygain_album_gain = -8.33 dB
replaygain_album_peak = 1.240085
----------
18547823 samples @ 44100Hz
File size: 10 079 770 bytes
---

Weird.

I created the following diretory structure:
K:\test\fb2k_hang

...and copied the hanging album (only mp3 files, no extra stuff) there, added K:\test to playlist and it works (???) (so that the album directory is K:\test\fb2k_hang\album_name)

Fb2k Sometimes Hangs When I Add A Dir To Playlist

Reply #4
Screenshots just in case

First, I add the whole mp3 directory to playlist:
http://lappi.skai.fi/~mikkoko/misc/fb2k_fr...hots/shot_1.png

...and it freezes like this: (I can still abort). Once it let it run all night but it never finished adding the files to playlist.
http://lappi.skai.fi/~mikkoko/misc/fb2k_fr...hots/shot_2.png

If I try to add only the genre directory:
http://lappi.skai.fi/~mikkoko/misc/fb2k_fr...hots/shot_3.png

...it works as expected:
http://lappi.skai.fi/~mikkoko/misc/fb2k_fr...hots/shot_4.png

same if I add only the album directory:
http://lappi.skai.fi/~mikkoko/misc/fb2k_fr...hots/shot_5.png
http://lappi.skai.fi/~mikkoko/misc/fb2k_fr...hots/shot_6.png

Here are the MP3s in the directory:
http://lappi.skai.fi/~mikkoko/misc/fb2k_fr...hots/shot_7.png

I have tried to rewrite APEv2 + ID3v1 tags using fb2k (in case corrupt tags was the cause), also tried to rewrite ID3v2 tags with ID3-TagIT but these didn't have any effect.