dart_tags 0.3.1 copy "dart_tags: ^0.3.1" to clipboard
dart_tags: ^0.3.1 copied to clipboard

outdated

The library for work with music tags like ID3. Written on pure Dart. It can be used in flutter, web, and vm projects.

Dart Tags #

Coverage Status pub package Build Status Awesome Dart MIT

The library for parsing ID3 tags, written in pure Dart.

You can found sample app written with flutter framework here.

License #

project under MIT license

Changelogs #

full changelog

0.3.1 #

  • implemented separate getting size of frame for id3 v2.3 and v2.4
  • added test case and asset
  • fixed typos, thanx to @algoshipda and his PR
  • fixed APIC picture type error, thanx to @algoshipda and his PR

0.3.0+1 #

  • hotfix! missed exports for new tags was added

0.3.0 (BREAKING CHANGES) #

  • COMM, APIC, USLT, WXXX tags returns as a map
  • WXXX frame returns WURL object
  • various fixes
  • added USLT tag
  • added possibility to pass many COMM, APIC, USLT tags
  • APIC processing was refactored
  • hex encoder
  • unrecognized encoding falls to hex encoder (removed unsupported encoding error)
  • unsupported tags like PRIV will be printed just like raw binary data

Instalation #

add dependency in pubsec.yaml

dependencies:
  dart_tags: ^0.3.1

Usage #

A simple usage example:

import 'dart:io';

import 'package:dart_tags/dart_tags.dart';

main(List<String> args) {
  TagProcessor tp = new TagProcessor();

  File f = new File(args[0]);

  tp.getTagsFromByteArray(f.readAsBytes()).then((l) => l.forEach((f) => print(f)));
}

Code of conduct #

Please refer our code of conduct.

Features and bugs #

Please feel free for feature requests and bugs at the issue tracker.

In addition #

Thanx for contributing @magodo, @frankdenouter

Thanx for the Photo by Mink Mingle on Unsplash that we using in unit tests.

20
likes
0
pub points
74%
popularity

Publisher

verified publisherdart.tools

The library for work with music tags like ID3. Written on pure Dart. It can be used in flutter, web, and vm projects.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

collection, convert, utf

More

Packages that depend on dart_tags