summaryrefslogtreecommitdiff
path: root/plugins/artwork/artwork.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/artwork/artwork.c')
-rw-r--r--plugins/artwork/artwork.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/artwork/artwork.c b/plugins/artwork/artwork.c
index 35bcbedb..5362a5df 100644
--- a/plugins/artwork/artwork.c
+++ b/plugins/artwork/artwork.c
@@ -1264,6 +1264,10 @@ get_album_art (const char *fname, const char *artist, const char *album, int siz
artist = "";
}
+ if (*album && !(*artist)) {
+ artist = album;
+ }
+
if (!*artist || !*album)
{
trace ("artist or album is empty, give up\n");