A cuesheet parser for Lua.
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
cue
examples
CHANGELOG
LICENSE
README.textile

README.textile

LuaCue

LuaCue is a cuesheet parser for Lua. It is managed by Linus Sjögren.
The code is licensed under the CC0 license. Basically, public domain.

Dependencies

Here’s a list of stuff LuaCue needs to run:

It should be automatically installed if you install LuaCue with LuaRocks.

How to install (with LuaRocks)

Run the command luarocks install http://github.com/TheLinx/LuaCue/raw/rocks/cue-1.1.0-1.rockspec

How to install (Manually)

Put the folder luahtml somewhere in your Lua module path.
On Linux/Mac this is usually something like /usr/local/share/lua/5.1/.
On Windows it’s C:\Program Files\Lua\5.1\.

Using LuaCue in your script

Example:

require("cue")
decodedData = cue.decode(*file name, file handle, or raw cuesheet data*)
print("Track 2 starts at "..decodedData.tracks[2].indices[1].." seconds")

For more detailed examples, take a look at the examples.