Skip to content

Latest commit

 

History

History
32 lines (27 loc) · 760 Bytes

README.md

File metadata and controls

32 lines (27 loc) · 760 Bytes

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