audiotags 1.0.3 copy "audiotags: ^1.0.3" to clipboard
audiotags: ^1.0.3 copied to clipboard

Read and write audio metadata in Flutter. Supports multiple formats.

Audiotags #

Read and write audio metadata in Flutter. Supports multiple formats.

Usage #

Read #

Tag? tag = await AudioTags.read(path);
String? title = tag?.title;
String? artist = tag?.artist;
String? album = tag?.album;
String? genre = tag?.genre;
int? year = tag?.year;
int? duration = tag?.duration;
List<int>? pictureBytes = tag?.picture;

Write #

Tag tag = Tag(
    title: "Title",
    artist: "Artist",
    album: "Album",
    genre: "Genre",
    year: 1970,
    picture: Uint8List.fromList([0, 0, 0, 0])
);
AudioTags.write(path, tag);

Supported Formats #

This plugin uses a Rust crate called lofty to write and read metadata.

The supported formats are listed here.

19
likes
0
pub points
88%
popularity

Publisher

verified publishererikastaroza.com

Read and write audio metadata in Flutter. Supports multiple formats.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

ffi, flutter, flutter_rust_bridge, meta, plugin_platform_interface

More

Packages that depend on audiotags