private string CreatePlayListFromAllDisks() { if (!Directory.Exists(FileSystemWalker.TempPlayListDirectory)) { FileSystemWalker.createTempPlayListDirectory(); } WVXManager playlist = new WVXManager(); string playlistFile = Path.Combine(FileSystemWalker.TempPlayListDirectory, "AllDisks_" + this.TitleObject.Id + ".WVX"); foreach (Disk disk in this.TitleObject.Disks) { if (string.IsNullOrEmpty(disk.Path)) { continue; } playlist.AddItem(new PlayListItem(disk.Path, disk.Name)); } playlist.WriteWVXFile(playlistFile); return(playlistFile); }
public Processor() { LoggerSingleton.GetLogger().Log("Started initializing...", LogNoteType.Info, "Processor"); _fileSystemWalker = new FileSystemWalker(); _backCompatibility = new BackCompatibilityUtility(); LoggerSingleton.GetLogger().Log("Initialized.", LogNoteType.Success, "Processor"); }
public static void ClassInitialize(TestContext testContext) { fileSystemWalker = new FileSystemWalker(consolePrinter, configInterpreter, new FileSystemPathTranslator()); }