SabProvider now gets JSON instead of XML for history and queue.

This commit is contained in:
Mark McDowall 2012-01-18 20:05:03 -08:00
commit b4eed1a657
25 changed files with 503 additions and 6505 deletions

View file

@ -0,0 +1,16 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Newtonsoft.Json;
namespace NzbDrone.Core.Model.Sabnzbd
{
public class SabHistory
{
public bool Paused { get; set; }
[JsonProperty(PropertyName = "slots")]
public List<SabHistoryItem> Items { get; set; }
}
}