From: kaliko Date: Thu, 29 Jan 2015 10:39:08 +0000 (+0100) Subject: Fixed top track mode X-Git-Tag: 0.14.0~30 X-Git-Url: https://git.kaliko.me/?a=commitdiff_plain;h=e7259b6d087e3f521079e4711b7247a530cd501e;p=mpd-sima.git Fixed top track mode --- diff --git a/doc/Changelog b/doc/Changelog index b4e6483..1582b89 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,5 +1,6 @@ MPD_sima v0.14.0 + * Fixed top track mode * Fixed default conf file name (back to mpd_sima.cfg) * Cleanup code (removed users similarities) diff --git a/sima/lib/webserv.py b/sima/lib/webserv.py index f0b5946..3a484c2 100644 --- a/sima/lib/webserv.py +++ b/sima/lib/webserv.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright (c) 2009-2014 Jack Kaliko +# Copyright (c) 2009-2015 Jack Kaliko # # This file is part of sima # @@ -343,7 +343,6 @@ class WebService(Plugin): self.to_add = list() nbtracks_target = self.plugin_conf.getint('track_to_add') for artist in artists: - artist = Artist(name=artist) if len(self.to_add) == nbtracks_target: return True self.log.info('Looking for a top track for {0}'.format(artist))