mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 05:53:33 -07:00
Fix: Resolved a parsing issue when timeleft for an SabQueueItem was greater than 24 hours.
This commit is contained in:
parent
2635ff9bee
commit
1f983094ac
5 changed files with 63 additions and 3 deletions
|
@ -3,6 +3,7 @@ using System.Collections.Generic;
|
|||
using System.Linq;
|
||||
using System.Text;
|
||||
using Newtonsoft.Json;
|
||||
using NzbDrone.Core.Helpers;
|
||||
|
||||
namespace NzbDrone.Core.Model.Sabnzbd
|
||||
{
|
||||
|
@ -10,6 +11,8 @@ namespace NzbDrone.Core.Model.Sabnzbd
|
|||
{
|
||||
public string Status { get; set; }
|
||||
public int Index { get; set; }
|
||||
|
||||
[JsonConverter(typeof(SabnzbdQueueTimeConverter))]
|
||||
public TimeSpan Timeleft { get; set; }
|
||||
|
||||
[JsonProperty(PropertyName = "mb")]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue