Ports@:
I've been running the following patch for months, and have used it to
tag and retag
thousands of songs without issue. Any chance of this being incorporated into
the ports tree?
scot@spooky:/usr/ports/audio/py-mutagen % cat patches/patch-tools_mid3v2
$OpenBSD$
--- tools/mid3v2.orig Mon Dec 1 20:41:07 2008
+++ tools/mid3v2 Fri Jan 7 20:03:26 2011
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/local/bin/python2.6
# Pretend to be /usr/bin/id3v2 from id3lib, sort of.
# Copyright 2005 Joe Wreschnig
#
@@ -101,6 +101,14 @@ def write_files(edits, filenames):
desc, lang = values[0], values[-1]
frame = mutagen.id3.COMM(
encoding=3, text=value, lang=lang, desc=desc)
+ elif frame == "TXXX":
+ values = value.split(":", 1)
+ if len(values) == 1:
+ desc, value = "", values[0]
+ else:
+ desc, value = values[0], values[1]
+ frame = mutagen.id3.TXXX(
+ encoding=3, text=value, desc=desc)
elif issubclass(mutagen.id3.Frames[frame], mutagen.id3.UrlFrame):
frame = mutagen.id3.Frames[frame](encoding=3, url=value)
else:
--
Br. Scot Bontrager, O.S.L.
[email protected]
[email protected]