Skip to content

Instantly share code, notes, and snippets.

@xNul
xNul / id3.lua
Last active May 2, 2018 08:44 — forked from mkottman/id3.lua
An ID3 tag reader implemented in pure Lua. Supports ID3v1 tags and a subset of ID3v2 tags.
--- A simple Love2D module to read ID3 tags from MP3 files.
-- Supports ID3v1 tags and a (meaningful) subset of ID3v2 tags.
-- @class module
-- @name id3
-- @author Michal Kottman and Love2D compatibility updates by Blake Wyatt
-- @copyright 2011, released under MIT license
local id3 = {}
local function textFrame(name)