mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 10:47:08 -07:00
SabProvider now gets JSON instead of XML for history and queue.
This commit is contained in:
parent
26c4240a6b
commit
b4eed1a657
25 changed files with 503 additions and 6505 deletions
16
NzbDrone.Core/Model/Sabnzbd/SabHistory.cs
Normal file
16
NzbDrone.Core/Model/Sabnzbd/SabHistory.cs
Normal 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; }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue