Documentation
¶
Index ¶
- func ReadAtoms(r io.ReadSeeker) (metadataMP4, error)
- func ReadFromMP4(r io.ReadSeeker) (metadataMP4, error)
- func SaveTag(tag *IDTag) error
- type ID3Frames
- type IDTag
- func (tag *IDTag) Album() string
- func (tag *IDTag) AlbumArt() *image.Image
- func (tag *IDTag) AlbumArtist() string
- func (tag *IDTag) Artist() string
- func (tag *IDTag) BPM() string
- func (tag *IDTag) ClearAllTags()
- func (tag *IDTag) Comments() string
- func (tag *IDTag) Composer() string
- func (tag *IDTag) ContentType() string
- func (tag *IDTag) CopyrightMsg() string
- func (tag *IDTag) Date() string
- func (tag *IDTag) EncodedBy() string
- func (tag *IDTag) FileType() string
- func (tag *IDTag) Genre() string
- func (tag *IDTag) Language() string
- func (tag *IDTag) Length() string
- func (tag *IDTag) Lyricist() string
- func (tag *IDTag) PartOfSet() string
- func (tag *IDTag) Publisher() string
- func (tag *IDTag) Save() error
- func (tag *IDTag) SetAlbum(album string)
- func (tag *IDTag) SetAlbumArtFromByteArray(albumArt []byte) error
- func (tag *IDTag) SetAlbumArtFromFilePath(filePath string) error
- func (tag *IDTag) SetAlbumArtFromImage(albumArt *image.Image)
- func (tag *IDTag) SetAlbumArtist(albumArtist string)
- func (tag *IDTag) SetArtist(artist string)
- func (tag *IDTag) SetBPM(bpm string)
- func (tag *IDTag) SetComments(comments string)
- func (tag *IDTag) SetComposer(composer string)
- func (tag *IDTag) SetContentType(contentType string)
- func (tag *IDTag) SetCopyrightMsg(copyrightMsg string)
- func (tag *IDTag) SetDate(date string)
- func (tag *IDTag) SetEncodedBy(encodedBy string)
- func (tag *IDTag) SetFileType(fileType string)
- func (tag *IDTag) SetGenre(genre string)
- func (tag *IDTag) SetLanguage(language string)
- func (tag *IDTag) SetLength(length string)
- func (tag *IDTag) SetLyricist(lyricist string)
- func (tag *IDTag) SetPartOfSet(partOfSet string)
- func (tag *IDTag) SetPublisher(publisher string)
- func (tag *IDTag) SetTitle(title string)
- func (tag *IDTag) SetYear(year int)
- func (tag *IDTag) Title() string
- func (tag *IDTag) Year() int
- type Picture
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadAtoms ¶
func ReadAtoms(r io.ReadSeeker) (metadataMP4, error)
ReadAtoms reads MP4 metadata atoms from the io.ReadSeeker into a Metadata, returning non-nil error if there was a problem.
func ReadFromMP4 ¶
func ReadFromMP4(r io.ReadSeeker) (metadataMP4, error)
Types ¶
type IDTag ¶
type IDTag struct {
// contains filtered or unexported fields
}
func (*IDTag) AlbumArtist ¶
func (*IDTag) ClearAllTags ¶
func (tag *IDTag) ClearAllTags()
func (*IDTag) ContentType ¶
func (*IDTag) CopyrightMsg ¶
func (*IDTag) SetAlbumArtFromByteArray ¶
func (*IDTag) SetAlbumArtFromFilePath ¶
func (*IDTag) SetAlbumArtFromImage ¶
func (*IDTag) SetAlbumArtist ¶
func (*IDTag) SetComments ¶
func (*IDTag) SetComposer ¶
func (*IDTag) SetContentType ¶
func (*IDTag) SetCopyrightMsg ¶
func (*IDTag) SetEncodedBy ¶
func (*IDTag) SetFileType ¶
func (*IDTag) SetLanguage ¶
func (*IDTag) SetLyricist ¶
func (*IDTag) SetPartOfSet ¶
func (*IDTag) SetPublisher ¶
Click to show internal directories.
Click to hide internal directories.