Chris Pomeroy
2017-10-23 3e8fc348e56a144cf68d0080bd1e5354a05fc8fe
Ready for primetime
4 files modified
20 ■■■■ changed files
.authcode 1 ●●●● patch | view | raw | blame | history
.gitignore 2 ●●● patch | view | raw | blame | history
aaxConvert.py 15 ●●●● patch | view | raw | blame | history
getaaxkey @ 0ec87f 2 ●●● patch | view | raw | blame | history
.authcode
@@ -1 +0,0 @@
2982e205
.gitignore
@@ -2,7 +2,7 @@
__pycache__/
*.py[cod]
*.aax
.vscode
# C extensions
*.so
aaxConvert.py
@@ -5,18 +5,11 @@
import subprocess
import shlex
import json
import getaaxkey.getaaxkey
act_byte = ""
metadata = ""
mode = "chapter"
stats = ""
path = ""
args = ""
from getaaxkey.getaaxkey import getcorrectkey
# arguments
# activation_key, file name, codec(default to mp3)
def processargs():
    parser = argparse.ArgumentParser()
    parser.add_argument("-s","--single", help="Use this option to create a single file. This is false by default", action="store_true")
    parser.add_argument("-d","--dpath", help="Use this to set the destination path. Otherwise I will use the current directory")
@@ -133,11 +126,9 @@
    return
if __name__ == "__main__":
    processargs()
    for rfile in glob.glob(args.filename):
        if rfile.find("aax") != -1 and os.path.isfile(rfile):
            act_byte = getaaxkey(rfile)
        act_byte = getcorrectkey(rfile)
            metadata = getmetadata(rfile)
            album = getmetadatatags('album')
            artist = getmetadatatags('artist')
getaaxkey
@@ -1 +1 @@
Subproject commit cf1182c801ed18e90347c5419dc87afade60fa08
Subproject commit 0ec87f52a63c5d4e2c773af35acb0e6b83bc090e