torznab: include proper torznab category attributes

This commit is contained in:
kaso17 2017-09-19 17:32:30 +02:00
parent fbab796e76
commit 47a8c977d9
1 changed files with 1 additions and 0 deletions

View File

@ -81,6 +81,7 @@ namespace Jackett.Models
r.Size == null ? null : new XAttribute("length", r.Size),
new XAttribute("type", "application/x-bittorrent")
),
r.Category == null ? null : from c in r.Category select getTorznabElement("category", c),
getTorznabElement("magneturl", r.MagnetUri),
getTorznabElement("rageid", r.RageID),
getTorznabElement("thetvdb", r.TVDBId),