]> git.draconx.ca Git - mpdhacks.git/commit
mpdmenu: Retrieve cover art from MPD.
authorNick Bowler <nbowler@draconx.ca>
Fri, 28 Jun 2019 03:09:00 +0000 (23:09 -0400)
committerNick Bowler <nbowler@draconx.ca>
Sat, 29 Jun 2019 16:05:59 +0000 (12:05 -0400)
commit614746d84dbada7c6f55c1d824e485d876f1018f
tree5a8bd7067a18ce7f81f85e3e6e9bf4757f546028
parenta93fdf47f9567f0542ef75207e3b5b26362b5620
mpdmenu: Retrieve cover art from MPD.

Recent versions of MPD support retrieving cover art, which means we
(mostly) don't need to have the music directory mounted to poke around
in it.  Augment mpdexec with support for binary transfers in order to
retrieve this cover art, and implement a new thumbnailer script which
makes use of this functionality.

Mostly, because the function to launch geeqie in the scans directory
still requires poking in the music dir.  But all the menu images should
be displayed just from the connection to MPD now.

As a bonus, the new script is quite a bit faster than the old one, too.
mpdexec.pl
mpdmenu.pl
mpdthumb.sh [new file with mode: 0755]
thumbnail.zsh [deleted file]