Giter Site home page Giter Site logo

ltaglib's Introduction

ltaglib

Lua bindings for the TagLib audio metadata library.

TagLib provides both an abstract API which works on all supported file formats, as well as more advanced format-specific APIs. Currently, ltaglib only wraps the abstract API.

Usage

local taglib = require "ltaglib"

-- open a file
local file = taglib.open("09 The King of Speed.flac")

-- view all available tags
print(f.artist, f.album, f.title, f.comment, f.genre, f.track, f.year)

-- view all available properties
print(f.length, f.bitrate, f.samplerate, f.channels)

-- update some tags
f.artist  = "Takenobu Mitsuyoshi"
f.comment = "there's a crash coming out of turn 3"
f.track   = 9

-- save our changes
f:save()

-- close the file (or just wait for it to be GC'd)
f:close()

ltaglib's People

Contributors

fur-q avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.