Skip to content
Provide easy viewing and updating of media file tags from command line.
Go
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cmd
helper
LICENSE
README.md
id3go.go

README.md

id3go use go-taglib for easy viewing and updating of media file tags.

Features

  • Minimalistic output for easy batch processing
  • Support file list, wildcard filename(shell globing)
  • Support unicode through TagLib
  • Display and update following tags
    • Album
    • Artist
    • Comments
    • Title
    • Track
    • Year

Dependencies

Alpine

apk add taglib-dev libc-dev

OSX

brew install taglib

Ubuntu

apt-get install libtagc0-dev

Install

go get github.com/J-Siu/id3go

Usage

Get

Display tags of files.

id3go get <files>

Examples:

id3go get media.mp3
id3go get *.mp3

Set

Set tags of files.

id3go set [flags] <files>

Flags:

short long usage
-S --Save save to file. Without this flag, set will not writing to files (dry run).
-A --album string set album
-a --artist string set artist
-c --comment string set comments
-h --help help for set
-t --title string set title
-T --track string set track
-y --year string set year

Examples:

# Set artist="me", title="A song title", in dry run mode (default)
id3go set -a me -t "A song title" song.mp3

# Set artist="me", title="A song title", and saving (-S) to file
id3go set -a me -t "A song title" -S song.mp3

# Set album="My Record" to all mp3 in current dir, dry run only
id3go set --album "My Record" *.mp3

Repository

Contributors

Changelog

  • 1.0
    • Initial release

License

The MIT License

Copyright (c) 2019

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

You can’t perform that action at this time.