diff options
author | William Wilgus <wilgus.william@gmail.com> | 2023-04-18 00:32:43 -0400 |
---|---|---|
committer | William Wilgus <wilgus.william@gmail.com> | 2023-05-20 22:41:34 -0400 |
commit | 8fbd44a3d37fddf323dea36e8f52193fd007bd75 (patch) | |
tree | 2162c62af36bd7f0e0fab09b3756f78fc5aa2b60 /firmware/export/disk.h | |
parent | 4554b908590e0f033ab76383516f921f92758435 (diff) | |
download | rockbox-8fbd44a3d37fddf323dea36e8f52193fd007bd75.tar.gz rockbox-8fbd44a3d37fddf323dea36e8f52193fd007bd75.zip |
[BugFix] Last Fm Scrobbler corrupted entries
I couldn't seem to reproduce the issue here:
https://forums.rockbox.org/index.php/topic,54165.msg252081.html#msg252081
but I figure its probably a threading issue
so we now have a mutex on the cache
and to top it all off each cached entry has a crc and length that are
checked before writing the entry to the file otherwise it is prepended
with # FAILED - so hopefully scrobbler 'parsers?' don't barf on the log
Other changes:
there is now a MRU table for tracks this should help prevent duplicates
it is configurable..
the cache buffer now no longer uses fixed chunks allowing more tracks
to be written between flushes
Change-Id: Iaab7e3f6a76abfc61130f3233379a51c9a6d12e5
Diffstat (limited to 'firmware/export/disk.h')
0 files changed, 0 insertions, 0 deletions