Fixed: SABnzbd queue checking will not fail when items in queue are being repaired.

SabQueue priority is parsed with a custom converter to prevent blowing up because SAB decides to use Repair as a queue priority type.
This commit is contained in:
Mark McDowall 2012-05-19 13:07:30 -07:00
commit c4b57c4a23
6 changed files with 270 additions and 1 deletions

View file

@ -31,6 +31,7 @@ namespace NzbDrone.Core.Model.Sabnzbd
}
}
[JsonConverter(typeof(SabnzbdPriorityTypeConverter))]
public SabPriorityType Priority { get; set; }
[JsonProperty(PropertyName = "cat")]