Skip to content

Instantly share code, notes, and snippets.

View hdak1945git's full-sized avatar

David E hdak1945git

View GitHub Profile
@hdak1945git
hdak1945git / working-albumart-minimal.diff
Created November 12, 2018 03:40
Save MPD artwork even if the job isn't found for it!
diff --git a/gui/covers.cpp b/gui/covers.cpp
index 7d57ad8e..a6bc6770 100644
--- a/gui/covers.cpp
+++ b/gui/covers.cpp
@@ -723,36 +723,49 @@ void CoverDownloader::downloadViaRemote(Job &job)
void CoverDownloader::mpdAlbumArt(const Song &song, const QByteArray &data)
{
- QHash<NetworkJob *, Job>::Iterator it=findJob(Job(song, QString()));
- QHash<NetworkJob *, Job>::Iterator end(jobs.end());