gharris999
2005-08-10, 22:21
I just submitted this as bug 1958: http://bugs.slimdevices.com/show_bug.cgi?id=1958
If an MP3 file has ID3v2 tags and if both the ARTIST and the V2_TCOM (composer) tags are equal, SlimServer only records the composer role and ignores the artist role.
Example:
This file (without a V2_TCOM tag) is Genre->Artist->Album browse-able in SlimServer:
C:\Recordings\Music\a_Medieval\Anonymous\La Vièle Médiévale\01 - Rotundellus (Galicia, Cantiga 105).mp3
Format: MPEG 1 Layer 3, Stereo
Details: 44100 Hz Stereo, 179 kbps, playtime 04:29
Tags: ID3v1, ID3v2
Title: Rotundellus (Galicia, Cantiga 105)
Artist: Anonymous
Album: La Vièle Médiévale
Year:
Track: 01
Genre: a_Medieval
Comment: La Lira D'Espéria: La Mièle Médiéval
Jordi Savall, Lira, Rebab, Vièles
Pedro Estevan, Percussion
If one adds a V2_TCOM tag to the file…
C:\Recordings\Music\a_Medieval\Anonymous\La Vièle Médiévale\01 - Rotundellus (Galicia, Cantiga 105).mp3
Format: MPEG 1 Layer 3, Stereo
Details: 44100 Hz Stereo, 179 kbps, playtime 04:29
Tags: ID3v1, ID3v2
Title: Rotundellus (Galicia, Cantiga 105)
Artist: Anonymous
Album: La Vièle Médiévale
Year:
Track: 01
Genre: a_Medieval
Comment: La Lira D'Espéria: La Mièle Médiéval
Jordi Savall, Lira, Rebab, Vièles
Pedro Estevan, Percussion
Composer=Anonymous
..and rescans the library, the album can no longer be browsed to via Albums, Artists, Genres or Years. If one browses the music folder, one can select one of the tracks in the (otherwise non-browse-able) album and see that COMPOSER=anonymous is listed, but no ARTIST is listed.
If one performs the following SQL query to select the track in question:
SELECT genres.name AS GenreName, albums.title AS AlbumTitle, tracks.tracknum, tracks.title AS TrackTitle, contributor_track.role AS ContribRole
FROM ((((genres INNER JOIN genre_track ON genres.id = genre_track.genre) INNER JOIN tracks ON genre_track.track = tracks.id) INNER JOIN albums ON tracks.album = albums.id) INNER JOIN contributor_track ON tracks.id = contributor_track.track) INNER JOIN contributors ON contributor_track.contributor = contributors.id
WHERE (((albums.title) Like "La V*") AND ((tracks.tracknum)=1));
…only one row is returned with this data:
GenreName: A_Medieval
AlbumTitle: La Vièle Médiévale
tracknum: 1
TrackTitle: Rotundellus (Galicia, Cantiga 105)
ContribRole: 2
Shouldn't Slimserver record TWO contributor_track records for this track, one for ARTIST and one for COMPOSER??? Could this behavior be the source of many of the "ablums/tracks missing after scan" reports that have cropped up lately?
If an MP3 file has ID3v2 tags and if both the ARTIST and the V2_TCOM (composer) tags are equal, SlimServer only records the composer role and ignores the artist role.
Example:
This file (without a V2_TCOM tag) is Genre->Artist->Album browse-able in SlimServer:
C:\Recordings\Music\a_Medieval\Anonymous\La Vièle Médiévale\01 - Rotundellus (Galicia, Cantiga 105).mp3
Format: MPEG 1 Layer 3, Stereo
Details: 44100 Hz Stereo, 179 kbps, playtime 04:29
Tags: ID3v1, ID3v2
Title: Rotundellus (Galicia, Cantiga 105)
Artist: Anonymous
Album: La Vièle Médiévale
Year:
Track: 01
Genre: a_Medieval
Comment: La Lira D'Espéria: La Mièle Médiéval
Jordi Savall, Lira, Rebab, Vièles
Pedro Estevan, Percussion
If one adds a V2_TCOM tag to the file…
C:\Recordings\Music\a_Medieval\Anonymous\La Vièle Médiévale\01 - Rotundellus (Galicia, Cantiga 105).mp3
Format: MPEG 1 Layer 3, Stereo
Details: 44100 Hz Stereo, 179 kbps, playtime 04:29
Tags: ID3v1, ID3v2
Title: Rotundellus (Galicia, Cantiga 105)
Artist: Anonymous
Album: La Vièle Médiévale
Year:
Track: 01
Genre: a_Medieval
Comment: La Lira D'Espéria: La Mièle Médiéval
Jordi Savall, Lira, Rebab, Vièles
Pedro Estevan, Percussion
Composer=Anonymous
..and rescans the library, the album can no longer be browsed to via Albums, Artists, Genres or Years. If one browses the music folder, one can select one of the tracks in the (otherwise non-browse-able) album and see that COMPOSER=anonymous is listed, but no ARTIST is listed.
If one performs the following SQL query to select the track in question:
SELECT genres.name AS GenreName, albums.title AS AlbumTitle, tracks.tracknum, tracks.title AS TrackTitle, contributor_track.role AS ContribRole
FROM ((((genres INNER JOIN genre_track ON genres.id = genre_track.genre) INNER JOIN tracks ON genre_track.track = tracks.id) INNER JOIN albums ON tracks.album = albums.id) INNER JOIN contributor_track ON tracks.id = contributor_track.track) INNER JOIN contributors ON contributor_track.contributor = contributors.id
WHERE (((albums.title) Like "La V*") AND ((tracks.tracknum)=1));
…only one row is returned with this data:
GenreName: A_Medieval
AlbumTitle: La Vièle Médiévale
tracknum: 1
TrackTitle: Rotundellus (Galicia, Cantiga 105)
ContribRole: 2
Shouldn't Slimserver record TWO contributor_track records for this track, one for ARTIST and one for COMPOSER??? Could this behavior be the source of many of the "ablums/tracks missing after scan" reports that have cropped up lately?