Add PublishDate to Potato feed for Radarr (#934)

This commit is contained in:
Devin Buhl 2017-01-16 12:25:22 -05:00 committed by kaso17
parent 8b1381aba6
commit 945f3f9c7f
2 changed files with 3 additions and 1 deletions

View File

@ -146,7 +146,8 @@ namespace Jackett.Controllers
type = "movie",
size = (long)release.Size / (1024 * 1024), // This is in MB
leechers = (int)release.Peers - (int)release.Seeders,
seeders = (int)release.Seeders
seeders = (int)release.Seeders,
publish_date = release.PublishDate
});
}
}

View File

@ -18,5 +18,6 @@ namespace Jackett.Models
public long size { get; set; }
public int leechers { get; set; }
public int seeders { get; set; }
public DateTime publish_date { get; set; }
}
}