Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/apexatoll/audio_tag
🎵 🏷 AudioTag: Ruby library for reading and writing audio file metadata 🎵 🏷
https://github.com/apexatoll/audio_tag
audio id3 id3v2 metadata mp3 ruby
Last synced: 3 months ago
JSON representation
🎵 🏷 AudioTag: Ruby library for reading and writing audio file metadata 🎵 🏷
- Host: GitHub
- URL: https://github.com/apexatoll/audio_tag
- Owner: apexatoll
- License: mit
- Created: 2023-10-09T10:22:45.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-08T15:14:15.000Z (about 1 year ago)
- Last Synced: 2024-05-16T02:42:11.631Z (6 months ago)
- Topics: audio, id3, id3v2, metadata, mp3, ruby
- Language: Ruby
- Homepage:
- Size: 21.5 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
- project-awesome - apexatoll/audio_tag - 🎵 🏷 AudioTag: Ruby library for reading and writing audio file metadata 🎵 🏷 (Ruby)
README
# AudioTag
A Ruby library for reading and writing various audio file metadata. Currently only reading ID3v2 MP3 metadata is supported.
## Installation
Install the gem and add to the application's Gemfile by executing:
$ bundle add audio_tag
If bundler is not being used to manage dependencies, install the gem by executing:
$ gem install audio_tag
## Usage
To read MP3 file metadata:
```ruby
AudioTag::ID3::V2::Tag.from_file(path_to_file).to_h
```## Development
- Note that `AudioTag` is still in active development
- It is planned for further audio metadata formats to be supported in the future## License
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
## Copyright
- Please note that the samples in `spec/examples` have been redacted to contain audio metadata only. These files contain no playable audio data.