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: 11 months 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 (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2020-05-04T12:08:26.000Z (about 6 years ago)
- Last Synced: 2025-06-26T11:55:16.870Z (about 1 year 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: 2
- 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).
[](https://www.npmjs.com/package/read-audio-tags)
[](https://travis-ci.org/derhuerst/read-audio-tags)

[](https://gitter.im/derhuerst)
[](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).