# -*- coding: utf-8 -*-
-# Copyright (c) 2009, 2010, 2011, 2013, 2014, 2015 Jack Kaliko <kaliko@azylum.org>
+# Copyright (c) 2009-2015, 2020 kaliko <kaliko@azylum.org>
#
# This file is part of sima
#
def queue(self):
to_add = list()
for plugin in self.plugins:
- self.log.info('callback_need_track: %s', plugin)
+ self.log.debug('callback_need_track: %s', plugin)
pl_candidates = getattr(plugin, 'callback_need_track')()
if pl_candidates:
to_add.extend(pl_candidates)
while True:
tmp = sleepfor.pop(0)
sleepfor.append(tmp)
- self.log.info('Trying to reconnect in {:>4d} seconds'.format(tmp))
+ self.log.info('Trying to reconnect in %4d seconds', tmp)
time.sleep(tmp)
try:
self.player.connect()