Page 1 of 1

albumArtist binding and FLAC files

Posted: 09 Oct 2019, 00:42
by jerome
Hi

Just wondering if there is an issue with the albumArtist binding and FLAC files. This is on Windows 10.

Using the "ID3 Tags" as datasource and the following simple coding:
{[ext]}\{AlbumArtist}\{y} - {album}\{fn}

Works fine with MP3 files but with FLAC files the AlbumArtist repeats as follows

[flac]\BABii BABii\2019 - HiiDE\2 CARNiiVORE.flac

Thanks
J

Re: albumArtist binding and FLAC files

Posted: 09 Oct 2019, 08:38
by rednoah
Not all files are tagged equally. AFAIK, different container formats use different tagging mechanisms, which in turn behave differently, and may be supported more or less well by MediaInfo.


You can inspect and compare the MediaInfo tables for files that work and don't work and narrow down the significant difference that makes them work / not work:
viewtopic.php?t=4285

Re: albumArtist binding and FLAC files

Posted: 09 Oct 2019, 11:30
by jerome
The mediainfo data for that file is as follows. So I'm guessing that albumArtist binding is picking up the Album/Performer field and that is what is causing the duplication. Anyway easy way to correct for this?

Code: Select all

General
Format                                   : FLAC
Format/Info                              : Free Lossless Audio Codec
File size                                : 23.1 MiB
Duration                                 : 3 min 53 s
Overall bit rate mode                    : Variable
Overall bit rate                         : 831 kb/s
Album                                    : HiiDE
Album/Performer                          : BABii / BABii
Part                                     : 1
Part/Total                               : 1
Track name                               : CARNiiVORE
Track name/Position                      : 2
Track name/Total                         : 9
Performer                                : BABii
Genre                                    : Electro
Recorded date                            : 2019
Cover                                    : Yes
Cover type                               : Cover (front)
Cover MIME                               : image/jpeg
EXPLICIT                                 : 0

Re: albumArtist binding and FLAC files

Posted: 09 Oct 2019, 13:35
by rednoah
IDK. Does any of these fields give you the "album artist" value you want?


:idea: If you're looking for a tool to tag music, then MusicBrainz Picard is probably your best friend.

Re: albumArtist binding and FLAC files

Posted: 09 Oct 2019, 22:48
by jerome
The field with the album artist appears to be this MediaInfo field "Album/Performer". I notice that in the flac files it has "BABii / BABii" but in an mp3 file it is just "BABii".

I replaced {albumArtist} with {media.album_performer.after("/")} and that seems to work for both file types. New string is a follows:

Code: Select all

{[ext]}\{media.album_performer.after("/")}\{y} - {album}\{fn}
Thanks for your help.
J