Hi, I am new to this mailing list. I am adding FLAC support to the SLIMP3 player (http://www.slimdevices.com) and I had two questions about utilizing the format. The SLIMP3 player is a network mp3 player with an open source server written in perl. All audio must be re-encoded to the mp3 format before the player can use it. 1. Do any perl modules exist to read and/or write the metadata in a FLAC file? 2. What is the best way to "play" individual tracks for a FLAC with an embedded cue sheet? I think I can do this on the FLAC command line with --skip and --util after reading the cuesheet metadata, but is there an easier way? Thanks for any advice, --Jason __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com
--- Jason Holtzapple <jasonholtzapple@yahoo.com> wrote:> Hi, I am new to this mailing list. > > I am adding FLAC support to the SLIMP3 playerexcellent... keep us posted.> 1. Do any perl modules exist to read and/or write the metadata in a > FLAC file?not that I know of. the metadata parsing is not too bad but writing data back can get hairy. probably the best thing to do is to write a module that wraps around the various ways to call metaflac.> 2. What is the best way to "play" individual tracks for a FLAC with > an > embedded cue sheet? I think I can do this on the FLAC command line > with > --skip and --util after reading the cuesheet metadata, but is there > an > easier > way?on my TODO list are shorthand notation options for flac that internally turn '--track=4' to '--skip=12312459 --until=45234623'. but slimp3 users will probably want more functionality (maybe skipping to index points or something) so it's probably best to parse the cuesheet/streaminfo and write the options you need. Josh __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com
Is there a sample of such a file somewhere ( flac with cue sheet ). I whould like to investigate implementing this in vlc. Sigmund On Mon, Jul 21, 2003 at 03:48:22PM -0700, Josh Coalson wrote:> --- Jason Holtzapple <jasonholtzapple@yahoo.com> wrote: > > Hi, I am new to this mailing list. > > > > I am adding FLAC support to the SLIMP3 player > > excellent... keep us posted. > > > 1. Do any perl modules exist to read and/or write the metadata in a > > FLAC file? > > not that I know of. the metadata parsing is not too bad but > writing data back can get hairy. probably the best thing to > do is to write a module that wraps around the various ways > to call metaflac. > > > 2. What is the best way to "play" individual tracks for a FLAC with > > an > > embedded cue sheet? I think I can do this on the FLAC command line > > with > > --skip and --util after reading the cuesheet metadata, but is there > > an > > easier > > way? > > on my TODO list are shorthand notation options for flac that > internally turn '--track=4' to '--skip=12312459 --until=45234623'. > but slimp3 users will probably want more functionality (maybe > skipping to index points or something) so it's probably best to > parse the cuesheet/streaminfo and write the options you need. > > Josh > > > __________________________________ > Do you Yahoo!? > SBC Yahoo! DSL - Now only $29.95 per month! > http://sbc.yahoo.com > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Flac-dev mailing list > Flac-dev@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/flac-dev