mirror of
https://github.com/SoongNoonien/mpdevil.git
synced 2023-08-10 21:12:44 +03:00
added missing genre filter
This commit is contained in:
parent
14d4766283
commit
6ccd853d82
@ -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])
|
||||
|
Loading…
Reference in New Issue
Block a user