]> kaliko git repositories - mpd-sima.git/commitdiff
Remove dead code
authorkaliko <kaliko@azylum.org>
Sat, 1 May 2021 17:15:12 +0000 (19:15 +0200)
committerkaliko <kaliko@azylum.org>
Sat, 1 May 2021 17:15:12 +0000 (19:15 +0200)
sima/lib/webserv.py

index 701905b3c9e2da1b8fe5fad3a085808d21549007..96aacc9653352ff140eab9bd30cb3bdc00206833 100644 (file)
@@ -248,15 +248,6 @@ class WebService(AdvancedPlugin):
             self.log.info(' / '.join(map(str, candidates)))
         return candidates
 
-    def _get_album_history(self, artist):
-        """Retrieve album history"""
-        albums_list = set()
-        for trk in self.get_history(artist=artist.name):
-            if not trk.album:
-                continue
-            albums_list.add(trk.album)
-        return albums_list
-
     def find_album(self, artists):
         """Find albums to queue.
         """