Conversation
|
Do you have anything to back it up? It's always been "albumartist" for me. |
|
Without this modification, uploaded Album is always belongs to "various artist" (Artist ID: 2). Song is belongs to a correct Artist, though. |
|
Are you sure? This controller handles data posted from the AWS, which uses |
|
Found how App\Models\File class handle determination of compilation album. https://github.com/phanan/koel/blob/master/app/Models/File.php#L165-L168 |
|
|
||
| $artist_tag = trim(array_get($tags, 'artist')); | ||
| $is_compilation = false; | ||
| if (trim(array_get($tags, 'part_of_a_compilation')) || |
| $artist_tag = trim(array_get($tags, 'artist')); | ||
| $is_compilation = false; | ||
| if (trim(array_get($tags, 'part_of_a_compilation')) || | ||
| trim(array_get($tags, 'albumartist')) !== $artist_tag) |
There was a problem hiding this comment.
- Expected 1 space after closing parenthesis; found 10
- Whitespace found at end of line
|
I have done a lot of tagging in the past and worked extensively with the id3v2.3 and id3v2.4. Having information in the album artist field does not mean its a compilation or collection. What it does mean is there is the artist of the overall album. What I have found using programs that access musicbrainz and editors that allow complete access to all the vast fields in the mp3 tags, such as jaikoz, is that AlbumArtist should take precedence over artist when dealing with albums, and artist should take precedence when dealing with songs. For an example, a lot of artists will come out with songs on an album that they created but might feature another artist as a musician or singer. There has been a lot of back and forth whether the featured artist should be mentioned in the artist or the song fields. Most of the time it ends up in the artist name for that song. A non-smart player that doesn't support AlbumArtist will see that as a different artist and automatically break the album apart or mis-categorize it as a compilation or various artist album. While it really is still just an official release from an artist that has a few songs where they feature another musician. In this example, the album should show up under the artist that matches the AlbumArtist field. Where as viewing the song is just songs view would show up the Artist. That way it is viewable and available in both views. What I have found that works really well in other programs like ampache is that albums are typically grouped by folder, the software respects that grouping, and the AlbumArtist is used when it is available. That way the album shows up under the correct artist and doesn't get all broken out and spread across multiple areas. Albums that have different artists in the artist field and do not have an AlbumArtist field out get thrown into the Various Artist category. Likewise a lot of compilations will list the AlbumArtist as Various Artists and those should be grouped correctly as Various Artist for the Album and the individual different Artist names for the songs. There is also a boolean true false compilation field that can be used in the tags, but a lot of editors don't use it and a lot of players do not honor it. I find that the software really needs to be internet connected and go out to databases like musicbrainz in order to pull that info, as to if its an official release, compilation/greatest of, bootleg, single, etc. |
|
Is much more likely to happen here? I'd love to see @greengeek's insights put into practice. |
|
Replaced by #1461. |

For S3 Song controller.