Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Multimedia
  • Search

Command line tool to remove GENRE tag from files?

Help with creation, editing, or playback of sounds, images, or video. Amarok, audacious, mplayer, grip, cdparanoia and anything else that makes a sound or plays a video.
Post Reply
Advanced search
9 posts • Page 1 of 1
Author
Message
Martux
Veteran
Veteran
User avatar
Posts: 1917
Joined: Fri Feb 04, 2005 9:09 pm

Command line tool to remove GENRE tag from files?

  • Quote

Post by Martux » Mon May 24, 2010 12:25 pm

Hi!
I have a lot of different files (mp3s, flac, ogg) with totally f*cked up genre tags.
When I load the whole mess into EasyTag it takes ages to remove that field (~2 days).
Is there a commandline tool available which can handle all of these different file types?
"Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction"
Top
audiodef
Watchman
Watchman
User avatar
Posts: 6656
Joined: Wed Jul 06, 2005 1:02 pm
Location: The soundosphere
Contact:
Contact audiodef
Website

  • Quote

Post by audiodef » Mon May 24, 2010 3:56 pm

If you search portage for "mp3" using eix, you'll get quite a list. Here are some things you can try:

mp3info
mp3diags
mp3asm (listed as a command line tool)

"eix id3" gives, among others:

kid3
id3tool (command line utility. This is the one I was trying to recall)
id3ed
id3

Hope that gives you a place to start!
decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
Top
Martux
Veteran
Veteran
User avatar
Posts: 1917
Joined: Fri Feb 04, 2005 9:09 pm

  • Quote

Post by Martux » Tue May 25, 2010 9:08 pm

Holy cow!
Thank god there aren't too many options ;)
Any recommendations? Am I right that flac files don't use id3 tags?
I'd love something simple and easy to use.
"Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction"
Top
audiodef
Watchman
Watchman
User avatar
Posts: 6656
Joined: Wed Jul 06, 2005 1:02 pm
Location: The soundosphere
Contact:
Contact audiodef
Website

  • Quote

Post by audiodef » Thu May 27, 2010 1:42 pm

I don't know about flac and id3 tags, and I haven't really used these utilities myself. I know about them because of my work with audio on Linux.

The best I can suggest is try them and see what suits you best. :wink:
decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
Top
Ant P.
Watchman
Watchman
Posts: 6920
Joined: Sat Apr 18, 2009 7:18 pm
Contact:
Contact Ant P.
Website

  • Quote

Post by Ant P. » Thu May 27, 2010 10:42 pm

Ogg is easy:

Code: Select all

vorbiscomment $i.ogg | grep -v '^GENRE=' | vorbiscomment -w $i.ogg
You can probably do something similar with the other types.
Top
Martux
Veteran
Veteran
User avatar
Posts: 1917
Joined: Fri Feb 04, 2005 9:09 pm

  • Quote

Post by Martux » Fri May 28, 2010 9:32 pm

Flac is easy too:

Code: Select all

metaflac --remove-tag=GENRE  file
Problem is my lack of scripting skillz :roll:
How could I recurse into subdirs (with spaces into the names)?
"Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction"
Top
audiodef
Watchman
Watchman
User avatar
Posts: 6656
Joined: Wed Jul 06, 2005 1:02 pm
Location: The soundosphere
Contact:
Contact audiodef
Website

  • Quote

Post by audiodef » Fri May 28, 2010 9:48 pm

I think PHP can execute an external script.

Anyone want to come up with a PHP script that recurses and runs an id3tag program?

Of course, it might be easier in bash, it's just that I used to code in PHP and I vaguely remember something about PHP being able to call external programs. So there's a geek factor there.
decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
Top
GWilliam
Guru
Guru
Posts: 350
Joined: Thu Dec 29, 2005 2:11 pm

  • Quote

Post by GWilliam » Tue Jun 01, 2010 2:55 am

#NULL
Last edited by GWilliam on Sun Jul 25, 2010 5:57 pm, edited 1 time in total.
Top
cach0rr0
Bodhisattva
Bodhisattva
User avatar
Posts: 4123
Joined: Thu Nov 13, 2008 11:14 pm
Location: Houston, Republic of Texas

  • Quote

Post by cach0rr0 » Tue Jun 01, 2010 5:38 am

Martux wrote:Flac is easy too:

Code: Select all

metaflac --remove-tag=GENRE  file
Problem is my lack of scripting skillz :roll:
How could I recurse into subdirs (with spaces into the names)?
would this not work?

Code: Select all

find -type f -iname '*.flac' -print0 |xargs -0 <whatevercommand>
(apologies if I'm missing something here, first idea that came to mind)
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Top
Post Reply

9 posts • Page 1 of 1

Return to “Multimedia”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic