private void RenameAndCopyFile(string filename, string show) { string checkedFile = filename; string newFile = Path.Combine(ContentDirectory, show); Logging.Log.DebugFormat("Found match for {0} on show {1} and copying to {2}...", checkedFile, show, newFile); FileActions.Copy(checkedFile, newFile); }
private void RenameAndCopyFile(string filename) { string checkedFile = filename; if (FilenameChanger != null) { checkedFile = FilenameChanger.ChangedName(filename); } FileActions.Copy(checkedFile, ContentDirectory); Logging.Log.InfoFormat("Found match for {0}. Copying to {1}", checkedFile, ContentDirectory); }