Skip to content

TheLinx/LuaCue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A cuesheet parser for Lua.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages