Skip to content
This repository

Writes properties from a given JSON file into the ID3 tags of a given audio file.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.md
Octocat-spinner-32 jsontag.rb
Octocat-spinner-32 sample.json
Octocat-spinner-32 sample.mp3
Octocat-spinner-32 sample.png
README.md

JSONTag

Description

Writes properties from a given JSON file into the ID3 tags of a given audio file

Supported Properties

  • Title (string)
  • Artist (string)
  • Album (string)
  • Year (int)
  • Track Number (int)
  • Genre (string)
  • Artwork (string) (path to PNG file)

Depenencies

Usage

Command-line arguments:

$ ruby jsontag.rb jsonfile.json audiofile.mp3

Interactive:

$ ruby jsontag.rb
> Location of JSON file to read from:
-> sample.json
> Location of audio file to save to:
-> sample.mp3
Something went wrong with that request. Please try again.