torznab: add jackettindexer element to items

This commit is contained in:
kaso17 2018-12-01 21:58:06 +01:00
parent 7c4695604a
commit c0b9bb64f8
1 changed files with 1 additions and 0 deletions

View File

@ -63,6 +63,7 @@ namespace Jackett.Common.Models
select new XElement("item",
new XElement("title", r.Title),
new XElement("guid", r.Guid),
new XElement("jackettindexer", new XAttribute("id", r.Origin.ID), r.Origin.DisplayName),
r.Comments == null ? null : new XElement("comments", r.Comments.ToString()),
r.PublishDate == DateTime.MinValue ? new XElement("pubDate", xmlDateFormat(DateTime.Now)) : new XElement("pubDate", xmlDateFormat(r.PublishDate)),
r.Size == null ? null : new XElement("size", r.Size),