From 6ccd853d82be8971da51da17eb7704c1c8ba05ac Mon Sep 17 00:00:00 2001 From: Martin Wagner Date: Thu, 22 Jul 2021 19:25:55 +0200 Subject: [PATCH] added missing genre filter --- bin/mpdevil | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/mpdevil b/bin/mpdevil index add30b5..b8ca222 100755 --- a/bin/mpdevil +++ b/bin/mpdevil @@ -795,7 +795,7 @@ class Client(MPDClient): genre_filter=("genre", genre) album_candidates=self.comp_list("album", artist_type, artist, *genre_filter) for album in album_candidates: - years=self.comp_list("date", "album", album, artist_type, artist) + years=self.comp_list("date", "album", album, artist_type, artist, *genre_filter) for year in years: songs=self.find("album", album, "date", year, artist_type, artist, *genre_filter) cover_path=self.get_cover_path(songs[0])