New: Drone now uses the Download Client API to determine if a download is ready for import. (User configuration is required to replace the drone factory with this feature)

This commit is contained in:
Taloth Saldono
2014-04-19 17:09:22 +02:00
parent dcb586b937
commit 2035fe8578
196 changed files with 3961 additions and 2223 deletions

View File

@@ -13,7 +13,7 @@ namespace NzbDrone.Core.Indexers
{
private static readonly Logger Logger = NzbDroneLogger.GetLogger();
private static readonly Regex RemoveTimeZoneRegex = new Regex(@"\s[A-Z]{2,4}$", RegexOptions.Compiled);
public static readonly Regex RemoveTimeZoneRegex = new Regex(@"\s[A-Z]{2,4}$", RegexOptions.Compiled);
public static string Title(this XElement item)
{
@@ -78,7 +78,7 @@ namespace NzbDrone.Core.Indexers
return long.Parse(item.TryGetValue("length"));
}
private static string TryGetValue(this XElement item, string elementName, string defaultValue = "")
public static string TryGetValue(this XElement item, string elementName, string defaultValue = "")
{
var element = item.Element(elementName);