mirror of https://github.com/Jackett/Jackett
torznab: include proper torznab category attributes
This commit is contained in:
parent
fbab796e76
commit
47a8c977d9
|
@ -81,6 +81,7 @@ namespace Jackett.Models
|
||||||
r.Size == null ? null : new XAttribute("length", r.Size),
|
r.Size == null ? null : new XAttribute("length", r.Size),
|
||||||
new XAttribute("type", "application/x-bittorrent")
|
new XAttribute("type", "application/x-bittorrent")
|
||||||
),
|
),
|
||||||
|
r.Category == null ? null : from c in r.Category select getTorznabElement("category", c),
|
||||||
getTorznabElement("magneturl", r.MagnetUri),
|
getTorznabElement("magneturl", r.MagnetUri),
|
||||||
getTorznabElement("rageid", r.RageID),
|
getTorznabElement("rageid", r.RageID),
|
||||||
getTorznabElement("thetvdb", r.TVDBId),
|
getTorznabElement("thetvdb", r.TVDBId),
|
||||||
|
|
Loading…
Reference in New Issue