Skip to content

Commit c8e2781

Browse files
committed
fix sync
1 parent d6dd16b commit c8e2781

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Controllers/SyncController.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,15 @@ public ActionResult FdbTorrents(long time, long start = -1)
6363
foreach (var t in FileDB.OpenRead(item.Key))
6464
{
6565
if (start != -1 && start > t.Value.updateTime.ToFileTimeUtc())
66+
{
67+
torrent.TryAdd(t.Key, new TorrentDetails()
68+
{
69+
sid = t.Value.sid,
70+
pir = t.Value.pir,
71+
url = t.Value.url
72+
});
6673
continue;
74+
}
6775

6876
if (t.Value.ffprobe == null || t.Value.languages == null)
6977
{

0 commit comments

Comments
 (0)