FreeSpaceSpec is blowing everything up... undoing for now.

This commit is contained in:
Mark McDowall
2013-08-08 11:44:10 -07:00
parent 5fe78ba7bf
commit c8d43accfb
2 changed files with 6 additions and 0 deletions

View File

@@ -24,6 +24,9 @@ namespace NzbDrone.Core.MediaFiles.EpisodeImport.Specifications
public bool IsSatisfiedBy(LocalEpisode localEpisode)
{
//TODO: fix issues with this, seems to be completely broken...
return true;
var newFileName = Path.GetFileNameWithoutExtension(localEpisode.Path);
var destinationFilename = _buildFileNames.BuildFilePath(localEpisode.Series, localEpisode.SeasonNumber, newFileName, Path.GetExtension(localEpisode.Path));