public override string GetLogName(EAC3ToConfiguration eac3toConfiguration, string filesOutputPath, string paddedEpisodeNumber, string episodeName)
{
if (_currentMovieRemuxTemplate == null)
throw new NullReferenceException("Current Movie Template is Null.");
StringBuilder sb = new StringBuilder();
if (eac3toConfiguration.IsExtractForRemux == true)
{
string tag = this.GetFormattedTag(eac3toConfiguration, paddedEpisodeNumber);
string logName = string.Format("{0}{1}{2}{3}{4}{5}{6}",
_currentMovieRemuxTemplate.SeriesName,
this.GetFormattedYear(eac3toConfiguration),
this.GetFormattedVideoResolution(eac3toConfiguration),
this.GetFormattedCountry(eac3toConfiguration),
this.GetFormattedMedium(eac3toConfiguration),
this.GetFormattedVideoFormat(eac3toConfiguration),
this.GetFormattedAuditoType(eac3toConfiguration));
sb.Append(string.Format(" -log=\"{0}\\{1}{2} log.log\"", filesOutputPath, this.AddWordSeparator(eac3toConfiguration.IsExtractForRemux, _currentMovieRemuxTemplate.UsePeriodsInFileName, logName.Trim().RemoveDoubleSpaces()), tag));
}
return sb.ToString();
}