mirror of
https://github.com/beetbox/beets.git
synced 2026-01-07 08:32:06 +01:00
undid quotes in log messages
This commit is contained in:
parent
e1c061a010
commit
36dc105dc9
1 changed files with 6 additions and 6 deletions
|
|
@ -176,7 +176,7 @@ class AcousticPlugin(plugins.BeetsPlugin):
|
|||
return {}
|
||||
|
||||
if res.status_code == 404:
|
||||
self._log.info(u'recording ID \'{}\' not found', mbid)
|
||||
self._log.info(u'recording ID {} not found', mbid)
|
||||
return {}
|
||||
|
||||
try:
|
||||
|
|
@ -199,27 +199,27 @@ class AcousticPlugin(plugins.BeetsPlugin):
|
|||
if not force:
|
||||
mood_str = item.get('mood_acoustic', u'')
|
||||
if mood_str:
|
||||
self._log.info(u'data already present for: \'{}\'', item)
|
||||
self._log.info(u'data already present for: {}', item)
|
||||
continue
|
||||
|
||||
# We can only fetch data for tracks with MBIDs.
|
||||
if not item.mb_trackid:
|
||||
continue
|
||||
|
||||
self._log.info(u'getting data for: \'{}\'', item)
|
||||
self._log.info(u'getting data for: {}', item)
|
||||
data = self._get_data(item.mb_trackid)
|
||||
if data:
|
||||
for attr, val in self._map_data_to_scheme(data, ABSCHEME):
|
||||
if not tags or attr in tags:
|
||||
self._log.debug(
|
||||
u'attribute \'{}\' of \'{}\' set to \'{}\'',
|
||||
u'attribute {} of {} set to {}',
|
||||
attr,
|
||||
item,
|
||||
val)
|
||||
setattr(item, attr, val)
|
||||
else:
|
||||
self._log.debug(u'skipping attribute \'{}\' of \'{}\''
|
||||
u' (value \'{}\') due to config',
|
||||
self._log.debug(u'skipping attribute {} of {}'
|
||||
u' (value {}) due to config',
|
||||
attr,
|
||||
item,
|
||||
val)
|
||||
|
|
|
|||
Loading…
Reference in a new issue