Adding slightly tested support for OGG, using VorbisComment parsing from flac.go

This commit is contained in:
Simon L
2015-05-19 21:56:05 +02:00
parent e5ad564af4
commit 109d54c374
2 changed files with 104 additions and 0 deletions
+3
View File
@@ -29,6 +29,9 @@ func ReadFrom(r io.ReadSeeker) (Metadata, error) {
case string(b[0:4]) == "fLaC":
return ReadFLACTags(r)
case string(b[0:4]) == "OggS":
return ReadOGGTags(r)
case string(b[4:11]) == "ftypM4A":
return ReadAtoms(r)