class Tags
- Tags
- Reference
- Object
Overview
Uses FFMPEG binary to add metadata to mp3 files
t = Tags.new("bohem rap.mp3")
t.add_album_art("a night at the opera album cover.jpg")
t.add_text_tag("title", "Bohemian Rhapsody")
t.save
Defined in:
interact/tagger.crConstructors
-
.new(filename : String)
initialize the class with an already created MP3
Instance Method Summary
-
#add_album_art(image_location : String) : Nil
Add album art to the mp3.
-
#add_text_tag(key : String, value : String) : Nil
Add a text tag to the mp3.
-
#save : Nil
Run the necessary commands to attach album art to the mp3
Constructor Detail
Instance Method Detail
def add_album_art(image_location : String) : Nil
#
Add album art to the mp3. Album art must be added BEFORE text tags are. Check the usage above to see a working example.
def add_text_tag(key : String, value : String) : Nil
#
Add a text tag to the mp3. If you want to see what text tags are supported, check out: https://wiki.multimedia.cx/index.php?title=FFmpeg_Metadata