Documentation
¶
Overview ¶
Copyright 2013 Michael Yang. All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file.
Copyright 2013 Michael Yang. All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file.
Index ¶
Constants ¶
View Source
const (
LatestVersion = 3
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type File ¶
type File struct { Tagger // contains filtered or unexported fields }
File represents the tagged file
type Mp3Bytes ¶ added in v0.1.1
type Mp3Bytes struct { Tagger // contains filtered or unexported fields }
func NewMp3Bytes ¶ added in v0.1.1
NewMp3Bytes should match Parse above but for in memory mp3 data not on disk files
func (*Mp3Bytes) UpdateEditsIntoBytes ¶ added in v0.1.1
UpdateEditsIntoBytes is like Close above but for in memory mp3 data not on disk
type Tagger ¶
type Tagger interface { Title() string Artist() string Album() string Year() string Genre() string Length() int Comments() []string SetTitle(string) SetArtist(string) SetAlbum(string) SetYear(string) SetGenre(string) SetLength(int) AllFrames() []v2.Framer Frames(string) []v2.Framer Frame(string) v2.Framer DeleteFrames(string) []v2.Framer DeleteFrame(v2.Framer) []v2.Framer AddFrames(...v2.Framer) Bytes() []byte Dirty() bool Padding() uint Size() int Version() string }
Tagger represents the metadata of a tag
Click to show internal directories.
Click to hide internal directories.