From e7259b6d087e3f521079e4711b7247a530cd501e Mon Sep 17 00:00:00 2001 From: kaliko Date: Thu, 29 Jan 2015 11:39:08 +0100 Subject: [PATCH] Fixed top track mode --- doc/Changelog | 1 + sima/lib/webserv.py | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) 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)) -- 2.39.5