Versions in this module Expand all Collapse all v0 v0.2.17 Sep 9, 2025 v0.2.16 Sep 9, 2025 v0.2.15 Sep 9, 2025 v0.2.13 Sep 6, 2025 Changes in this version + func ExtractAlbumArt(ctx context.Context, rd io.Reader) (*bytes.Buffer, error) + func UpdateMeta(ctx context.Context, outPath string, params *UpdateMetadataParams, ...) error + type Format struct + BitRate string + Duration string + Filename string + FormatLongName string + FormatName string + NbPrograms int + NbStreams int + ProbeScore int + StartTime string + Tags map[string]string + type ProbeDisposition struct + AttachedPic int + Captions int + CleanEffects int + Comment int + Default int + Dependent int + Descriptions int + Dub int + Forced int + HearingImpaired int + Karaoke int + Lyrics int + Metadata int + Original int + StillImage int + TimedThumbnails int + VisualImpaired int + type Result struct + Format *Format + Streams []*Stream + func ProbeReader(ctx context.Context, rd io.Reader) (*Result, error) + func (r *Result) GetAlbum() string + func (r *Result) GetArtists() []string + func (r *Result) GetTitle() string + func (r *Result) HasAttachedPic() bool + func (r *Result) HasMetadata() bool + type Stream struct + AvgFrameRate string + BitRate string + BitsPerSample int + ChannelLayout string + Channels int + CodecLongName string + CodecName string + CodecTag string + CodecTagString string + CodecType string + Disposition *ProbeDisposition + Index int + RFrameRate string + SampleFmt string + SampleRate string + StartPts int + StartTime string + Tags map[string]string + TimeBase string + type UpdateMetadataParams struct + AlbumArt []byte + AlbumArtExt string + Audio string + AudioExt string + Meta common.AudioMeta