From: kaliko Date: Tue, 10 Dec 2013 18:19:54 +0000 (+0100) Subject: Fixed single_album filter stupid typo X-Git-Tag: mpd-sima/0.12.0pr2~12 X-Git-Url: https://git.kaliko.me/?a=commitdiff_plain;h=50a7a9b43940155f8b0a3b81bb91a79585104eb9;p=mpd-sima.git Fixed single_album filter stupid typo --- diff --git a/sima/plugins/internal/lastfm.py b/sima/plugins/internal/lastfm.py index 3c576a6..03cea6c 100644 --- a/sima/plugins/internal/lastfm.py +++ b/sima/plugins/internal/lastfm.py @@ -146,7 +146,7 @@ class Lastfm(Plugin): # Should use albumartist heuristic as well if self.plugin_conf.getboolean('single_album'): if (trk.album == self.player.current.album or - trk.album in [trk.alb for trk in self.to_add]): + trk.album in [tr.album for tr in self.to_add]): self.log.debug('Found unplayed track ' + 'but from an album already queued: %s' % (trk)) continue