Skip to content

TheLinx/LuaCue

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
cue
 
 
 
 
 
 
 
 

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