haudiotagger library
Classes
- AudioFileInfo
-
Comprehensive info about an audio file, returned by
inspect. - AudioFingerprint
- A perceptual audio fingerprint.
- AudioProperties
- Immutable, read-only technical audio properties of a file.
- BatchBytesResult
- Result of a batch operation on in-memory bytes.
- BatchProgress
- Progress information for batch operations.
- BatchResult
- Result of a batch operation on file paths.
- Chapter
- Represents a chapter marker in an audio file.
- ExtendedChanges
- A partial set of extended tag fields for partial updates.
- ExtendedTag
-
Extended metadata fields not covered by the basic
Tag. - FieldChange
- A single field change between original and transformed tags.
- FingerprintBackend
-
Implemented by fingerprint providers (e.g.
haudiotagger_fingerprint). - FingerprintRegistry
- Global slot for the active backend.
- Haudiotagger
-
MetadataChange<
T> - A single field change between two tags.
- MetadataDiff
- Result of comparing two tags.
- NormalizeOptions
- Picture
- An object representing a picture metadata.
- PreviewResult
- Result of previewing a pipeline transformation.
- RustLib
- Main entrypoint of the Rust API
- Tag
- Represents the metadata of the file.
- TagChanges
- A partial set of tag fields to apply on top of an existing tag.
- TagPipeline
- A pipeline of transformation rules to apply to audio metadata.
- ValidationIssue
- ValidationResult
Enums
- BitrateMode
- Bitrate encoding mode, when known.
- ChangeType
- The type of change for a single field.
- Id3v2Version
- Represents the ID3v2 version to use when writing.
- MergeStrategy
- Strategy for merging two tags.
- MimeType
- The MIME type of the picture.
- PictureType
- The type of picture of the song.
- TagField
- A specific tag field that can be individually removed.
- UrlReadStrategy
- ValidationSeverity
Extensions
- AudioPropertiesX on AudioProperties
- Convenience accessors for ap.AudioProperties.
- HaudiotaggerErrorPatterns on HaudiotaggerError
- Adds pattern-matching-related methods to HaudiotaggerError.
- PictureCopyWith on Picture
- TagChangesCopyWith on TagChanges
- TagCopyWith on Tag
Functions
-
readProperties(
{required String path}) → Future< AudioProperties> -
Read the technical audio properties of the file at
path. -
readPropertiesFromBytes(
{required List< int> bytes}) → Future<AudioProperties> - Read the technical audio properties from in-memory bytes (for web/WASM).
-
update(
{required String path, required TagChanges changes}) → Future< void> -
Apply
changesto the tag atpath, preserving any fields not mentioned. -
updateFromBytes(
{required List< int> bytes, required TagChanges changes}) → Future<Uint8List> -
Apply
changesto a tag held inbytes, returning the modified bytes.