Search packages, repositories and app categories

Package detailsv0.4.1

dart_tags

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

AndroidiOSWebmacOSWindowsLinux
30-day downloads
427
Likes
23
Pub points
150

Install package

flutter pub add dart_tags

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

dart_tags is a pure Dart library for reading and writing music metadata tags, such as ID3, supporting various audio formats. It enables developers to manage metadata in Flutter, web, and VM applications without platform-specific dependencies. The library is lightweight, cross-platform, and ideal for apps requiring tag manipulation, like music players or audio editors. With straightforward APIs, it simplifies tasks like retrieving song titles, artists, album info, and adding custom tags. Its open-source nature allows for community contributions and transparency.

Use cases

  • Reading and writing ID3 tags
  • Building music player apps
  • Editing audio metadata
  • Creating audio management tools
  • Integrating with web-based audio platforms

Key features

  • Pure Dart implementation
  • Cross-platform support
  • Supports ID3 tags
  • Lightweight and fast
  • Open-source and extensible

Suitable for

  • Flutter developers
  • Web audio applications
  • Desktop audio tools
  • Audio metadata managers
  • Dart-only projects

Considerations

  • Limited to ID3 format
  • No support for other tag types like Vorbis comments
  • Requires manual handling of file I/O
  • Not optimized for large-scale batch processing
  • Depends on external file access permissions

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

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.4.1

  • thanx to @antitim for find and reslove issue with a broken images in the tags in this [PR]
  • dependencies update

0.4.0 (Null Safety)

  • thanx for migrating to null safety to @timekone and this PR
  • updated some dependencies

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

Instalation

add dependency in pubsec.yaml

dependencies:
  dart_tags: ^0.4.0

Usage

A simple usage example:

import 'dart:io';

import 'package:dart_tags/dart_tags.dart';

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

  final 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 @algoshipda @timekone

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

Categories

Dependencies

Dependency list 3 items

Source repository

Projects using this package