From 50a7a9b43940155f8b0a3b81bb91a79585104eb9 Mon Sep 17 00:00:00 2001 From: kaliko Date: Tue, 10 Dec 2013 19:19:54 +0100 Subject: [PATCH] Fixed single_album filter stupid typo --- sima/plugins/internal/lastfm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5