audiotags
1.4.5, released 2 years ago by erikastaroza.com
Read and write audio file metadata across multiple formats.
What it does
Allows reading and writing tags such as title, artist, album, genre, year, track numbers, and embedded pictures in audio files. It uses a Rust backend to support multiple audio formats.
AI-written summary of version 1.4.5, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to read or update audio tags (ID3, etc.) directly in files.
- You are building a music player or file manager that needs to display track metadata and embedded cover art.
Skip it when
- You only need to stream or play audio without modifying its tags.
- You are targeting web platform (not supported by this plugin).
Strengths
- Supports multiple audio formats via the lofty Rust crate.
- Provides methods for both reading and writing metadata.
- Handles embedded pictures and lyrics.
Weaknesses
- Relies on FFI and Rust components which may add build complexity.
- Web platform is not supported.
Setup
- Kind
- Plugin (native code)
- Effort
- Low
- Code generation
- Yes (build_runner)
- Direct dependencies
- 6
Relies on flutter_rust_bridge and FFI; standard plugin installation applies for supported platforms (android, ios, windows, macos, linux).
Tag? tag = await AudioTags.read(path);
String? title = tag?.title;
String? album = tag?.album;Alternatives
Packages that do the same job and could replace audiotags.
- haudiotagger
Read, write, and edit audio file metadata across multiple platforms.
74Compare - record
Record audio from the microphone to a file or stream with multiple codec options.
94Compare - audioplayers
A Flutter plugin to play multiple audio files simultaneously
87Compare - ffmpeg_kit_flutter_new_audio
Run FFmpeg and FFprobe commands from Dart with prebuilt audio codecs for multiple platforms.
79Compare
Works with
Packages commonly used together with audiotags: ones it builds on, ones built on it, and its own family.
- uuidaudiotags depends on itGenerates and parses RFC‑4122/9562 UUIDs (v1‑v8) for Dart.
- ffiaudiotags depends on itUtilities for working with Foreign Function Interface (FFI) code in Dart.
- plugin_platform_interfaceaudiotags depends on itReusable base class for platform interfaces of Flutter federated plugins.
- freezed_annotationaudiotags depends on itAnnotations for the freezed code-generator.
- flutter_rust_bridgeaudiotags depends on itFlutter/Dart and Rust binding generator