🐛 implement PR suggestions
This commit is contained in:
parent
7902f56d66
commit
d6d1813340
3 changed files with 8 additions and 6 deletions
|
|
@ -13,9 +13,9 @@ public enum Provider
|
|||
[Description("Premiumize")]
|
||||
Premiumize,
|
||||
|
||||
[Description("DebridLinkFr")]
|
||||
DebridLinkFr,
|
||||
|
||||
[Description("TorBox")]
|
||||
TorBox
|
||||
TorBox,
|
||||
|
||||
[Description("DebridLinkFr")]
|
||||
DebridLinkFr
|
||||
}
|
||||
|
|
@ -99,6 +99,7 @@ public class Torrent
|
|||
AllDebrid,
|
||||
Premiumize,
|
||||
RealDebrid,
|
||||
TorBox
|
||||
TorBox,
|
||||
DebridLink
|
||||
}
|
||||
}
|
||||
|
|
@ -78,7 +78,7 @@ public class DebridLinkFrClient : ITorrentClient
|
|||
Added = DateTimeOffset.FromUnixTimeSeconds(torrent.Created),
|
||||
Files = (torrent.Files ?? new List<TorrentFile>()).Select((m, i) => new TorrentClientFile
|
||||
{
|
||||
Path = m.Name ?? "",
|
||||
Path = m.Name,
|
||||
Bytes = m.Size,
|
||||
Id = i,
|
||||
Selected = true
|
||||
|
|
@ -197,6 +197,7 @@ public class DebridLinkFrClient : ITorrentClient
|
|||
torrent.RdFiles = JsonConvert.SerializeObject(rdTorrent.Files);
|
||||
}
|
||||
|
||||
torrent.ClientKind = Data.Models.Data.Torrent.TorrentClientKind.DebridLink;
|
||||
torrent.RdHost = rdTorrent.Host;
|
||||
torrent.RdSplit = rdTorrent.Split;
|
||||
torrent.RdProgress = rdTorrent.Progress;
|
||||
|
|
|
|||
Loading…
Reference in a new issue