From 0a501eda6e2cfcb78fe1a9e00eca25809aa69231 Mon Sep 17 00:00:00 2001
From: Chris Pomeroy <chris.pomeroy@hotmail.com>
Date: Wed, 21 Mar 2018 05:34:03 +0000
Subject: [PATCH] Set the timeout to never

---
 aaxConvert.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/aaxConvert.py b/aaxConvert.py
index ae9567d..672553b 100755
--- a/aaxConvert.py
+++ b/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)

--
Gitblit v1.10.0