Rockbox General > Rockbox General Discussion

Directory cache rebuilds for no obvious reason

<< < (2/3) > >>

psycho_maniac:
yes my ipod also does this but directory cache is always completed and no sound is being played meaning i stop a playlist and when i start it up i have it to start in the menu. i get a scanning disk... or a loading... pop up at the begining of every OTHER boot.

Lear:
Indeed, that would trigger this behavior. Interrupting a background scan shouldn't force a full rebuild on next boot, IMO, but that happens due to the code in tree_flush (tree.c). It should probably make sure that the dircache isn't initializing before updating global_status.dircache_size (it will be set to 0 in that case)...

Just stopping a track and then shutting down (after dircache scanning is complete) shouldn't trigger it though.

psycho_maniac, it sounds like you don't do a proper shutdown, but rather a forced reset or shutdown. Could that be the case? A proper shutdown comes from a long press on play, from what I can see in the manual.

pixelma:
Maybe the problem here is that Ipods stop playback and shut down with a long press of play, meaning that if you keep holding play from the WPS it will shut down while dircache hasn't finished writing the changes (or whatever it does) yet? There was a short discussion about it in IRC yesterday and this leads me to the question if the same happens if you first stop playback, let it return to the browser or menu (leave it for a few seconds) and then turn the Ipod off?

(:@):
It's not a ipod specific problem: pondlife and Multiplex have it on their H320 (first 2 posts) and I also have this "scanning disk" message on my h100 from time to time (without usb usage meanwhile).

I don't think it has something to do with an interrupted scan.
I can let my player run for a while and shut it down without deleting or modifying any files or connected it the pc and the next time I turn it on this message appears.
I cannot say why or if it will popup on the next boot. The message popup doesn't bother me, but it indicates a bug.

AlexP:
I never get it on my H140 if I let disk activity stop after booting before shuting down.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version