Skip to content

lindmik/cuegenerator

 
 

Repository files navigation

CUEgenerator

A small utility which facilitates creating cue files from tracklists.

Build

r.js -o scripts/build-config.js

Tracklist highlights

  • In case if a local performer is absent the global one is used, e.g.

  • Perfomer and title track separators:

    • ' - ' — 45 (hyphen-minus)
    • ' – ' — 8211 (en dash)
    • ' ‒ ' — 8210 (figure dash)
    • ' — ' — 8212 (em dash)
    • ' ― ' — 8213 (horizontal bar)
  • Timings recognition:

    • [08:45] 03. 8 Ball08:45
    • 01.[18:02] Giuseppe18:02
    • 10:57 02. Space Manoeuvres10:57
    • 56:53 T.O.M'56:53
    • 1:02:28 Mossy62:28

Regions list recognition

  • Sony Sound Forge format dd:dd:dd[.,]dd
  • Adobe Audition format dd:dd:dd:dd
  • Audacity format ddddd.dddddd

For developers

_config.php is a pretty plain configuration file, this is an example of mine:

<?php
ini_set('date.timezone', 'America/Vancouver');


define('DEBUG_MODE', true);
define('COUNTER_FILENAME', '_counter.dat');

error_reporting(DEBUG_MODE ? E_ALL | E_STRICT : 0);

_counter.dat is a plain text file where I keep a counter value. There's no predefined content, just make sure it has a writable permissions.

Also please notice there is a test suite located at /scripts/tests/index.html This is highly important if you change cue formatter or parser

About

Creates cue file from tracklist

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 46.3%
  • CSS 21.2%
  • HTML 17.5%
  • PHP 14.5%
  • ApacheConf 0.5%