mirror of
https://github.com/Jackett/Jackett
synced 2025-03-09 13:52:03 +00:00
passthepopcorn: update categories and add year to releases
This commit is contained in:
parent
277192e356
commit
761ed7de13
1 changed files with 8 additions and 7 deletions
|
@ -83,6 +83,7 @@ namespace Jackett.Common.Indexers
|
|||
caps.Categories.AddCategoryMapping(3, TorznabCatType.TV, "Miniseries");
|
||||
caps.Categories.AddCategoryMapping(4, TorznabCatType.TV, "Stand-up Comedy");
|
||||
caps.Categories.AddCategoryMapping(5, TorznabCatType.TV, "Live Performance");
|
||||
caps.Categories.AddCategoryMapping(6, TorznabCatType.Movies, "Movie Collection");
|
||||
|
||||
return caps;
|
||||
}
|
||||
|
@ -227,26 +228,26 @@ namespace Jackett.Common.Indexers
|
|||
|
||||
var release = new ReleaseInfo
|
||||
{
|
||||
Guid = link,
|
||||
Link = link,
|
||||
Details = details,
|
||||
Title = releaseName,
|
||||
Description = $"Title: {movieTitle}",
|
||||
Year = int.Parse(year),
|
||||
Category = new List<int> { TorznabCatType.Movies.ID },
|
||||
Poster = poster,
|
||||
Imdb = movieImdbId,
|
||||
Details = details,
|
||||
Size = size,
|
||||
Grabs = grabs,
|
||||
Seeders = seeders,
|
||||
Peers = seeders + leechers,
|
||||
PublishDate = publishDate,
|
||||
Link = link,
|
||||
Guid = link,
|
||||
MinimumRatio = 1,
|
||||
MinimumSeedTime = 345600,
|
||||
DownloadVolumeFactor = free ? 0 : 1,
|
||||
UploadVolumeFactor = 1,
|
||||
Category = new List<int> { TorznabCatType.Movies.ID }
|
||||
MinimumRatio = 1,
|
||||
MinimumSeedTime = 345600
|
||||
};
|
||||
|
||||
|
||||
var titleTags = new List<string>();
|
||||
var quality = (string)torrent["Quality"];
|
||||
var container = (string)torrent["Container"];
|
||||
|
|
Loading…
Add table
Reference in a new issue