moved naming specification out of general config.

This commit is contained in:
kay.one
2013-03-06 13:20:33 -08:00
parent db37d020f4
commit dce64a5530
23 changed files with 535 additions and 463 deletions
@@ -7,6 +7,7 @@ using NzbDrone.Core.Configuration;
using NzbDrone.Core.MediaFiles;
using NzbDrone.Core.Model;
using NzbDrone.Core.DecisionEngine;
using NzbDrone.Core.Organizer;
namespace NzbDrone.Core.Download.Clients
{
@@ -43,7 +44,7 @@ namespace NzbDrone.Core.Download.Clients
return false;
}
title = MediaFileService.CleanFilename(title);
title = FileNameBuilder.CleanFilename(title);
//Save to the Pneumatic directory (The user will need to ensure its accessible by XBMC)
var filename = Path.Combine(_configService.PneumaticDirectory, title + ".nzb");