From: W. Trevor King Date: Mon, 14 Mar 2011 20:13:48 +0000 (-0400) Subject: More id3 tag handling in mkogg.py. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b050db42c6fc3d219335d270c0d99528203f5aed;p=mw2txt.git More id3 tag handling in mkogg.py. --- diff --git a/posts/mkogg/mkogg.py b/posts/mkogg/mkogg.py index ea42c14..cdd22a0 100755 --- a/posts/mkogg/mkogg.py +++ b/posts/mkogg/mkogg.py @@ -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():