Exemplo 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);
 }
Exemplo n.º 2
0
 public bool End_CreateCue()
 {
     File.WriteAllText(outputFileWithNewExt(".cue"), Cue.CreateContents(Path.GetFileName(outputFileName), chapters));
     return(true);
 }