Please forgive me if I'm wildly off base here. That's not at all unlikely. But I think what makes certain multi-source cue files non-standard is the addition of a pregap (index 0 command) for each track (>1) to the end of the preceding track. Without this quirk, multi-source cue files can meet all standards.
Results 21 to 26 of 26
Thread: Cue file handling
-
2021-01-14, 08:47 #21
- Join Date
- Jun 2017
- Posts
- 369
LMS 8 nightly; 3 Squeezelite players connected by powerline ethernet; 5 wireless players connected via Airplay Bridge; 1 SqueezeAmp player
no high-end or esoteric audio gear
1 Squeezebox Radio (upgraded UE Smart Radio) now mostly retired
-
2021-01-14, 08:58 #22
- Join Date
- Oct 2005
- Location
- Ireland
- Posts
- 20,088
You're probably right. I don't use cue files and the comment about "INDEX" makes sense as when I tested the unsupported EAC generated variant it had "INDEX" entries.
Originally Posted by vc01
Can you not even share the CUE file with the specific track title associated the audio files obscured.
The structure of the CUE file is important so that it can be checked not the value of the fields.
-
2021-01-14, 12:22 #23
- Join Date
- Apr 2018
- Posts
- 48
Sorry, I misunderstood. Of course I can share the CUE sheet. Artist, album and titles replaced, but the structure fully intact.
Code:REM DATE 2019 PERFORMER "Artist Name" TITLE "Album Title" FILE "Artist Name - Album Title 1.flac" WAVE TRACK 01 AUDIO TITLE "Title 1" PERFORMER "Artist Name" INDEX 01 00:00:00 TRACK 02 AUDIO TITLE "Title 2" PERFORMER "Artist Name" INDEX 01 09:2:00 TRACK 03 AUDIO TITLE "Title 3" PERFORMER "Artist Name" INDEX 01 17:00:00 TRACK 04 AUDIO TITLE "Title 4" PERFORMER "Artist Name" INDEX 01 26:19:54 TRACK 05 AUDIO TITLE "Titel 5" PERFORMER "Artist Name" INDEX 01 35:32:00 TRACK 06 AUDIO TITLE "Title 6" PERFORMER "Artist Name" INDEX 01 42:36:45 FILE "Artist Name - Album Title 2.flac" WAVE TRACK 07 AUDIO TITLE "Title 7" PERFORMER "Artist Name" INDEX 01 00:00:00 TRACK 08 AUDIO TITLE "Title 8" PERFORMER "Artist Name" INDEX 01 07:46:00 TRACK 09 AUDIO TITLE "Title 9" PERFORMER "Artist Name" INDEX 01 17:00:00 TRACK 10 AUDIO TITLE "Title 10" PERFORMER "Artist Name" INDEX 01 22:02:00 TRACK 11 AUDIO TITLE "Title 11" PERFORMER "Artist Name" INDEX 01 26:31:54 TRACK 12 AUDIO TITLE "Title 12" PERFORMER "Artist Name" INDEX 01 33:50:54 TRACK 13 AUDIO TITLE "Title 13" PERFORMER "Artist Name" INDEX 01 37:56:26 TRACK 14 AUDIO TITLE "Title 14" PERFORMER "Artist Name" INDEX 01 43:43:10 TRACK 15 AUDIO TITLE "Title 15" PERFORMER "Artist Name" INDEX 01 50:45:02
-
2021-01-14, 17:40 #24
- Join Date
- Jun 2017
- Posts
- 369
Specifically, I think it's the "INDEX 0" (or 00) command that's the problem, when it's appended to the file containing the previous track. That's the pregap, usually silent, that a CD player starts with when you tell it to play a single track. When playing the whole CD or any subset of multiple tracks in the original order, the pregaps are skipped. At least, I think that's how I remember it working.
The INDEX 01 commands in vco1's cue file are entirely in accordance with the standard. I don't think they should be a problem.
Again, that's what I think, but my expertise is very limited and not very recent.LMS 8 nightly; 3 Squeezelite players connected by powerline ethernet; 5 wireless players connected via Airplay Bridge; 1 SqueezeAmp player
no high-end or esoteric audio gear
1 Squeezebox Radio (upgraded UE Smart Radio) now mostly retired
-
2021-01-15, 00:21 #25
- Join Date
- Apr 2018
- Posts
- 48
I'm still working my way through the code, especially cue.pm. Being not fluent in Perl (to say the least ;-)) and unfamiliar with the inner workings of LMS altogether, that takes a while. Still, I'm pretty sure the handling of a cue sheet with multiple files contains a bug. The fact that the 'source' files show up in the LMS lists with file type 'cur' while these should be hidden (line 656 onwards) is one thing I'm looking into.
-
2021-01-15, 02:24 #26
- Join Date
- Oct 2005
- Location
- Ireland
- Posts
- 20,088
The INDEX 01 description seems to match what Nov?Dec fix was about.
When checking the Nov/Dec fix, my tests were done with CUE files which had a file per track.
Other tests were done with cue files which had one file and multiple tracks.
vc01 cue file has two files and multiple tracks. I don't know if this format variation was considered or tested.
How are these cue files generated so test files can be created ?
The "cur" filetype was a symptom of the Nov/Dec problem - badly processed track had a the "cur" filetype which I think is "internal" to LMS.
My understanding, when parsing an non cue playlist, LMS create a track entry database for each real file.
IIRC when parsing a cue files, LMS creates a virtual track entry for each track - referencing the most recent flac/WAv source files with the offset & duration of the track.
Since 7 tracks are created, it looks like LMS manages the first "FILE" correctly and may have assumed it is a "single " source CUE files and so processing of remaining tracks breaks down.
A comment on the original pull request may notify the author of multi source processing of the issue - https://github.com/Logitech/slimserver/pull/434