mirror of
https://github.com/Jackett/Jackett
synced 2025-03-10 14:14:25 +00:00
torznab: add tracker type to results. resolves #12963
This commit is contained in:
parent
8cc85a9253
commit
029e9adaaa
1 changed files with 2 additions and 1 deletions
|
@ -78,7 +78,8 @@ namespace Jackett.Common.Models
|
|||
new XElement("title", RemoveInvalidXMLChars(r.Title)),
|
||||
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),
|
||||
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.Size == null ? null : new XElement("size", r.Size),
|
||||
r.Files == null ? null : new XElement("files", r.Files),
|
||||
|
|
Loading…
Add table
Reference in a new issue