Chris Pomeroy
2017-08-11 71b1b8a7de003d7ea92f17a7914ddc26a6f4f469
Added check single verse chapters
1 files modified
10 ■■■■■ changed files
aaxConvert.py 10 ●●●●● patch | view | raw | blame | history
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)