mirror of https://github.com/Jackett/Jackett
torznab: add tracker type to results. resolves #12963
This commit is contained in:
parent
8cc85a9253
commit
029e9adaaa
|
@ -78,7 +78,8 @@ namespace Jackett.Common.Models
|
||||||
new XElement("title", RemoveInvalidXMLChars(r.Title)),
|
new XElement("title", RemoveInvalidXMLChars(r.Title)),
|
||||||
new XElement("guid", r.Guid.AbsoluteUri), // GUID and (Link or Magnet) are mandatory
|
new XElement("guid", r.Guid.AbsoluteUri), // GUID and (Link or Magnet) are mandatory
|
||||||
new XElement("jackettindexer", new XAttribute("id", r.Origin.Id), r.Origin.DisplayName),
|
new XElement("jackettindexer", new XAttribute("id", r.Origin.Id), r.Origin.DisplayName),
|
||||||
r.Details == null ? null : new XElement("details", r.Details.AbsoluteUri),
|
new XElement("type", r.Origin.Type),
|
||||||
|
r.Details == null ? null : new XElement("comments", r.Details.AbsoluteUri),
|
||||||
r.PublishDate == DateTime.MinValue ? new XElement("pubDate", XmlDateFormat(DateTime.Now)) : new XElement("pubDate", XmlDateFormat(r.PublishDate)),
|
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),
|
r.Size == null ? null : new XElement("size", r.Size),
|
||||||
r.Files == null ? null : new XElement("files", r.Files),
|
r.Files == null ? null : new XElement("files", r.Files),
|
||||||
|
|
Loading…
Reference in New Issue