mirror of
https://github.com/beetbox/beets.git
synced 2026-02-23 07:44:38 +01:00
Make mb_albumartistids available at the album level.
This commit is contained in:
parent
9584216209
commit
43b20f2850
2 changed files with 7 additions and 0 deletions
|
|
@ -1179,6 +1179,7 @@ class Album(LibModel):
|
|||
"comp": types.BOOLEAN,
|
||||
"mb_albumid": types.STRING,
|
||||
"mb_albumartistid": types.STRING,
|
||||
"mb_albumartistids": types.MULTI_VALUE_DSV,
|
||||
"albumtype": types.STRING,
|
||||
"albumtypes": types.SEMICOLON_SPACE_DSV,
|
||||
"label": types.STRING,
|
||||
|
|
@ -1235,6 +1236,7 @@ class Album(LibModel):
|
|||
"comp",
|
||||
"mb_albumid",
|
||||
"mb_albumartistid",
|
||||
"mb_albumartistids",
|
||||
"albumtype",
|
||||
"albumtypes",
|
||||
"label",
|
||||
|
|
|
|||
|
|
@ -129,6 +129,11 @@ class NonAutotaggedImportTest(AsIsImporterMixin, ImportTestCase):
|
|||
self.run_asis_importer(delete=True)
|
||||
self.assertNotExists(os.path.join(self.import_dir, b"album"))
|
||||
|
||||
def test_album_mb_albumartistids(self):
|
||||
self.run_asis_importer()
|
||||
album = self.lib.albums()[0]
|
||||
assert album.mb_albumartistids == album.items()[0].mb_albumartistids
|
||||
|
||||
@unittest.skipUnless(_common.HAVE_SYMLINK, "need symlinks")
|
||||
def test_import_link_arrives(self):
|
||||
self.run_asis_importer(link=True)
|
||||
|
|
|
|||
Loading…
Reference in a new issue