diff --git a/CueMaker/CueMakerPy2/CueMakerPy2.py b/CueMaker/CueMakerPy2/CueMakerPy2.py index 52a66b5..91cc74a 100755 --- a/CueMaker/CueMakerPy2/CueMakerPy2.py +++ b/CueMaker/CueMakerPy2/CueMakerPy2.py @@ -23,10 +23,21 @@ trecursive = raw_input("Search Recursive? ["+str(recursive)+"]:").strip().title() or recursive recursive = trecursive in trues -# Define cue file -cue = r"""FILE "%FILENAME%" BINARY -TRACK 01 MODE1/2352 -INDEX 01 00:00:00""" +# Get input +rawor = ("Raw", "R", True) +rawno = ("Truncated","T", False) +mary = input("Please enter Raw or Truncated [R/T]:") +if (mary, not rawno): + # Define cue file + cue = r"""FILE "%FILENAME%" BINARY + TRACK 01 MODE1/2352 + INDEX 01 00:00:00""" +else: + # Define cue file + cue = r"""FILE "%FILENAME%" BINARY + TRACK 01 MODE1/2336 + INDEX 01 00:00:00""" + # For each (sub)folder for (dirpath, dirnames, filenames) in walk(mypath):