mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
torznab: include proper torznab category attributes
This commit is contained in:
@@ -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),
|
||||||
|
Reference in New Issue
Block a user