id3 1.0.2 copy "id3: ^1.0.2" to clipboard
id3: ^1.0.2 copied to clipboard

A cross platform dart package to extract meta data from mp3 files.

example/main.dart

import 'dart:io';
import 'package:id3/id3.dart';

void main(){
  List<int> mp3Bytes = File("./file.mp3").readAsBytesSync(); 
  MP3Instance mp3instance = new MP3Instance(mp3Bytes);
  if(mp3instance.parseTagsSync()){
    print(mp3instance.getMetaTags());
  }
}

// {
//   "Title": "SongName",
//   "Artist": "ArtistName",
//   "Album": "AlbumName",
//   "APIC": {
//     "mime": "image/jpeg",
//     "textEncoding": "0",
//     "picType": "0",
//     "description": "description",
//     "base64": "AP/Y/+AAEEpGSUYAAQEBAE..."
//   }
// }
26
likes
140
points
1.65k
downloads

Publisher

unverified uploader

Weekly Downloads

A cross platform dart package to extract meta data from mp3 files.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on id3