Debian Codegraph @

README.md

raw symbols SCIP
1 taglib-go
2 =========
3
4 Apache-licensed audio tag decoding library written in pure
5 go. Designed to mirror the structure of
6 [taglib](http://taglib.github.io/) without being a direct port.
7
8 ## tl;dr
9 ```
10 go get github.com/hjfreyer/taglib-go/taglib
11 ```
12 ```
13 import "github.com/hjfreyer/taglib-go/taglib"
14 ...
15 func main() {
16 f, err := os.Open("song.mp3")
17 tag, err := taglib.Decode(f)
18 fmt.Print(tag.Title())
19 }
20 ```
21 ## Features
22 Currently has basic read support for id3v2.3 and id3v2.4. No writing
23 support yet.
24
25 ## Goals
26 * Pure go.
27 * Not necessarily feature complete, but future compatible.
28 * Good interfaces.
29 * Handle errors properly (don't panic).
30
31 ## Why didn't you just use… ?
32 There are many other Go projects which do tag parsing, but all the
33 ones I found violate at least one of the goals above.
34
35 ## Why don't you support… ?
36 Probably no reason other than it hasn't happened yet. If you need a
37 particular format, or an additional feature, or you've found a file
38 which taglib-go *should* parse but doesn't, please create an
39 [issue](https://github.com/hjfreyer/taglib-go/issues), or better yet,
40 send a patch.
41
42 NOTE: Though the copyright for this code is owned by Google, Google
43 does not endorse its use.