Chris Pomeroy
2018-03-21 0a501eda6e2cfcb78fe1a9e00eca25809aa69231
aaxConvert.py
@@ -138,7 +138,7 @@
def getcorrectkey(aaxfile):
    hex = filechecksum(aaxfile)
    payload = hex
    r = requests.post('http://x86-docker01:8080/function/checkkey', payload, verify=False)
    r = requests.post('http://x86-docker01:8080/function/checkkey', payload, verify=False, timeout=None)
    if r.status_code == 200:
        key = r.text
    else: 
@@ -155,7 +155,7 @@
            title = getmetadatatags('title')
            act_byte = getcorrectkey(rfile)
            ddir = "%s/%s/%s" % (path, artist, title)
            single_file_path = "%s/%s.mp3" % (ddir, title)
            single_file_path = "/processing/%s.mp3" % (title)
            if not os.path.exists(ddir):
                os.makedirs(ddir)
            print(ddir)