I've made a bit of headway, but not much. I've been playing around with
slimserver/Slim/Formats/Playlists/CUE.pm, which is where the lines of
the cue sheet are initially imported to make a $tracks array. I can
make it work less well, but I can't make it work any better! So it
occurred to me that it might actually be doing nothing wrong, and I
belatedly turned on Debug logging for -formats.playlists-. Using my
very simple cue sheet example....
Code:
--------------------
TITLE "My Test Album"
PERFORMER "Album Performer"
FILE "My Test Album.flac" WAVE
TRACK 01 AUDIO
TITLE "Track Title 1"
PERFORMER "Track Artist 1"
INDEX 01 00:00:00
TRACK 02 AUDIO
TITLE "Track Title 2"
PERFORMER "Track Artist 2"
INDEX 00 02:23:13
INDEX 01 02:24:63
--------------------
...the result of parsing that information seems sensible. This
'$tracks' dump shows two tracks, each with the top level PERFORMER tag
having been imported as both ALBUMARTIST and ARTIST. The PERFORMER tags
within the individual tracks have been imported as the relevant
TRACKARTISTs.
Code:
--------------------
[21-02-03 17:11:41.1108] Slim::Formats::Playlists::CUE::parse (589) End of
CUE sheet parsing {
1 => {
ALBUM => "My Test Album",
ALBUMARTIST => "Album Performer",
ARTIST => "Album Performer",
AUDIO => 1,
COMPILATION => 1,
CONTENT_TYPE => "flc",
"END" => "144.84",
FILENAME => "file:///mnt/PCP_DATA/Music/Test/My%20Test%20Album.flac",
START => 0,
TITLE => "Track Title 1",
TRACKARTIST => "Track Artist 1",
TRACKNUM => 1,
URI => "file:///mnt/PCP_DATA/Music/Test/My%20Test%20Album.flac#0-144.84",
},
2 => {
ALBUM => "My Test Album",
ALBUMARTIST => "Album Performer",
ARTIST => "Album Performer",
AUDIO => 1,
COMPILATION => 1,
CONTENT_TYPE => "flc",
"END" => "2673.24",
FILENAME => "file:///mnt/PCP_DATA/Music/Test/My%20Test%20Album.flac",
PREGAP => "143.173333333333",
START => "144.84",
TITLE => "Track Title 2",
TRACKARTIST => "Track Artist 2",
TRACKNUM => 2,
URI =>
"file:///mnt/PCP_DATA/Music/Test/My%20Test%20Album.flac#144.84-2673.24",
},
}
--------------------
This looks correct to me. So it must be something further downstream
that stops the ARTIST/ALBUMARTIST fields being used to populate the
Album Artists menu.
If I remove the top level PERFORMER tag then, as noted before, both the
TRACKARTISTs get listed in the Album Artists menu, and it's clear that
this behaviour is caused by something in CUE.pm. Here's the
corresponding debug output, which shows that the ARTIST field now
contains the track artist. My guess is that this is fallback behaviour
for a normal single-artist CD, but perhaps it should fall back a
different way when the album has tracks from multiple artists - maybe
ARTIST should become 'Various'. I think I can probably have a go at
changing that behaviour in CUE.pm, just to see what happens.
Code:
--------------------
[21-02-03 17:32:02.9508] Slim::Formats::Playlists::CUE::parse (589) End of
CUE sheet parsing {
1 => {
ALBUM => "My Test Album",
ARTIST => "Track Artist 1",
AUDIO => 1,
CONTENT_TYPE => "flc",
"END" => "144.84",
FILENAME => "file:///mnt/PCP_DATA/Music/Test/My%20Test%20Album.flac",
START => 0,
TITLE => "Track Title 1",
TRACKARTIST => "Track Artist 1",
TRACKNUM => 1,
URI =>
"file:///mnt/PCP_DATA/Music/Test/My%20Test%20Album.flac#0-144.84",
},
2 => {
ALBUM => "My Test Album",
ARTIST => "Track Artist 2",
AUDIO => 1,
CONTENT_TYPE => "flc",
"END" => "2673.24",
FILENAME => "file:///mnt/PCP_DATA/Music/Test/My%20Test%20Album.flac",
PREGAP => "143.173333333333",
START => "144.84",
TITLE => "Track Title 2",
TRACKARTIST => "Track Artist 2",
TRACKNUM => 2,
URI =>
"file:///mnt/PCP_DATA/Music/Test/My%20Test%20Album.flac#144.84-2673.24",
},
}
--------------------
------------------------------------------------------------------------
chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=113834
_______________________________________________
ripping mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/ripping