From 71b1b8a7de003d7ea92f17a7914ddc26a6f4f469 Mon Sep 17 00:00:00 2001
From: Chris Pomeroy <chris.pomeroy@hotmail.com>
Date: Fri, 11 Aug 2017 15:16:01 +0000
Subject: [PATCH] Added check single verse chapters
---
aaxConvert.py | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/aaxConvert.py b/aaxConvert.py
index de2caf1..30a9a7b 100755
--- a/aaxConvert.py
+++ b/aaxConvert.py
@@ -10,8 +10,8 @@
# activation_key, file name, codec(default to mp3)
parser = argparse.ArgumentParser()
parser.add_argument("--code", help="Activation Code from audible to decrypt files")
-parser.add_argument("--single", help="Use this option to create a single file")
-parser.add_argument("--dpath", help="Use this to set the destination path. Otherwise I will use the current directory")
+parser.add_argument("-s","--single", help="Use this option to create a single file", action="store_true")
+parser.add_argument("-d","--dpath", help="Use this to set the destination path. Otherwise I will use the current directory")
parser.add_argument("-v", "--verbose", help="Send output to stdout", action="store_true")
parser.add_argument("filename", help="Filename to convert, or directory to look in")
@@ -70,6 +70,10 @@
return
+def chapters():
+ # Creating individual chapters
+
+
if args.dpath:
path = args.dpath
@@ -98,5 +102,3 @@
os.makedirs(ddir)
print ddir
reencode(rfile, single_file_path)
-
-
--
Gitblit v1.10.0