Audiotags
Read and write audio metadata in Flutter. Supports multiple formats.
Install / Use
/learn @erikas-taroza/AudiotagsREADME
AudioTags
Read and write audio metadata in Flutter. Supports multiple formats.
Usage
Read
Tag? tag = await AudioTags.read(path);
String? title = tag?.title;
String? trackArtist = tag?.trackArtist;
String? album = tag?.album;
String? albumArtist = tag?.albumArtist;
String? genre = tag?.genre;
int? year = tag?.year;
int? trackNumber = tag?.trackNumber;
int? trackTotal = tag?.trackTotal;
int? discNumber = tag?.discNumber;
int? discTotal = tag?.discTotal;
int? duration = tag?.duration;
List<Picture>? pictures = tag?.pictures;
Write
Tag tag = Tag(
title: "Title",
trackArtist: "Track Artist",
album: "Album",
albumArtist: "Album Artist",
genre: "Genre",
year: 2000,
trackNumber: 1,
trackTotal: 2,
discNumber: 1,
discTotal: 3,
pictures: [
Picture(
bytes: Uint8List.fromList([0, 0, 0, 0]),
mimeType: null,
pictureType: PictureType.other
)
]
);
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.
Related Skills
openhue
352.2kControl Philips Hue lights and scenes via the OpenHue CLI.
sag
352.2kElevenLabs text-to-speech with mac-style say UX.
weather
352.2kGet current weather and forecasts via wttr.in or Open-Meteo
casdoor
13.3kAn open-source AI-first Identity and Access Management (IAM) /AI MCP & agent gateway and auth server with web UI supporting OpenClaw, MCP, OAuth, OIDC, SAML, CAS, LDAP, SCIM, WebAuthn, TOTP, MFA, Face ID, Google Workspace, Azure AD
