Hi,
I'd like to see parsing of CUE files added.
I have many albums with DTS audio ripped to a single WAV with CUE. Being able to parse the CUE would allow me to determine start and end positions within the WAV of each track, and be able to stream individual tracks from SwissCenter.
Thanks,
Nigel
Parsing of CUE files
-
- getID3() contributor
- Posts:103
- Joined:Sat Mar 21, 2009 5:30 pm
- Are you a spambot?:no
- Location:London, UK
- Contact:
-
- getID3() contributor
- Posts:103
- Joined:Sat Mar 21, 2009 5:30 pm
- Are you a spambot?:no
- Location:London, UK
- Contact:
Re: Parsing of CUE files
I've now developed a parser for CUE files which can be used to return an array of defining the CueSheet.
Any chance of this being included in the release?
Any chance of this being included in the release?
- Attachments
-
cue_parse.class.php
- (6.96KiB)Downloaded 1468 times
-
- getID3() v1 developer
- Posts:1477
- Joined:Fri May 04, 2001 4:00 pm
- Are you a spambot?:no
- Location:Northern Ontario, Canada
- Contact:
Re: Parsing of CUE files
Attached are the adapted versions that will be included in the next releases of getID3.
Thank you for your contribution.
The output is very slightly different from your submission, for example:
* lowercase keynames preferred to be consistent with the rest of getID3 style
* minutes/seconds/frames returned as integers
* flags returned as booleans rather than strings
Bug reports are welcome as this has really only been tested on one type of .cue file. If you have a bug to report, I'd appreciate you also providing the CUE file (attached to the message, or even just quoted in the message).
Thank you for your contribution.
The output is very slightly different from your submission, for example:
* lowercase keynames preferred to be consistent with the rest of getID3 style
* minutes/seconds/frames returned as integers
* flags returned as booleans rather than strings
Bug reports are welcome as this has really only been tested on one type of .cue file. If you have a bug to report, I'd appreciate you also providing the CUE file (attached to the message, or even just quoted in the message).
- Attachments
-
getid3v2-cue_20090325.zip
- CUE support for getID3 v2.0.x
- (16.26KiB)Downloaded 1394 times
-
getid3v1-cue_20090325.zip
- CUE support for getID3 v1.7.x
- (14.56KiB)Downloaded 1371 times