fixID3tags

command module
v0.0.0-...-5017baf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 14, 2024 License: MIT Imports: 9 Imported by: 0

README

fixID3tags

Tool to fix incorrect tag encoding in mp3 files.

build:

go build

usage:

$ ./fixID3tags
tag fix
  -dry-run
    	dry run, no changes (default true)
  -fix-ISO8859-1
    	undo UTF8 tag read as ISO8859-1
  -fix-title-only
    	parse and fix title only
  -music-dir string
    	path to music folder
  -override-album string
    	set new value for album tag
  -override-artist string
    	set new value for artist tag
  -skip-empty-tags
    	skip empty tags

Some mp3 files have tags encoded as ISO8859-1 but have russian text inside (cp1251). To fix this and encode as utf8 do

./fixID3tags -music-dir="<MUSIC>"

this will run in dry mode and show suggested changes. To apply changes, run

./fixID3tags -music-dir="<MUSIC>" -dry-run=false

Some mp3 files have incorrectly set encoding as ISO8859-1 but actual data is in UTF8, to fix this do

./fixID3tags -music-dir="<MUSIC>" -fix-ISO8859-1=true

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL