]> git.sesse.net Git - vlc/commit
fix album art caching for files without artist/album tags
authorRafaël Carré <funman@videolan.org>
Thu, 24 Nov 2011 05:09:12 +0000 (00:09 -0500)
committerRafaël Carré <funman@videolan.org>
Thu, 24 Nov 2011 05:16:18 +0000 (00:16 -0500)
commit66e45812305c60b92e2ea4ff99b130a2cb829320
tree8ecde4678bee8296acf7d58b0aa6606ec10c964a
parentaee3c6f9ddf1a82e67194a2fdf74102bc4002a9f
fix album art caching for files without artist/album tags

Closes: #5298
If a file has no metadata, but has a download URL, we download the image
and cache it using only the URL.
Thus files with attachments and empty tags always used the same image,
because we matched the image to the URL "attachment://X"

Add the title (or file name as fallback) to the cache name when using
attachments for files without artist/album meta.
src/playlist/art.c