Documentation ¶
Index ¶
- func SaveMP3(tag *MP3Tag, w io.Writer) error
- type MP3Tag
- func (m *MP3Tag) ClearAllTags()
- func (t *MP3Tag) GetAlbum() string
- func (t *MP3Tag) GetAlbumArtist() string
- func (t *MP3Tag) GetArtist() string
- func (t *MP3Tag) GetBPM() int
- func (t *MP3Tag) GetComposer() string
- func (t *MP3Tag) GetCopyright() string
- func (t *MP3Tag) GetCoverArt() *image.Image
- func (t *MP3Tag) GetDate() string
- func (t *MP3Tag) GetDiscNumber() int
- func (t *MP3Tag) GetDiscTotal() int
- func (t *MP3Tag) GetEncoder() string
- func (t *MP3Tag) GetGenre() string
- func (t *MP3Tag) GetISRC() string
- func (t *MP3Tag) GetLanguage() string
- func (t *MP3Tag) GetLength() string
- func (t *MP3Tag) GetLyricist() string
- func (t *MP3Tag) GetPublisher() string
- func (t *MP3Tag) GetSubTitle() string
- func (t *MP3Tag) GetTitle() string
- func (t *MP3Tag) GetTrackNumber() int
- func (t *MP3Tag) GetTrackTotal() int
- func (t *MP3Tag) GetYear() int
- func (t *MP3Tag) Save(w io.Writer) error
- func (t *MP3Tag) SetAlbum(album string)
- func (t *MP3Tag) SetAlbumArtist(albumArtist string)
- func (t *MP3Tag) SetArtist(artist string)
- func (t *MP3Tag) SetBPM(bpm int)
- func (t *MP3Tag) SetComposer(composer string)
- func (t *MP3Tag) SetCopyright(copyright string)
- func (t *MP3Tag) SetCoverArt(coverArt *image.Image)
- func (t *MP3Tag) SetDate(date string)
- func (t *MP3Tag) SetDiscNumber(discNumber int)
- func (t *MP3Tag) SetDiscTotal(discTotal int)
- func (t *MP3Tag) SetEncoder(encoder string)
- func (t *MP3Tag) SetGenre(genre string)
- func (t *MP3Tag) SetISRC(isrc string)
- func (t *MP3Tag) SetLanguage(language string)
- func (t *MP3Tag) SetLength(length string)
- func (t *MP3Tag) SetLyricist(lyricist string)
- func (t *MP3Tag) SetPublisher(publisher string)
- func (t *MP3Tag) SetSubTitle(subTitle string)
- func (t *MP3Tag) SetTitle(title string)
- func (t *MP3Tag) SetTrackNumber(trackNumber int)
- func (t *MP3Tag) SetTrackTotal(trackTotal int)
- func (t *MP3Tag) SetYear(year int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MP3Tag ¶
type MP3Tag struct { Album string CoverArt *image.Image AlbumArtist string Artist string BPM string Composer string //multiple seperated by / Copyright string //must begin with year yyyy and a space Date string //limit 4 char DDMM DiscNumber int //TPOS DiscNumberString string DiscTotal int EncodedBy string Genre string ISRC string Language string Length string //length in millisecs Lyricist string //multiple seperated by / Title string TrackNumber int TrackNumberString string TrackTotal int Publisher string SubTitle string Year string // contains filtered or unexported fields }
func (*MP3Tag) ClearAllTags ¶
func (m *MP3Tag) ClearAllTags()
func (*MP3Tag) GetAlbumArtist ¶
func (*MP3Tag) GetComposer ¶
func (*MP3Tag) GetCopyright ¶
func (*MP3Tag) GetCoverArt ¶
func (*MP3Tag) GetDiscNumber ¶
func (*MP3Tag) GetDiscTotal ¶
func (*MP3Tag) GetEncoder ¶
func (*MP3Tag) GetLanguage ¶
func (*MP3Tag) GetLyricist ¶
func (*MP3Tag) GetPublisher ¶
func (*MP3Tag) GetSubTitle ¶
func (*MP3Tag) GetTrackNumber ¶
func (*MP3Tag) GetTrackTotal ¶
func (*MP3Tag) SetAlbumArtist ¶
func (*MP3Tag) SetComposer ¶
func (*MP3Tag) SetCopyright ¶
func (*MP3Tag) SetCoverArt ¶
func (*MP3Tag) SetDiscNumber ¶
func (*MP3Tag) SetDiscTotal ¶
func (*MP3Tag) SetEncoder ¶
func (*MP3Tag) SetLanguage ¶
func (*MP3Tag) SetLyricist ¶
func (*MP3Tag) SetPublisher ¶
func (*MP3Tag) SetSubTitle ¶
func (*MP3Tag) SetTrackNumber ¶
func (*MP3Tag) SetTrackTotal ¶
Click to show internal directories.
Click to hide internal directories.