Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/derhuerst/read-audio-tags
Read tags from all common formats.
https://github.com/derhuerst/read-audio-tags
ffprobe flac id3 m4a metadata mp3 tags
Last synced: 5 days ago
JSON representation
Read tags from all common formats.
- Host: GitHub
- URL: https://github.com/derhuerst/read-audio-tags
- Owner: derhuerst
- License: isc
- Created: 2017-08-11T18:29:15.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-05-04T12:08:26.000Z (over 4 years ago)
- Last Synced: 2024-10-03T23:58:24.473Z (about 1 month ago)
- Topics: ffprobe, flac, id3, m4a, metadata, mp3, tags
- Language: JavaScript
- Homepage: https://github.com/derhuerst/read-audio-tags
- Size: 317 KB
- Stars: 6
- Watchers: 3
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: readme.md
- License: license.md
Awesome Lists containing this project
README
# read-audio-tags
**Read tags from all common formats.** Uses [ffprobe](http://ffmpeg.org/ffprobe.html).
[![npm version](https://img.shields.io/npm/v/read-audio-tags.svg)](https://www.npmjs.com/package/read-audio-tags)
[![build status](https://img.shields.io/travis/derhuerst/read-audio-tags.svg)](https://travis-ci.org/derhuerst/read-audio-tags)
![ISC-licensed](https://img.shields.io/github/license/derhuerst/read-audio-tags.svg)
[![chat on gitter](https://badges.gitter.im/derhuerst.svg)](https://gitter.im/derhuerst)
[![support me on Patreon](https://img.shields.io/badge/support%20me-on%20patreon-fa7664.svg)](https://patreon.com/derhuerst)## Installing
```shell
npm install read-audio-tags
```## Usage
```js
const readTags = require('read-audio-tags')readTags('/path/to/audio.m4a', (err, tags) => {
if (err) console.error(err)
else console.log(tags)
})
```## API
```js
readTags(file, [ffprobe], cb)
```You may pass in an `ffprobe` path to use a custom executable, e.g. from [`ffprobe-static`](https://github.com/joshwnj/ffprobe-static).
## Contributing
If you have a question or have difficulties using `read-audio-tags`, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, refer to [the issues page](https://github.com/derhuerst/read-audio-tags/issues).