summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c98f1c3)
raw | patch | inline | side by side (parent: c98f1c3)
author | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | |
Sat, 21 Aug 2010 18:26:20 +0000 (20:26 +0200) | ||
committer | Max Kellermann <max@duempel.org> | |
Wed, 22 Sep 2010 16:18:42 +0000 (18:18 +0200) |
NEWS | patch | blob | history | |
src/screen_artist.c | patch | blob | history |
index 775a6453afae570294aa174ed76c9bfeeb5c2c10..c33364ed2b4493a50d2f2b444e154deae211d909 100644 (file)
--- a/NEWS
+++ b/NEWS
ncmpc 0.18 - not yet released
* screen_song: show song range
+* screen_artist: respect artist when adding albums
* po: added Italian translation
diff --git a/src/screen_artist.c b/src/screen_artist.c
index 15103eb813d4670ddf9587cc5236ccda80a16a82..5d77c1080396419fe75f2aa736df2c7db0c0ed12 100644 (file)
--- a/src/screen_artist.c
+++ b/src/screen_artist.c
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);