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.
Here’s a list of stuff LuaCue needs to run:
It should be automatically installed if you install LuaCue with LuaRocks.
Run the command luarocks install http://github.com/TheLinx/LuaCue/raw/rocks/cue-1.1.0-1.rockspec
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\.
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.