IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
Tag wavpack files from command line (Linux), Looking for a Linux command line tool to add/edit/remove wavpack tags
dutch109
post Mar 6 2011, 16:07
Post #1





Group: Members
Posts: 122
Joined: 20-June 06
Member No.: 32044



Hello,

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
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

This post has been edited by dutch109: Mar 6 2011, 16:11


--------------------
Vorbis -q2/5 (Android/PC) & WavPack -hhx6
http://playnoise.com/
Go to the top of the page
+Quote Post
bryant
post Mar 6 2011, 20:11
Post #2


WavPack Developer


Group: Developer (Donating)
Posts: 1290
Joined: 3-January 02
From: San Francisco CA
Member No.: 900



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... smile.gif

David

edit: unmatched paren fix

This post has been edited by bryant: Mar 6 2011, 20:13
Go to the top of the page
+Quote Post
soiaf
post Mar 6 2011, 21:23
Post #3





Group: Members (Donating)
Posts: 73
Joined: 13-May 05
From: Dublin, Ireland
Member No.: 22024



Python Audio Tools http://audiotools.sourceforge.net/index.html 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.

This post has been edited by soiaf: Mar 6 2011, 21:26
Go to the top of the page
+Quote Post
tuffy
post Mar 7 2011, 04:26
Post #4





Group: Members
Posts: 111
Joined: 20-August 07
Member No.: 46367



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. smile.gif
Go to the top of the page
+Quote Post
dutch109
post Mar 7 2011, 20:17
Post #5





Group: Members
Posts: 122
Joined: 20-June 06
Member No.: 32044



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 -hhx6
http://playnoise.com/
Go to the top of the page
+Quote Post
tuffy
post Mar 7 2011, 21:19
Post #6





Group: Members
Posts: 111
Joined: 20-August 07
Member No.: 46367



It uses libcdio for CD data extraction which includes the paranoia library, so it shouldn't be any worse than cdparanoia.
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 26th July 2014 - 15:37