Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Cue sheet parsing errors - foobar v1.5.6 (Read 4238 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Cue sheet parsing errors - foobar v1.5.6

Hi all

Can any one help me to understand why Foobar v.1.5.6 would stop reading my cue sheets? All my music is in FLAC format recorded using Exact Audio Copy and saved on a file server. it has been working fine for many years but after sutting down my network for a year during a house extension and then using Foobar for the first time since the shutdown, Foobar cannot load my library of music as it cites errors in every line of each cue sheets for each album. for example:

File:
Z:\FLAC\Aerosmith\Get a Grip\Get A Grip.cue
Status:
Error parsing cuesheet: invalid index list (line 22)
Time occurred:
2020-12-13 12:10:47

the cue sheet reads:

REM GENRE "Hard Rock"
REM DATE 1993
REM DISCID C50F600F
REM COMMENT "ExactAudioCopy v1.3"
PERFORMER "Aerosmith"
TITLE "Get A Grip"
REM COMPOSER ""
FILE "01 Intro.wav" WAVE
  TRACK 01 AUDIO
    TITLE "Intro"
    PERFORMER "Aerosmith"
    REM COMPOSER ""
    PREGAP 00:00:32
    INDEX 01 00:00:00
  TRACK 02 AUDIO
    TITLE "Eat The Rich"
    PERFORMER "Aerosmith"
    REM COMPOSER ""
    INDEX 00 00:23:34
FILE "02 Eat The Rich.wav" WAVE
    INDEX 01 00:00:00
  TRACK 03 AUDIO
    TITLE "Get A Grip"
    PERFORMER "Aerosmith"
    REM COMPOSER ""
    INDEX 00 04:10:37
FILE "03 Get A Grip.wav" WAVE
    INDEX 01 00:00:00
  TRACK 04 AUDIO
    TITLE "Fever"
    PERFORMER "Aerosmith"
    REM COMPOSER ""
    INDEX 00 03:57:74
FILE "04 Fever.wav" WAVE
    INDEX 01 00:00:00
  TRACK 05 AUDIO
    TITLE "Livin' On The Edge"
    PERFORMER "Aerosmith"
    REM COMPOSER ""
    INDEX 00 04:15:04
FILE "05 Livin' On The Edge.wav" WAVE
    INDEX 01 00:00:00
  TRACK 06 AUDIO
    TITLE "Flesh"
    PERFORMER "Aerosmith"
    REM COMPOSER ""
    INDEX 00 06:07:06
FILE "06 Flesh.wav" WAVE
    INDEX 01 00:00:00
  TRACK 07 AUDIO
    TITLE "Walk On Down"
    PERFORMER "Aerosmith"
    REM COMPOSER ""
    INDEX 00 05:56:52
FILE "07 Walk On Down.wav" WAVE
    INDEX 01 00:00:00
  TRACK 08 AUDIO
    TITLE "Shut Up And Dance"
    PERFORMER "Aerosmith"
    REM COMPOSER ""
    INDEX 00 03:39:19
FILE "08 Shut Up And Dance.wav" WAVE
    INDEX 01 00:00:00
  TRACK 09 AUDIO
    TITLE "Cryin'"
    PERFORMER "Aerosmith"
    REM COMPOSER ""
    INDEX 00 04:55:46
FILE "09 Cryin'.wav" WAVE
    INDEX 01 00:00:00
  TRACK 10 AUDIO
    TITLE "Gotta Love It"
    PERFORMER "Aerosmith"
    REM COMPOSER ""
    INDEX 00 05:08:32
FILE "10 Gotta Love It.wav" WAVE
    INDEX 01 00:00:00
  TRACK 11 AUDIO
    TITLE "Crazy"
    PERFORMER "Aerosmith"
    REM COMPOSER ""
    INDEX 00 05:58:19
FILE "11 Crazy.wav" WAVE
    INDEX 01 00:00:00
  TRACK 12 AUDIO
    TITLE "Line Up"
    PERFORMER "Aerosmith"
    REM COMPOSER ""
    INDEX 00 05:16:61
FILE "12 Line Up.wav" WAVE
    INDEX 01 00:00:00
  TRACK 13 AUDIO
    TITLE "Can't Stop Messin'"
    PERFORMER "Aerosmith"
    REM COMPOSER ""
    INDEX 00 04:02:69
FILE "13 Can't Stop Messin'.wav" WAVE
    INDEX 01 00:00:00
  TRACK 14 AUDIO
    TITLE "Amazing"
    PERFORMER "Aerosmith"
    REM COMPOSER ""
    INDEX 00 03:30:39
FILE "14 Amazing.wav" WAVE
    INDEX 01 00:00:00
FILE "15 Boogie Man.wav" WAVE
  TRACK 15 AUDIO
    TITLE "Boogie Man"
    PERFORMER "Aerosmith"
    REM COMPOSER ""
    INDEX 01 00:00:00

Have I missed something while I've been away? does Foobar v.1.5.6 no longer support this type of cue sheet? Given I have nearly a thousand albums I understandably don't want to individually edit them all(!).

Any thoughts?

Re: Cue sheet parsing errors - foobar v1.5.6

Reply #1
Are there any other cue sheets in the folder? because the one you presented points to .wav files, not .flac

Re: Cue sheet parsing errors - foobar v1.5.6

Reply #2
AFAIK, foobar2000 hasn't supported Noncompliant CUE sheets since v0.9 beta 7.
korth

Re: Cue sheet parsing errors - foobar v1.5.6

Reply #3
Thanks for the comments. the library was created in EAC. it converts the .wavs to .flac through its compression tool (don't ask me how) and then the cue sheets are created using the cue sheet tool but there's no way of defining .flac throught this process. Therefore the cue sheets do reference .wav but they are the same cue sheets as were there last year before I powered down and which worked fine in Foobar. it seems to me something has changed since I powered down last year as they are not working any more.

If the bottom line is that I need to replace the cue sheet with a compliant sheet, what is a compliant sheet (or what tool do I use to create a complaint sheet)? Is there an easy way to produce new sheets for the whole library in one go or is it a case of writing off a fortnight of evenings going through each album in turn?

many thanks

Re: Cue sheet parsing errors - foobar v1.5.6

Reply #4
A CUE sheet may be necessary when all tracks are contained in one large file but why do you need the CUE sheet to play individual track files? foobar2000 can be configured to ignore them.

Problems with current CUE
https://web.archive.org/web/20160123204637/http://www.digitalx.org/cue-sheet/syntax/
Quote
[...]
FILE
[...]
    Rules:
        FILE commands must appear before any other command (related to that file).
[...]
INDEX
[...]
    Rules:
        All index numbers must be between 0 and 99 inclusive.
        The first index must be 0 or 1 with all other indexes being sequential to the first one.
        The first index of a file must start at 00:00:00.
        INDEX 00 Specifies the starting time of the track “pregap”.
        INDEX 01 Specifies the starting time of the track data.
        This is the only index that is stored in the disc’s table-of-contents.

Quote
  TRACK 02 AUDIO
    TITLE "Eat The Rich"
    PERFORMER "Aerosmith"
    REM COMPOSER ""
    INDEX 00 00:23:34
FILE "02 Eat The Rich.wav" WAVE
    INDEX 01 00:00:00

FILE "02 Eat The Rich.wav" WAVE
must appear before
  TRACK 02 AUDIO

    INDEX 00 00:23:34
timestamp actually relates to the previous file so not a command for TRACK 02
does not start at 00:00:00
should be removed or REMarked out.

Same goes for Track 03 and so on.
korth

Re: Cue sheet parsing errors - foobar v1.5.6

Reply #5
Thanks for the info Korth

doing a random sample of cue sheets in my library I can see that the first and last tracks are formatted correctly in accordance with the standard you provided but, for all these cue sheets, the file names for the intermediate tracks on the album have dropped below the TRACK ## AUDIO line, as per the example above.

I burnt a new disc this morning to see what the cue sheet looked like. This is what I got. it's a different format again but that could be becuase its an album of varous artists(?):

REM GENRE Pop
REM DATE 2020
REM DISCID 53101315
REM COMMENT "ExactAudioCopy v1.3"
PERFORMER "Various Artists"
TITLE "Now That’s What I Call Music! 107"
REM COMPOSER ""
FILE "Range.wav" WAVE
  TRACK 01 AUDIO
    TITLE "positions"
    PERFORMER "Ariana Grande"
    REM COMPOSER ""
    INDEX 01 00:00:00
  TRACK 02 AUDIO
    TITLE "Sweet Melody"
    PERFORMER "Little Mix"
    REM COMPOSER ""
    INDEX 01 02:51:43
  TRACK 03 AUDIO
    TITLE "Diamonds"
    PERFORMER "Sam Smith"
    REM COMPOSER ""
    INDEX 01 06:25:12
  TRACK 04 AUDIO
    TITLE "Levitating"
    PERFORMER "Dua Lipa feat. DaBaby"
    REM COMPOSER ""
    INDEX 01 09:59:48
  TRACK 05 AUDIO
    TITLE "Take You Dancing"
    PERFORMER "Jason Derulo"
    REM COMPOSER ""
    INDEX 01 13:23:74
  TRACK 06 AUDIO
    TITLE "Tick Tock"
    PERFORMER "Clean Bandit and Mabel feat. 24kGoldn"
    REM COMPOSER ""
    INDEX 01 16:35:66
  TRACK 07 AUDIO
    TITLE "Rain on Me"
    PERFORMER "Lady Gaga & Ariana Grande"
    REM COMPOSER ""
    INDEX 01 19:34:43
  TRACK 08 AUDIO
    TITLE "Really Love"
    PERFORMER "KSI feat. Craig David & Digital Farm Animals"
    REM COMPOSER ""
    INDEX 01 22:38:54
  TRACK 09 AUDIO
    TITLE "Lighter"
    PERFORMER "Nathan Dawe feat. KSI"
    REM COMPOSER ""
    INDEX 01 25:36:54
  TRACK 10 AUDIO
    TITLE "Lasting Lover"
    PERFORMER "Sigala & James Arthur"
    REM COMPOSER ""
    INDEX 01 28:40:17
  TRACK 11 AUDIO
    TITLE "Looking For Me"
    PERFORMER "Paul Woolford & Diplo & Kareen Lomax"
    REM COMPOSER ""
    INDEX 01 32:19:54
  TRACK 12 AUDIO
    TITLE "West Ten"
    PERFORMER "AJ Tracey & Mabel"
    REM COMPOSER ""
    INDEX 01 35:50:27
  TRACK 13 AUDIO
    TITLE "Come Over"
    PERFORMER "Rudimental feat. Anne-Marie & Tion Wayne"
    REM COMPOSER ""
    INDEX 01 39:24:11
  TRACK 14 AUDIO
    TITLE "Over Now"
    PERFORMER "Calvin Harris & The Weeknd"
    REM COMPOSER ""
    INDEX 01 42:50:41
  TRACK 15 AUDIO
    TITLE "What’s Love Got to Do With It"
    PERFORMER "Kygo & Tina Turner"
    REM COMPOSER ""
    INDEX 01 46:22:14
  TRACK 16 AUDIO
    TITLE "One Too Many"
    PERFORMER "Keith Urban & P!nk"
    REM COMPOSER ""
    INDEX 01 49:50:12
  TRACK 17 AUDIO
    TITLE "Heaven on My Mind"
    PERFORMER "Becky Hill & Sigala"
    REM COMPOSER ""
    INDEX 01 53:13:72
  TRACK 18 AUDIO
    TITLE "Paradise"
    PERFORMER "MEDUZA & Dermot Kennedy"
    REM COMPOSER ""
    INDEX 01 56:27:55
  TRACK 19 AUDIO
    TITLE "Too Many Nights"
    PERFORMER "220 Kid & Jc Stewart"
    REM COMPOSER ""
    INDEX 01 59:16:74
  TRACK 20 AUDIO
    TITLE "Magic"
    PERFORMER "Kylie Minogue"
    REM COMPOSER ""
    INDEX 01 62:23:57
  TRACK 21 AUDIO
    TITLE "Four Notes - Paul’s Tune (arr. Daniel Whibley)"
    PERFORMER "Paul Harvey & BBC Philharmonic"
    REM COMPOSER ""
    INDEX 01 65:57:36

I suppose the key questions are:

1. Why and how have the cue sheets changed their format. this is important to know to ensure it doesn't happen again. is it possible that my playback software - Synology DS Audio - has reconfigured the cue sheets in the background?
2.  What software do I use to edit the cue sheet? I can view them and make edits in note pad and word but i can't save the changes as a 'cue sheet' file type, which on my PC appears has a foobar icon against it.
3. Is there an easier way of fixing the errors than editing each cue sheet in turn?
4. When you say REMark out the index line, do you mean insert 'REM' at the start of the line? or just remove the line?

many thanks

Re: Cue sheet parsing errors - foobar v1.5.6

Reply #6
Cue sheets are not playlists, why do you want to use them to play files?

Re: Cue sheet parsing errors - foobar v1.5.6

Reply #7
Thanks lvqcl

I understood the cue sheet held the metadata for the music and that devices require this information to be able to order the tracks and know what they are called etc. My problem is that Foobar is not accessing my music library and is telling me there is a parsing error in my cue sheets. Korth has identified there are formating errors in the cue sheets and I have checked and errors are consistent in whole library of c1000 albums. I can't understand how that has happened as they were working fine previously on Foobar.

I have burnt a disc this morning and the cue sheet looks ok to me. Something has caused the cue sheets in my library to change their format - I don't know what. nevertheless I need to know who to change them back into the correct format without having to go through each CD in turn and create new cue sheets, hence my questions in the last reply.  Incidently the library can be read by my audio player - Synology DS audio - without any problems

thanks

Re: Cue sheet parsing errors - foobar v1.5.6

Reply #8
I edited my previous post before your reply so you may want to reread the first sentence(s).

The example above (Reply #5) is a 'standard single file' CUE sheet. There is only one large file that contains multiple tracks (your burn software may have joined individual files before burning). This CUE can be used to play tracks separately even though all tracks are in one file.
The example in your first post was a 'Multiple files with gaps (Noncompliant)' CUE sheet. Each track is in an individual file. You don't need this CUE to play each track separately because each track is already in a separate file. Just play each file. foobar2000 can be configured to ignore the CUE files and just add the track files to the library.
NOTE: Not all 'Multiple files with gaps' CUE sheets created by EAC are Noncompliant. The INDEX 00 commands are only added (and FILE command moved) when gaps are detected to preserve that information so when you use that CUE to burn a CD-R, the gap information can be added. If no gaps are detected on the original CD, no INDEX 00 commands are written (the FILE command not moved) and the CUE will work fine in foobar2000.

I can answer your questions but I don't see the point of fixing CUE sheets containing one file per track when you don't need them to play the tracks. I just intended to explain why foobar2000 didn't like your original CUE.
korth

Re: Cue sheet parsing errors - foobar v1.5.6

Reply #9
Thanks Korth
I've excluded the .cue files and i've attached a screen pic of the result.
Where am I going wrong?!!  :'(

X

Re: Cue sheet parsing errors - foobar v1.5.6

Reply #10
No wildcard for filename
Code: [Select]
*.cue
korth

Re: Cue sheet parsing errors - foobar v1.5.6

Reply #11
Doh! sometimes its the simple things...

i've applied the changes but the music folder status returns an 'error!' after a long period of 'monitoring'. any ideas?!

R
X

Re: Cue sheet parsing errors - foobar v1.5.6

Reply #12
The problem with the cue sheets is that they are formatted so the pregap is appended to the previous files. This may be fine for single file cue sheets, and may be fine for normal files on disk without their referencing cue sheets, but is somewhat of a pain to deal with as a playlist format. It basically means the player has to open two files for every track, to prepend the tail end of one track onto the head of another track.

Re: Cue sheet parsing errors - foobar v1.5.6

Reply #13
the music folder status returns an 'error!' after a long period of 'monitoring'. any ideas?!
This question should probably move to a new thread with a proper title (no longer a CUE sheet parsing error) so others familiar with this issue may respond.
goto View > Console to see if any problems listed.
korth

Re: Cue sheet parsing errors - foobar v1.5.6

Reply #14
My english is not as good as i wanted so I hope you'll get what I mean. when the Cue sheet is about separated track Foobar needs the same order in each track:

FILE ".wav" WAVE
  TRACK 01 AUDIO
    TITLE ""
    PERFORMER ""
    INDEX 01 00:00:00
FILE ".wav" WAVE
  TRACK 02 AUDIO
    TITLE ""
    PERFORMER ""
    INDEX 01 00:00:00
Etc...

In INDEX 01 00:00:00 time of all of the track is just 0s.

So this must to works:

REM GENRE "Hard Rock"
REM DATE 1993
REM DISCID C50F600F
REM COMMENT "ExactAudioCopy v1.3"
PERFORMER "Aerosmith"
TITLE "Get A Grip"
REM COMPOSER ""
FILE "01 Intro.wav" WAVE
  TRACK 01 AUDIO
    TITLE "Intro"
    PERFORMER "Aerosmith"
    REM COMPOSER ""
    INDEX 01 00:00:00
FILE "02 Eat The Rich.wav" WAVE
  TRACK 02 AUDIO
    TITLE "Eat The Rich"
    PERFORMER "Aerosmith"
    REM COMPOSER ""
    INDEX 01 00:00:00
FILE "03 Get A Grip.wav" WAVE
  TRACK 03 AUDIO
    TITLE "Get A Grip"
    PERFORMER "Aerosmith"
    REM COMPOSER ""
    INDEX 01 00:00:00
FILE "04 Fever.wav" WAVE
  TRACK 04 AUDIO
    TITLE "Fever"
    PERFORMER "Aerosmith"
    REM COMPOSER ""
    INDEX 01 00:00:00
FILE "05 Livin' On The Edge.wav" WAVE
  TRACK 05 AUDIO
    TITLE "Livin' On The Edge"
    PERFORMER "Aerosmith"
    REM COMPOSER ""
    INDEX 01 00:00:00
FILE "06 Flesh.wav" WAVE
  TRACK 06 AUDIO
    TITLE "Flesh"
    PERFORMER "Aerosmith"
    REM COMPOSER ""
    INDEX 01 00:00:00
FILE "07 Walk On Down.wav" WAVE
  TRACK 07 AUDIO
    TITLE "Walk On Down"
    PERFORMER "Aerosmith"
    REM COMPOSER ""
    INDEX 01 00:00:00
FILE "08 Shut Up And Dance.wav" WAVE
  TRACK 08 AUDIO
    TITLE "Shut Up And Dance"
    PERFORMER "Aerosmith"
    REM COMPOSER ""
    INDEX 01 00:00:00
FILE "09 Cryin'.wav" WAVE
  TRACK 09 AUDIO
    TITLE "Cryin'"
    PERFORMER "Aerosmith"
    REM COMPOSER ""
    INDEX 01 00:00:00
FILE "10 Gotta Love It.wav" WAVE
  TRACK 10 AUDIO
    TITLE "Gotta Love It"
    PERFORMER "Aerosmith"
    REM COMPOSER ""
    INDEX 01 00:00:00
FILE "11 Crazy.wav" WAVE
  TRACK 11 AUDIO
    TITLE "Crazy"
    PERFORMER "Aerosmith"
    REM COMPOSER ""
    INDEX 01 00:00:00
FILE "12 Line Up.wav" WAVE
  TRACK 12 AUDIO
    TITLE "Line Up"
    PERFORMER "Aerosmith"
    REM COMPOSER ""
    INDEX 01 00:00:00
FILE "13 Can't Stop Messin'.wav" WAVE
  TRACK 13 AUDIO
    TITLE "Can't Stop Messin'"
    PERFORMER "Aerosmith"
    REM COMPOSER ""
    INDEX 01 00:00:00
FILE "14 Amazing.wav" WAVE
  TRACK 14 AUDIO
    TITLE "Amazing"
    PERFORMER "Aerosmith"
    REM COMPOSER ""
    INDEX 01 00:00:00
FILE "15 Boogie Man.wav" WAVE
  TRACK 15 AUDIO
    TITLE "Boogie Man"
    PERFORMER "Aerosmith"
    REM COMPOSER ""
    INDEX 01 00:00:00

Re: Cue sheet parsing errors - foobar v1.5.6

Reply #15
It looks like the cuesheet will play only .wav files. You may want to change the .wav" WAVE to .flac" WAVE to play flac files. All 15