]> kaliko git repositories - mpd-sima.git/commitdiff
Fixed plugin album_candidate method, missing loop break
authorkaliko <kaliko@azylum.org>
Fri, 19 Feb 2021 17:17:54 +0000 (18:17 +0100)
committerkaliko <kaliko@azylum.org>
Fri, 19 Feb 2021 17:17:54 +0000 (18:17 +0100)
sima/lib/plugin.py

index a5db626ef73fa95b2f2130492278ac44978b574d..6ffff1affe5d56ffaf0398fa1047c026c15038ea 100644 (file)
@@ -210,6 +210,7 @@ class AdvancedPlugin(Plugin):
                                    album)
                     continue
             album_to_queue = album
+            break
         if not album_to_queue:
             self.log.info('No album found for "%s"', artist)
             return None