mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-29 05:16:34 +02:00
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:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user