Esempio n. 1
0
 public bool Step3_CreateCue()
 {
     // not a critical step. its failure should not prevent future steps from running
     try
     {
         File.WriteAllText(PathLib.ReplaceExtension(OutputFileName, ".cue"), Cue.CreateContents(Path.GetFileName(OutputFileName), downloadLicense.ChapterInfo));
     }
     catch (Exception ex)
     {
         Serilog.Log.Logger.Error(ex, $"{nameof(Step3_CreateCue)}. FAILED");
     }
     return(!isCanceled);
 }
Esempio n. 2
0
 public bool End_CreateCue()
 {
     File.WriteAllText(outputFileWithNewExt(".cue"), Cue.CreateContents(Path.GetFileName(outputFileName), chapters));
     return(true);
 }