Skip to main content

Topic: Tag wavpack files from command line (Linux) (Read 5159 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • dutch109
  • [*][*][*]
Tag wavpack files from command line (Linux)

I'm looking for a Linux command line tool that would allow editing tags of Wavpack files after they are encoded, in order to integrate it in big encoding/transcoding shell scripts.
Using the official wvunpack I can easily extract tag values in a script, i.e like that:
Code: [Select]
title=$(wvunpack "$input_file" -x 'TITLE' 2> /dev/null)

However I can not modify the tags once the wavpack file is created.

I'm currently using lltag (frontend to metaflac, vorbiscomment, etc.) for my tagging needs, but it does not recognize Wavpack files.
Unfortunately Apetag does not seem to support Wavpack either.

Is there any program that could do that, and if not is it possible to do it the hard way using grep, sed, etc ?

Thank you
  • Last Edit: 06 March, 2011, 10:11:04 AM by dutch109
Vorbis -q2/5 (Android/PC) & WavPack -hhx6m

  • bryant
  • [*][*][*][*][*]
  • Developer (Donating)
Tag wavpack files from command line (Linux)
Reply #1
One of my long-term projects is to provide this kind of functionality in the WavPack command-line programs, but unfortunately it's fairly low on the priority queue.

However, I built and tried the Apetag program that you mentioned and I did not have any trouble getting it to work with WavPack files. The only issue I had was that it didn't handle binary tags well (it seemed to convert them to text tags when I updated anything). What trouble did you have?

Also, in the past I have been able to use the program Tag (created by HA's own Synthetic Soul and available here) running under Wine (although again I'm not sure it handles cover art because of the binary tags).

Hope this helps... 


edit: unmatched paren fix
  • Last Edit: 06 March, 2011, 02:13:23 PM by bryant

  • soiaf
  • [*][*]
  • Members (Donating)
Tag wavpack files from command line (Linux)
Reply #2
Python Audio Tools should work for you - in particular the tracktag command.
I've only used it a few times, but its capable of adding tags to WavPack files including binary tags (e.g. cover art).
Should mention I've never tried removing tags with it, so don't if/how well it handles that.
  • Last Edit: 06 March, 2011, 03:26:37 PM by soiaf

  • tuffy
  • [*][*][*]
Tag wavpack files from command line (Linux)
Reply #3
I'll have to add tag removal to the next version of tracktag.  The functionality for removing individual tag items is in the core library, but I haven't added those options at the tool level yet.  I tend to add or modify tags a lot more than removing them, so it slips my mind.

  • dutch109
  • [*][*][*]
Tag wavpack files from command line (Linux)
Reply #4
Thank you for your answers guys.

I misread the Apetag homepage and thought it was a frontend for other tag tools. I just tested it and it seems to works fine with Wavpack files.

Python Audio Tools seems a bit overkill for my tagging needs, but I'll have a look at it for its ripping capabilities (is it considered as "secure" as cdparanoia?).
Vorbis -q2/5 (Android/PC) & WavPack -hhx6m

  • tuffy
  • [*][*][*]
Tag wavpack files from command line (Linux)
Reply #5
It uses libcdio for CD data extraction which includes the paranoia library, so it shouldn't be any worse than cdparanoia.