Move tags to toplevel
This commit is contained in:
parent
a12441c34e
commit
724c8ee9eb
1 changed files with 12 additions and 10 deletions
22
flacinfo
22
flacinfo
|
@ -13,6 +13,18 @@ import os
|
|||
import sys
|
||||
|
||||
|
||||
VORBIS_ARG_NAME = {
|
||||
'artist': 'ARTIST',
|
||||
'comment': 'COMMENT',
|
||||
'genre': 'GENRE',
|
||||
'album': 'ALBUM',
|
||||
'albumnumber': 'DISCNUMBER',
|
||||
'track': 'TRACKNUMBER',
|
||||
'title': 'TITLE',
|
||||
'year': 'DATE',
|
||||
}
|
||||
|
||||
|
||||
def argparser():
|
||||
""" Parses the arguments from sys.argv """
|
||||
parser = argparse.ArgumentParser(
|
||||
|
@ -52,16 +64,6 @@ def isFlacFile(path):
|
|||
|
||||
|
||||
def makeMetaflacArgs(inArgs):
|
||||
VORBIS_ARG_NAME = {
|
||||
'artist': 'ARTIST',
|
||||
'comment': 'COMMENT',
|
||||
'genre': 'GENRE',
|
||||
'album': 'ALBUM',
|
||||
'albumnumber': 'DISCNUMBER',
|
||||
'track': 'TRACKNUMBER',
|
||||
'title': 'TITLE',
|
||||
'year': 'DATE',
|
||||
}
|
||||
outArgs = []
|
||||
|
||||
for arg in inArgs:
|
||||
|
|
Loading…
Reference in a new issue