mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-11-21 20:00:49 +01:00
A web cover copy in a catalog's coverPath outranked real pictures: an album's cover is its first song with a cover file, and every id tries cover files before embedded pictures, so an album mixing a song that embeds its picture (or a later song with a cover file) with a web-only song served the copy for every song. Catalog lines now carry copies in their own webCoverPath field. The server tries them only after the cover files and embedded pictures it tried before, the song's own copy first and then its album's; an album falls back to its first song with a copy only when no song has a cover file or an embeddable format, and an artist to such an album only when no other has a cover. Ids that had any cover serve exactly what they served before, and a catalog without the field reads as before. A failed read of an audio file is no longer remembered as a file without a picture, for getCoverArt and linkEmbeddedPictures alike; only a file that was read through counts.