Support and General Use > Audio Playback, Database and Playlists
interruptions while playing songs
GodEater:
The testing that I've done into this issue seems to suggest that the level of stuttering increases with the depth of the directory tree that the music files are buried in.
I made a test directory off the root of the player with around 70 files in, and couldn't get any stuttering at all when playing back the files in it.
When I moved the entire directory to about four folders deep into my music hierarchy though - the stuttering was apparent straight away.
erik7:
I'm glad this subject gets full attention. :)
The files on my player are 2 directories deep.
Root -
Top 2000 -
0001-0250
0251-0500
etc
Hope this issue will get some piority. ???
Lear:
--- Quote from: NicolasP on January 14, 2008, 06:26:18 PM ---This issue seems to be the same one as described in FS#8260. It seems to have been introduced by r15444 (confirmation welcome).
--- End quote ---
Hm, r15444 mainly affected ipods (and the h10), so we might have different causes here...
Increasing the anti-skip buffer ought to help re-buffering issues (if so, increasing it to 15 or 30 seconds should be enough). For ipods, it could hide the probably slower disk spin-ups from r15444.
Otherwise, one reason could be that file open isn't very fast. This would match the behavior of big or "deep" directories causing problems (either makes locating the file file on disk slower), while enabling the dircache can reduce or eliminate the problems. Using album art could make things worse (at least without dircache). Making sure the CPU is boosted before opening files in playback.c (including for album art and metadata) might help.
For the initial buffering, maybe it just more data needs to be buffered before actual playback is started (so that slow open calls doesn't cause the filebuf to go empty). I couldn't figure out what triggers pcm playback to start though... ;)
catawompus:
All I can say that in my case the depth of the directory tree has probably got nothing to do with the skips. I have a folder "music" in the root of the player. What's in there is all subfolders of single albums with an average of probably 12 tracks and some bigger ones in case of a double album. There are no further subfolders.
The skipping disappeared when I changed themes from Cabbie default to Ultima.
Thanks for looking into this issue.
Lear:
--- Quote from: catawompus on January 17, 2008, 11:44:30 AM ---I have a folder "music" in the root of the player. What's in there is all subfolders of single albums with an average of probably 12 tracks  and some bigger ones in case of a double album. There are no further subfolders.
--- End quote ---
But how many album folders? Sounds like it could be quite a few. That could make sense, as for some albums the file open "search" would take longer.
--- Quote ---The skipping disappeared when I changed themes from Cabbie default to Ultima.
--- End quote ---
Thus no album art, which would reduce the slow file open problem noticeably.
I wonder if adding a yield() call towards the end of search_albumart_files() could help...
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version