Topic: Did somebody say cue sheets?

Last edited by vspader (2007-10-11 03:32:25)

Re: Did somebody say cue sheets?

Last edited by RamonSalazar (2007-10-11 13:38:11)

Re: Did somebody say cue sheets?

Thanks for the in-depth explanation, I'll look into it.

Re: Did somebody say cue sheets?

Correct me if I'm wrong, but it looks like it's basically a cosmetic thing?

Re: Did somebody say cue sheets?

If someone wants to write it back to CD similar to the original, it isnt if he also wants his separate files not to begin with silence.

Thats the point of this append gaps to previous tracks (noncompliant) sheets.

Thats because most ripping guides recommend this method even if a noncompliant cue isnt supported by most burning programs. Nero does not support it, EAC and Burrrn do. I dont tested it with Toast yet.

Last edited by RamonSalazar (2007-10-11 13:35:52)

Re: Did somebody say cue sheets?

No, I'm talking about the problem Cog is having reading the cue sheet. I could just have it ignore INDEX 00 entries if that would work.

Re: Did somebody say cue sheets?

Last edited by RamonSalazar (2007-10-11 15:53:00)

Re: Did somebody say cue sheets?

Last edited by RamonSalazar (2007-10-11 16:42:04)

Re: Did somebody say cue sheets?

Last edited by RamonSalazar (2007-10-11 16:39:45)

Re: Did somebody say cue sheets?

Thanks for all the info. It's like somebody could write a book on the cuesheet format smile I updated Cog so it only looks for INDEX 01. Let me know if there are any other problems!

Re: Did somebody say cue sheets?

Sorry I have to say but the problem ive mentioned in #2 still persist. Cog thinks track 7 is 3secs long (and t12 11secs), not 2:29.

And calculates T6 4:22 but the only source of this information could be an INDEX 00. If cog really woluld ignore INDEX 00, it would show 4:26.

Last edited by RamonSalazar (2007-10-12 00:07:09)

Re: Did somebody say cue sheets?

Last edited by RamonSalazar (2007-10-12 01:34:27)

Re: Did somebody say cue sheets?

Last edited by RamonSalazar (2007-10-12 01:53:33)

Re: Did somebody say cue sheets?

(actually a bugreport, but it has strong relation to this topic)
there's problem with Cog 549 when "INDEX 00" is missing (and only index 01 present) but other track have it - instead to trackchange to next track from previous in cue cog starts to output nasty noise
but if you select the 'problem' track in playlist - it plays as expected
here's exact cuesheet where bug was found:

REM GENRE Classical
REM DATE 2007
PERFORMER "Hayley Westenra"
TITLE "Treasure"
FILE "Hayley.Westenra.-.[Treasure].flac" WAVE
  TRACK 01 AUDIO
    TITLE "Let Me Lie"
    INDEX 01 00:00:00
  TRACK 02 AUDIO
    TITLE "Le Notte Del Silenzio (featuring Humphrey Berney)"
    INDEX 01 05:06:18
  TRACK 03 AUDIO
    TITLE "Santa Lucia"
    INDEX 00 09:27:46
    INDEX 01 09:27:48
  TRACK 04 AUDIO
    TITLE "Shenandoah"
    INDEX 00 11:37:58
    INDEX 01 11:37:68
  TRACK 05 AUDIO
    TITLE "Whispering Hope"
    INDEX 01 14:59:43
  TRACK 06 AUDIO
    TITLE "Summer Rain"
    INDEX 01 17:02:06
  TRACK 07 AUDIO
    TITLE "Danny Boy"
    INDEX 00 21:00:34
    INDEX 01 21:00:37
  TRACK 08 AUDIO
    TITLE "One Fine Day"
    INDEX 01 24:42:40
  TRACK 09 AUDIO
    TITLE "The heart worships"
    INDEX 00 28:13:01
    INDEX 01 28:13:04
  TRACK 10 AUDIO
    TITLE "E Pari Ra"
    INDEX 01 31:29:43
  TRACK 11 AUDIO
    TITLE "Sonny"   <<-- when track changes from previous to this there's noise instead, if selected manually in playlist - all fine
    INDEX 00 34:41:74
    INDEX 01 34:42:07
  TRACK 12 AUDIO
    TITLE "Summerfly"
    INDEX 00 37:54:63
    INDEX 01 37:54:71
  TRACK 13 AUDIO
    TITLE "Melancholy Interlude"
    INDEX 01 41:34:54
  TRACK 14 AUDIO
    TITLE "Bist du bei mir"
    INDEX 00 43:12:01
    INDEX 01 43:13:02
  TRACK 15 AUDIO
    TITLE "Abide With Me"
    INDEX 01 46:09:19

in other players all is fine

update: revision 554 is still affected

Last edited by Vasfed (2007-10-13 10:00:41)

Re: Did somebody say cue sheets?

Re: Did somebody say cue sheets?

Oh, another suggestion:

Sometimes cue sheets are not manually edited by the releaser to replace the originally generated ".wav" parts to ".flac" or ".ape".

Would be good if Cog would search for known filetypes for the same filename if there are no wav. Probably there will be a flac or ape or wv.

Re: Did somebody say cue sheets?

Ok, I think I have the file/track order issue taken care of. Could you try out r553?
Edit: Also, Genre should be fixed as of r554

Last edited by vspader (2007-10-13 08:33:55)

Re: Did somebody say cue sheets?

Everything is perfect!

Thanks. smile

Re: Did somebody say cue sheets?

Awesome. Good to know the cue mage is satisfied. smile

Re: Did somebody say cue sheets?

vspader! You did an awesome job! I wanted to subtitube my Vista PC for Mac long time, but this actually diid it. Thanks dude! Works perfect for me.

Re: Did somebody say cue sheets?

vspader, consider adding code like this into CueSheet.m:

//-----------insert
            NSFileManager* fm = [NSFileManager defaultManager];
            NSURL* url = [self urlForPath:path relativeTo:filename];
            if ([url isFileURL] && ![fm fileExistsAtPath:[url absoluteString]] && ![[[url absoluteString] pathExtension] compare:@"wav"]) {
                    //creator fogot to edit cue... happens
                    NSString* sav = [url path];
                    
                    NSEnumerator *iter = [[NSArray arrayWithObjects:@"ape", @"flac", @"wv", nil] objectEnumerator]; //!!! nasty constants, to be replaced with supported audio extensions
                    id item; 
                    NSMutableString* tmpurl = [NSMutableString stringWithCapacity:[sav length]];
                    while ((item = [iter nextObject]) != nil) {
                        [tmpurl setString:sav];
                        [tmpurl replaceCharactersInRange:NSMakeRange([tmpurl length]-3, 3) withString:item];
                        NSLog(@"trying '%@'", tmpurl);
                        if ([fm fileExistsAtPath:tmpurl]) {
                            url = [NSURL fileURLWithPath:tmpurl];
                            NSLog(@"Found image file: '%@'", url);
                            break;
                        }
                    }
            }

            //Need to add basePath, and convert to URL
            [entries addObject:
                                [CueSheetTrack trackWithURL:url //changed
                                                             track: track
                                                             time: seconds 
                                                             artist:artist 
                                                             album:album 
                                                             title:title
                                                             genre:genre
                                                             year:year]];
//--------------
            trackAdded = YES;

- with little edit (for decoder file types and may be some shouting) will be a suitable implementation for searching image file in case when cue was not edited by releaser to match image file name extension

Re: Did somebody say cue sheets?

Thanks. I'll take a look at putting it in tonight.

Re: Did somebody say cue sheets?

Re: Did somebody say cue sheets?

EDT, which is I believe is -4 GMT at the moment. Also, I do have email if you want to ask off-topic questions, or theres the General forum. smile

Re: Did somebody say cue sheets?