A C library for parsing cue sheet.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE
README.md
cue_common.h
cue_parser.c
cue_parser.h
cue_serializer.c
cue_serializer.h
cue_utils.c
cue_utils.h
test.c
test.cue

README.md

c-cuelib

A simple cue parser C library for parsing cue sheet.

Usage

  • It's simple to use like this:
  #include "cue_paser.h"
  
  CueSheet *cue_sheet = parse_cue(filename);

  /* get meta data */
  int total_track = cue_sheet->total_track;
  .....
  • There's also a convenience way to get meta data:
  #include "cue_paser.h"
  
  CueSheet *cue_sheet = parse_cue(filename);
  
  int track_num = get_int_metadata(cue_sheet, i, TRACK_NUM);
  int track_start = get_int_metadata(cue_sheet, i, TRACK_START);
  int track_end = get_int_metadata(cue_sheet, i, TRACK_END));
  ...

All the metadata filed can be found in MetaDataField.

License

c-cuelib is release under LGPL license.