mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-23 06:45:19 -07:00
Fix issue where searching for new movies is not possible.
This commit is contained in:
parent
f2218006a1
commit
06ad30397b
1 changed files with 6 additions and 1 deletions
|
@ -58,6 +58,11 @@ namespace NzbDrone.Core.Tv
|
||||||
|
|
||||||
public string FolderName()
|
public string FolderName()
|
||||||
{
|
{
|
||||||
|
if (Path.IsNullOrWhiteSpace())
|
||||||
|
{
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
//Well what about Path = Null?
|
||||||
return new DirectoryInfo(Path).Name;
|
return new DirectoryInfo(Path).Name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -93,7 +98,7 @@ namespace NzbDrone.Core.Tv
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
return DateTime.Now >= MinimumAvailabilityDate.AddDays(delay);
|
return DateTime.Now >= MinimumAvailabilityDate.AddDays((double)delay);
|
||||||
}
|
}
|
||||||
|
|
||||||
public override string ToString()
|
public override string ToString()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue