Beispiel #1
0
 public void cleanUpFilenames(string filenameBig) {
     var newFolderName = UtilsCore.GetFullPathWithoutExtension(filenameBig);
     foreach (var seg in AudiobookXml.Segments) {
         seg.Filename = seg.Filename.Replace(DumpFolder + "/", "");
     }
     if (Directory.Exists(newFolderName))
         Directory.Delete(newFolderName, true);
     Directory.Move(DumpFolder, newFolderName);
 }