More id3 tag handling in mkogg.py.
authorW. Trevor King <wking@drexel.edu>
Mon, 14 Mar 2011 20:13:48 +0000 (16:13 -0400)
committerW. Trevor King <wking@drexel.edu>
Mon, 14 Mar 2011 20:13:48 +0000 (16:13 -0400)
posts/mkogg/mkogg.py

index ea42c14690d2c4d74d8a02e0beb5049efd420402..cdd22a001ca379e08966771016cbf01cbd07952f 100755 (executable)
@@ -255,15 +255,24 @@ class Converter (object):
             'tcop': 'copyright',
             'tit2': 'title',
             'tpe1': 'artist',
-            'tpe2': 'band',
+            'tpe2': 'accompaniment',
             'tpe3': 'conductor',
             'tpos': 'part of set',
+            'tpub': 'organization',
             'trck': 'tracknumber',
             'tyer': 'date',
             }
         drop_keys = [
             'apic',  # attached picture
             'geob',  # general encapsulated object
+            'ncon',  # ?
+            'pcnt',  # play counter (incremented with each play)
+            'priv',  # private
+            'tenc',  # encoded by
+            'tope',  # original artist (e.g. for a cover)
+            'tlen',  # length (in milliseconds)
+            'tmed',  # media type
+            'wxxx',  # user defined URL
             ]
         in_v2 = False
         for line in stdout.splitlines():