internal SessionKeys(string iOut, Nullable<bool> OpenClean, bool UseBassMusicConverter) { _Out = iOut; _Settings = new ManualSettings(); if (UseBassMusicConverter) { var conv = new StandardConverterSettings(); var convus = new ManualConverterSettings(); convus.BassPassword = conv.BassPassword; convus.BassUser = conv.BassUser; _Settings.ConverterUserSettings = convus; } _SessionBuilder = GetFrom(OpenClean, _Settings, iOut); }
internal ManualSettings() { //FileCreatedByConvertion = ConvertFileBehaviour.CopyInMananagedFolder; //SourceFileUsedForConvertion = PartialFileBehaviour.DoNothing; //ConvertedFileExtractedFromRar = PartialFileBehaviour.Delete; //DeleteRemovedFile = BasicBehaviour.AskEndUser; _IMusicImporterExporterUser = new ManualMusicImporterExporterSettings(); _IiTunesUserSettings = new ManualIiTunesUserSettings(); _IPathUserSettings = new ManualPathUserSettings(); _IImageFormatManagerUserSettings = new ManualmageFormatManagerSettings(); _IImageFormatManagerUserSettings.ImageSizeMoLimit = 1; _IImageFormatManagerUserSettings.ImageNumberLimit = true; _IImageFormatManagerUserSettings.ImageNumber = 2; //DirForPermanentCollection = string.Empty; //ExportCollectionFiles = false; //FreedServer = "us.freedb.org:80"; //DiscogsActivated = true; //AmazonActivated = true; _IEmailInformationSettings = new ManualEmailInformationSettings(); ConverterUserSettings = new ManualConverterSettings(); ConverterUserSettings.FileCreatedByConvertion = ConvertFileBehaviour.CopyInMananagedFolder; ConverterUserSettings.SourceFileUsedForConvertion = PartialFileBehaviour.DoNothing; ConverterUserSettings.ConvertedFileExtractedFromRar = PartialFileBehaviour.Delete; _IMaturityUserSettings = new ManualMaturitySettings(); _IMaturityUserSettings.DirForPermanentCollection = string.Empty; _IMaturityUserSettings.ExportCollectionFiles = false; _IUnrarUserSettings = new ManualUnrarUserSettings(); _IUnrarUserSettings.RarZipFileAfterSuccessfullExtract = CompleteFileBehaviour.DoNothing; _IUnrarUserSettings.RarZipFileAfterFailedExtract = CompleteFileBehaviour.DoNothing; _IUnrarUserSettings.RarExctractManagement = ConvertFileBehaviour.CopyInMananagedFolder; _IUnrarUserSettings.AddUseRarPasswordToList = true; _IWebUserSettings = new ManualWebSettings(); _IWebUserSettings.FreedbServer = "us.freedb.org:80"; _IWebUserSettings.DiscogsActivated = true; _IWebUserSettings.AmazonActivated = true; _IAparencyUserSettings = new ManualAparencySettings(); }