mirror of
https://github.com/beetbox/beets.git
synced 2025-12-28 11:32:30 +01:00
First hack of ignoring already tagged items
This commit is contained in:
parent
8408264142
commit
f93ee3accc
1 changed files with 6 additions and 0 deletions
|
|
@ -155,6 +155,12 @@ class AcousticPlugin(plugins.BeetsPlugin):
|
|||
"""Fetch additional information from AcousticBrainz for the `item`s.
|
||||
"""
|
||||
for item in items:
|
||||
|
||||
mood_str = item.get('mood_acoustic', u'')
|
||||
if len(mood_str) != 0:
|
||||
self._log.info(u'Already set acousticbrainz tag for {} ', item)
|
||||
continue
|
||||
|
||||
if not item.mb_trackid:
|
||||
continue
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue