Documentation
¶
Index ¶
- Constants
- func AddTrackTags(trackBuffer []byte, track types.TrackType, albumCoverSize int) ([]byte, error)
- func DownloadAlbumCover(albumPicture string, albumCoverSize int) ([]byte, error)
- func WriteMetadataFlac(buffer []byte, track types.TrackType, album *types.AlbumTypePublicApi, ...) ([]byte, error)
- func WriteMetadataMp3(buffer []byte, track types.TrackType, album *types.AlbumTypePublicApi, ...) ([]byte, error)
Constants ¶
View Source
const ( CoverSize56 = 56 CoverSize250 = 250 CoverSize500 = 500 CoverSize1000 = 1000 CoverSize1500 = 1500 CoverSize1800 = 1800 )
Valid cover sizes
Variables ¶
This section is empty.
Functions ¶
func AddTrackTags ¶
AddTrackTags adds metadata to the track buffer (MP3 or FLAC) based on track and album information.
func DownloadAlbumCover ¶
DownloadAlbumCover downloads an album cover based on the provided album picture hash and cover size.
func WriteMetadataFlac ¶
func WriteMetadataMp3 ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.