diff --git a/src/screen_artist.c b/src/screen_artist.c
index 15103eb813d4670ddf9587cc5236ccda80a16a82..cf775b5d5daf6f75b21a3cbf4c94aa614a1b1449 100644 (file)
--- a/src/screen_artist.c
+++ b/src/screen_artist.c
char *str;
struct filelist *addlist;
- assert(filter != NULL);
+ assert(_filter != NULL);
if (connection == NULL)
return;
str = utf8_to_locale(_filter);
if (table == MPD_TAG_ALBUM)
- screen_status_printf("Adding album %s...", str);
+ screen_status_printf(_("Adding album %s..."), str);
else
- screen_status_printf("Adding %s...", str);
+ screen_status_printf(_("Adding %s..."), str);
g_free(str);
mpd_search_db_songs(connection, true);
mpd_search_add_tag_constraint(connection, MPD_OPERATOR_DEFAULT,
table, _filter);
+ if (table == MPD_TAG_ALBUM)
+ mpd_search_add_tag_constraint(connection, MPD_OPERATOR_DEFAULT,
+ MPD_TAG_ARTIST, artist);
mpd_search_commit(connection);
addlist = filelist_new_recv(connection);