danbee / persephone

macOS MPD client written in Swift.
https://persephone.fm
MIT License
215 stars 18 forks source link

Fetch album art from MPD #42

Closed danbee closed 4 years ago

danbee commented 4 years ago

This PR refactors the way we pull in album art. Previously we were getting it from the filesystem, which a) meant we needed to know where the music was located, and b) was not going to work very well for a remote server.

Now we are pulling album art over the wire from MPD, which searches the local filesystem for a file called cover.(jpg|png). This means that we no longer need to know where the music is located, and it works with remote servers without any extra network shares/mounts.