⬥ ID3 encoding/decoding library in Go ⬥
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Unbewohnte e23cc77070 Fixed command in README 3 years ago
testData Minimal ID3v1.1 support ? 3 years ago
LICENSE Dirty and minimal ID3v1 reading support 3 years ago
README.md Fixed command in README 3 years ago
go.mod Dirty and minimal ID3v1 reading support 3 years ago
id3v1_test.go Minimal ID3v1.1 support ? 3 years ago
id3v1genres.go id3v1genres map is unexported now 3 years ago
id3v10.go Added new helper function 3 years ago
id3v11.go Added new helper function 3 years ago
util.go Added new helper function 3 years ago

README.md

ID3ED (ID3 - Encoder - Decoder)

Library for encoding/decoding ID3 tags

Installation

go get github.com/Unbewohnte/id3ed

Usage

package main

import(
    "fmt"
    "github.com/Unbewohnte/id3ed"
)

func main() {
    mp3file, err := os.Open("/path/to/mp3/myMP3.mp3")
    if err != nil {
        panic(err)
    }

    mp3tags, err := GetID3v11Tags(mp3file)
    if err != nil {
       panic(err)
    }

    // printing all tags
    fmt.Printf("%+v",mp3tags)

    // getting certain tag
    songname := mp3tags.GetSongName()

    // etc.
}

Under construction !

Bugs are a possibility rn in this state