From 84844f6742414fc7d2b1218bb285e9f3b21e7576 Mon Sep 17 00:00:00 2001 From: waker Date: Mon, 9 Jan 2012 23:11:24 +0100 Subject: lastfm: fixed artist/albumartist/band priority, artist is now picked 1st, before anything else --- plugins/lastfm/lastfm.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/lastfm') 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; -- cgit v1.2.3