mutagen icon indicating copy to clipboard operation
mutagen copied to clipboard

Writing multiple values for `WOAR` fails

Open araspik opened this issue 6 years ago • 0 comments

Hello! I'm using mid3v2 to manually tag my audio (because it's fun).

$ mid3v2 --version
mid3v2 1.3
Uses Mutagen 1.43.0

I also have the spec open for ID3v2.4 frames, and I'm looking at WOAR:

  WOAR
   The 'Official artist/performer webpage' frame is a URL pointing at
   the artists official webpage. There may be more than one "WOAR" frame
   in a tag if the audio contains more than one performer, but not with
   the same content.

One audio file I have (.mp3, I don't know more about how music files work) has two performers, and so I was attempting to add both their website URLs:

$ mid3v2 --WOAR "<website A>" --WOAR "<website B>" <file>
$ mid3v2 -l <file>
...
WOAR=<website B>

The first website wasn't saved! In fact, I opened the file in Neovim and checked myself, the first website wasn't saved at all! Some messing with the file manually and then testing with mid3v2 eventually got two different WOAR frames (individual headers, not multiple values) in, but they're in reverse order (website B followed by website A, with a few other tags in the middle), and mid3v2 only shows website B.

What's the issue with WOAR, and how do I save (and see from mid3v2 -l) multiple websites? Update: Turns out that doing

$ mid3v2 --WOAR "<website A>" <file>
$ mid3v2 --WOAR "<website B>" <file>
$ mid3v2 -l <file>
...
WOAR=<website A>
WOAR=<website B>

works! It's just that doing --WOAR twice in one invocation fails.

araspik avatar Nov 25 '19 19:11 araspik