Roland0 wrote: > It doesn't increase storage size - the size of the cached image is the > same, no matter what the source. > > It doesn't take additional effort for this, as LMS has to check each > file for artwork in any case, since it's possible to have different > artwork for tracks from the same album. The comparison if it's the same > image is done using the path and the embedded art length, and both are > known at this point of the processing.
How can the cache check use the path, since the path for different audio files will always be unique? Have you looked at the code? The only proper way to check for matches would be to calculate some type of hash value for the binary image data and to store that value in the cache database. But unless that value is already stored in the audio file's metadata that would require calculating it for every single embedded image encountered. That's a lot of additional effort. ------------------------------------------------------------------------ JJZolx's Profile: http://forums.slimdevices.com/member.php?userid=10 View this thread: http://forums.slimdevices.com/showthread.php?t=98996 _______________________________________________ discuss mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/discuss
