1. Adrian Sampson
  2. beets

Commits

Adrian Sampson  committed 99903b5

remove py-mb-ngs version conditional

Another code simplification due to requiring python-musicbrainz-ngs 0.3 or
later.

  • Participants
  • Parent commits f97d3e6
  • Branches default

Comments (0)

Files changed (1)

File beets/autotag/mb.py

View file
 log = logging.getLogger('beets')
 
 RELEASE_INCLUDES = ['artists', 'media', 'recordings', 'release-groups',
-                    'labels', 'artist-credits']
-TRACK_INCLUDES = ['artists']
-
-# Only versions >= 0.3 of python-musicbrainz-ngs support artist aliases.
-if musicbrainzngs.musicbrainz._version >= '0.3':
-    RELEASE_INCLUDES.append('aliases')
-    TRACK_INCLUDES.append('aliases')
+                    'labels', 'artist-credits', 'aliases']
+TRACK_INCLUDES = ['artists', 'aliases']
 
 def configure():
     """Set up the python-musicbrainz-ngs module according to settings