haudiotagger
3.1.0, released 7 weeks ago by hirdaya-shrestha.com.np
Read, write, and edit audio file metadata across multiple platforms.
What it does
hAudiotagger allows you to read, write, update, and transform audio metadata across formats like MP3, FLAC, M4A, OGG, WAV, and AIFF. Powered by Rust, it supports batch processing, remote URL fetching, artwork management, and perceptual audio fingerprinting.
AI-written summary of version 3.1.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to read or modify audio tags in a Flutter music player or tag editor.
- You want to process audio metadata in batch operations across local files or remote URLs.
Skip it when
- You only need to play, record, or stream audio rather than handle tags and metadata.
Strengths
- High performance through Rust bindings and parallel batch processing.
- Broad cross-platform support including Android, iOS, Linux, macOS, Windows, and Web.
- Supports a wide array of formats (MP3, FLAC, MP4, OGG, WAV, AIFF, etc.).
Weaknesses
- Depends on FFI and Rust integration which increases build complexity.
- Advanced fingerprinting features require an additional package (`haudiotagger_fingerprint`).
Setup
- Kind
- Plugin (native code)
- Effort
- Low
- Code generation
- Yes (build_runner)
- Direct dependencies
- 5
Add the dependency to pubspec.yaml. Web setup may require serving WASM correctly as detailed in the wiki guides.
import 'package:haudiotagger/haudiotagger.dart';
final tag = await Haudiotagger.read('/path/to/song.mp3');
print(tag?.title);
print(tag?.artist);
print(tag?.album);Alternatives
Packages that do the same job and could replace haudiotagger.
- audiotags
Read and write audio file metadata across multiple formats.
51Compare - ffmpeg_kit_flutter_new_audio
Run FFmpeg and FFprobe commands from Dart with prebuilt audio codecs for multiple platforms.
79Compare - kplayer
A cross-platform audio player wrapper supporting assets, network, files, and bytes.
47Compare - audio_decoder
Convert, trim, and analyze audio formats to WAV/PCM using native platform APIs without FFmpeg.
61Compare
Works with
Packages commonly used together with haudiotagger: ones it builds on, ones built on it, and its own family.
- ffihaudiotagger depends on itUtilities for working with Foreign Function Interface (FFI) code in Dart.
- plugin_platform_interfacehaudiotagger depends on itReusable base class for platform interfaces of Flutter federated plugins.
- freezed_annotationhaudiotagger depends on itAnnotations for the freezed code-generator.
- flutter_rust_bridgehaudiotagger depends on itFlutter/Dart and Rust binding generator
- haudiotagger_fingerprintSame familyPerceptual audio fingerprinting for Flutter. Identify and compare recordings by content - duplicate detection, library cleanup, song matching. Powered by Rust.