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 - Invalid Path Syntax (Read 11911 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Cue Sheet - Invalid Path Syntax

I am using a cue sheet for the first time and when I load it into the Playlist and attempt to play it, I get the following error message:


Unable to open item for playback (Invalid path syntax):
"E:\Music\Edited-WAV\Schubert\Impromptus op. 90, D 899\Impromptus Op. 90, D899.cue" / index: 1

Unable to open item for playback (Invalid path syntax):
"E:\Music\Edited-WAV\Schubert\Impromptus op. 90, D 899\Impromptus Op. 90, D899.cue" / index: 2

Unable to open item for playback (Invalid path syntax):
"E:\Music\Edited-WAV\Schubert\Impromptus op. 90, D 899\Impromptus Op. 90, D899.cue" / index: 3

Unable to open item for playback (Invalid path syntax):
"E:\Music\Edited-WAV\Schubert\Impromptus op. 90, D 899\Impromptus Op. 90, D899.cue" / index: 4


The cue sheet was created in Goldwave and the Notepad entry for the full sheet is  as follows

FILE "E:\Music\Edited-WAV\Schubert\Impromptus op. 90, D 899\Impromptus Op. 90, D899.wav" WAVE
  TRACK 01 AUDIO
    TITLE "No. 1 in C minor (Allegro molto moderato)"
    INDEX 01 00:00:00
  TRACK 02 AUDIO
    TITLE "No. 2 in E flat (Allegro)"
    INDEX 01 08:36:66
  TRACK 03 AUDIO
    TITLE "No. 3 in G flat (Andante)"
    INDEX 01 13:02:16
  TRACK 04 AUDIO
    TITLE "No. 4 in A flat (Allegretto)"
    INDEX 01 18:27:00

The associated WAV file plays OK if selected directly.

I am probably missing something basic, but all advice would be welcome - many thanks - Roy Simpson

 

Cue Sheet - Invalid Path Syntax

Reply #1
FILE "Impromptus Op. 90, D899.wav" WAVE
The path in the Cue file must be relative. (It's also better that you can move the CUE+WAV somewhere else and it still works.)
Full-quoting makes you scroll past the same junk over and over.

Cue Sheet - Invalid Path Syntax

Reply #2
"The path in the Cue file must be relative."

Yirkha - I'm sorry - I don't understand what needs to be done - please give more details.


"(It's also better that you can move the CUE+WAV somewhere else and it still works.)"

- and also here!

Thanks - Roy

Cue Sheet - Invalid Path Syntax

Reply #3
The file path in your cue sheet is an absolute path: the full path to the file.  A relative path describes the path to a file relative to the current file.  If your WAVE and CUE are in the same folder you could use the relative path "Impromptus Op. 90, D899.wav".

As Yirkha says, this makes the combo more portable: as long as they are in the same folder they should always work together; using an absolute path means the the WAVE file must stay exactly where the CUE file says it is.

It is likely that your WAVE file is not actually where the cuesheet says it is; switching to a relative path (as above) should resolve the issue.

AFAIK, you can use both absolute and relative paths in cue sheets; however relative paths are a lot easier to maintain.

To clarify, change the cue sheet line:

Code: [Select]
FILE "E:\Music\Edited-WAV\Schubert\Impromptus op. 90, D 899\Impromptus Op. 90, D899.wav" WAVE

to
Code: [Select]
FILE "Impromptus Op. 90, D899.wav" WAVE

and ensure the two files are in the same folder.
I'm on a horse.

Cue Sheet - Invalid Path Syntax

Reply #4
It looks for the specified audio (WAV) file in the same folder where the CUE is. When there is a line like this
FILE "E:\Music\Edited-WAV\Schubert\Impromptus op. 90, D 899\Impromptus Op. 90, D899.wav" WAVE
it tries to open "E:\Music\Edited-WAV\Schubert\Impromptus op. 90, D 899\E:\Music\Edited-WAV\Schubert\Impromptus op. 90, D 899\Impromptus Op. 90, D899.wav", which indeed is an invalid path.

You need to change the CUE file in Notepad (or in Goldwave if there is some way to do so, I don't know) so that the line looks like this:
FILE "Impromptus Op. 90, D899.wav" WAVE
That means there will be no folder names, only the final filename.


The note regarding moving files around was about the implication of this change. If you would move both the WAV and CUE files to e.g. "C:\Music\...", it would still try to find the WAV in "E:\Music\...", because the whole path is specified so in the cuesheet. However, if there is only the filename, it will work anywhere, because it will look for the WAV always in the same directory.

Bah, slow HA is slow.
Just to add, I don't know if there is some standard if Cue sheets can contain absolute paths or not, it's just how fb2k does it now and it also is more portable, so why not to do so.
Full-quoting makes you scroll past the same junk over and over.

Cue Sheet - Invalid Path Syntax

Reply #5
Brilliant - now works perfectly. Thanks for your help - and for your patience.

best wishes - Roy

Cue Sheet - Invalid Path Syntax

Reply #6
Just to add, I don't know if there is some standard if Cue sheets can contain absolute paths or not, it's just how fb2k does it now and it also is more portable, so why not to do so.
I just tested, and you are correct: foobar won't handle absolute paths.

I know that some software does use absolute paths; Wave Repair springs to mind.  I'm sure earlier versions of foobar (perhaps not since 0.8) did process absolute paths.

As you say, relative paths are far more sensible anyway.
I'm on a horse.