beets and compilation - asis, tags and flags

148 views
Skip to first unread message

Bevan Broun

unread,
Aug 23, 2016, 3:32:58 AM8/23/16
to beets
Hi

Im trying to get compilations to be identified such when using asis and am seeing some behaviour I dont understand.

Ive tried using mutagen easyid3 to add the compilation tag to the files - was sure that was going to work! But didnt. 

So I was going to compare tags with a album that had been correctly identified using autotagger. Then I copied the imported album back out of beets, deleted it from database and did a new import with the -A flag. This time the album was not recognised as compilation even though the tracks had "TXXX=MusicBrainz Album Type=compilation" tag. And others tags for various artists.

What tags to I need to have in the tracks to get a compilation recognised with asis?

I feel like I need to look a the source and add an option to tell beets it is a compilation.

Version:
beets version 1.3.6
plugins: fetchart, embedart, inline, lyrics

Tags in one of the files. Album directory copied out after auto import, doesnt get recognised as compliation on next import with -A.

-- 01_The_Bottle.mp3 
- MPEG 1 layer 3, 192000 bps (CBR?), 44100 Hz, 2 chn, 305.08 seconds (audio/mp3)
TALB=Mojo Presents: Cigarettes and Alcohol
TBPM=0
TCMP=1
TDOR=2007-11
TDRC=2007-11
TDTG=2008-10-03 22:12:35
TIT2=The Bottle
TLAN=eng
TMED=CD
TPE1=Gil Scott-Heron & Brian Jackson
TPE2=Various Artists
TPOS=1/1
TPUB=Mojo Magazine
TRCK=1/15
TSOP=Scott-Heron, Gil & Jackson, Brian
TXXX=ALBUMARTISTSORT=Various Artists
TXXX=Album Artist Credit=Various Artists
TXXX=Artist Credit=Gil Scott-Heron & Brian Jackson
TXXX=CDDB DiscID=bc0b080f
TXXX=MusicBrainz Album Artist Id=89ad4ac3-39f7-470e-963a-56509c546377
TXXX=MusicBrainz Album Id=14748e88-8c7c-4745-bedb-064adac9fee7
TXXX=MusicBrainz Album Release Country=GB
TXXX=MusicBrainz Album Status=Promotion
TXXX=MusicBrainz Album Type=compilation
TXXX=MusicBrainz Artist Id=b5b89643-c488-4f39-a302-25cab31084a5
TXXX=MusicBrainz DiscID=t0Bh6K1KvMH818U7Np6m0TXG1Q0-
TXXX=MusicBrainz Release Group Id=3c5d1763-0c53-33fd-8d8c-c39a15ebc250
TXXX=Script=Latn
TXXX=discid=bc0b080f
TXXX=musicbrainz_albumartistid=89ad4ac3-39f7-470e-963a-56509c546377
TXXX=musicbrainz_albumid=14748e88-8c7c-4745-bedb-064adac9fee7
TXXX=musicbrainz_artistid=5a7b7a36-122c-4f5d-a8b4-46ac0c9df027
TXXX=musicbrainz_discid=t0Bh6K1KvMH818U7Np6m0TXG1Q0-
UFID=http://musicbrainz.org='85d5a4f9-8cfe-490a-8412-b85f77b3a596'
USLT=[unrepresentable data] 
 

Bevan Broun

unread,
Aug 30, 2016, 3:20:34 AM8/30/16
to beets
Ok 

I fixed it at line 633 of importer.py

Bevan@gonzilla>diff importer.py importer.comp_asis.py
633c633
<                 [i.albumartist or i.artist for i in self.items]
---
>                 [i.artist for i in self.items]

That is I remove "i.albumartists or". 

The problem is that all tracks have albumartist as "Various Artists" and therefore it looks to ASIS that the album is in fact by somebody called "Various Artists" and not a compilation.
Reply all
Reply to author
Forward
0 new messages