Page 1 of 1

Too long FLAC Tag Album Artist forces new album per file

PostPosted: Mon Jan 13, 2014 3:18 pm
by n3mmr
Supposedly, if the Album Artist field differs between two tracks having identical Album tags, server software can treat the two tracks as belonging to different, distinct albums, just having the same Album name.

However, if the Album Artist field in two FLAC files are identical, but very long, Serviio will decide they are distinct anyway. These two tracks are then presented as belonging to different albums, but with no visible clues as to which is which. Confusing.

Test by:

set up two tracks with different titles but all other fields identical. Make sure the Album and Album Artist fields are filled in (make them a single character??). Note they are presented in menus as different songs in the same album.

Now replace the Album Artist tags in both tracks by identical but very long strings. and refresh the library. Note the two tracks are now presented as two albums, although seemingly w/o any difference visible to the user.

I saw this using the linux distro used under OpenIndiana Solaris clone.

It might be due to some problem in handling some return value in a system call, where subtle differences may occur for hazy reasons between near identical systems.

The tag value that showed the bug was found in a commercially obtained FLAC file from Deutsche Grammophon.

Re: Too long FLAC Tag Album Artist forces new album per file

PostPosted: Fri Jan 17, 2014 11:56 am
by n3mmr
n3mmr wrote:Supposedly, if the Album Artist field differs between two tracks having identical Album tags, server software can treat the two tracks as belonging to different, distinct albums, just having the same Album name.

However, if the Album Artist field in two FLAC files are identical, but very long, Serviio will decide they are distinct anyway. These two tracks are then presented as belonging to different albums, but with no visible clues as to which is which. Confusing.

Test by:

set up two tracks with different titles but all other fields identical. Make sure the Album and Album Artist fields are filled in (make them a single character??). Note they are presented in menus as different songs in the same album.

Now replace the Album Artist tags in both tracks by identical but very long strings. and refresh the library. Note the two tracks are now presented as two albums, although seemingly w/o any difference visible to the user.

I saw this using the linux distro used under OpenIndiana Solaris clone.

It might be due to some problem in handling some return value in a system call, where subtle differences may occur for hazy reasons between near identical systems.

The tag value that showed the bug was found in a commercially obtained FLAC file from Deutsche Grammophon.


The commercial FLAC file that turned the problem up had
"album_artist : Wiener Philharmoniker, Claudio Abbado, Maurizio Pollini, Gabriela Lechner, Gretchen Eder, Elisabeth Mach, Jorge Pita, Andreas Esders, Gerhard Eder, Konzertvereinigung Wiener Staatsopernchor, Walter Hagen-Groll"
as its value for that tag.
Not even very long. FLAC tags can, supposedly, be 2 ^ 24 characters.

Re: Too long FLAC Tag Album Artist forces new album per file

PostPosted: Sat Jan 18, 2014 9:29 am
by zip
Serviio would trim that for its database anyway.

Re: Too long FLAC Tag Album Artist forces new album per file

PostPosted: Sat Jan 18, 2014 10:19 am
by n3mmr
You do understand that the problem is that all tracks from the same album are presented as separate albums in the menu?

Re: Too long FLAC Tag Album Artist forces new album per file

PostPosted: Thu Jan 23, 2014 7:10 am
by n3mmr
BUMP!

Re: Too long FLAC Tag Album Artist forces new album per file

PostPosted: Thu Jan 23, 2014 10:12 pm
by zip
Raise it as a bug on Bitbucket please