Rockbox

Tasklist

FS#12419 - Support for embedded cuesheets.

Attached to Project: Rockbox
Opened by Nick Peskett (nickp) - Thursday, 01 December 2011, 10:47 GMT
Last edited by Nick Peskett (nickp) - Friday, 16 December 2011, 10:50 GMT
Task Type Patches
Category ID3 / meta data
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Release 3.9
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

This patch adds the ability for a cuesheet to be embedded within a tag of an audio file, and to be read directly from there.

Currently only the ID3v2 TXXX:CUESHEET tag is supported, but I plan to look into FLAC next.
This task depends upon

Closed by  Nick Peskett (nickp)
Friday, 16 December 2011, 10:50 GMT
Reason for closing:  Accepted
Additional comments about closing:  Submitted with r31321 and r31322.
Comment by Nick Peskett (nickp) - Thursday, 01 December 2011, 10:48 GMT
I've attached a perl script to generate a little test mp3 to demonstrate the patch. You'll need the CPAN MP3::Tag module installed to run it (Debian package libmp3-tag-perl).

Alternatively, you can use eyeD3 (package eyed3 or http://eyed3.nicfit.net/) to attach an existing cuesheet to a corresponding mp3 file;

eyeD3 --set-user-text-frame="CUESHEET:`cat example.cue`" example.mp3
Comment by Nick Peskett (nickp) - Saturday, 03 December 2011, 01:55 GMT
Added support for FLAC with cuesheet embedded using --tag-from-file, e.g.;

flac --tag-from-file="CUESHEET=example.cue" example.wav -o example.flac
Comment by Nick Peskett (nickp) - Tuesday, 13 December 2011, 09:27 GMT
Added a manual entry.
Comment by Nick Peskett (nickp) - Tuesday, 13 December 2011, 09:31 GMT
To encode Ogg Vorbis or Speex;

oggenc -c "CUESHEET=`cat example.cue`" example.wav -o example.ogg

speexenc --comment "CUESHEET=`cat example.cue`" example.wav example.spx
Comment by Nick Peskett (nickp) - Tuesday, 13 December 2011, 10:55 GMT
Vorbis comments now default to utf8 encoding.
Comment by Nick Peskett (nickp) - Wednesday, 14 December 2011, 15:13 GMT
Support for character encoded ID3 tags and UTF-16
Comment by Nick Peskett (nickp) - Friday, 16 December 2011, 09:18 GMT
Tidied and now doing more secure BOM checking.

Loading...