summaryrefslogtreecommitdiff
path: root/plugins/lastfm
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/lastfm')
-rw-r--r--plugins/lastfm/lastfm.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/lastfm/lastfm.c b/plugins/lastfm/lastfm.c
index 8ee7eb88..8a5af425 100644
--- a/plugins/lastfm/lastfm.c
+++ b/plugins/lastfm/lastfm.c
@@ -318,15 +318,15 @@ fail:
static int
lfm_fetch_song_info (DB_playItem_t *song, const char **a, const char **t, const char **b, float *l, const char **n, const char **m) {
- *a = deadbeef->pl_find_meta (song, "band");
+ *a = deadbeef->pl_find_meta (song, "artist");
if (!(*a)) {
- *a = deadbeef->pl_find_meta (song, "album artist");
+ *a = deadbeef->pl_find_meta (song, "band");
}
if (!(*a)) {
- *a = deadbeef->pl_find_meta (song, "albumartist");
+ *a = deadbeef->pl_find_meta (song, "album artist");
}
if (!(*a)) {
- *a = deadbeef->pl_find_meta (song, "artist");
+ *a = deadbeef->pl_find_meta (song, "albumartist");
}
if (!*a) {
return -1;