1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-01-03 13:46:10 +00:00

Fixed ThePirateBay

This commit is contained in:
zone117x 2015-04-19 14:21:22 -06:00
parent 67fbc95ea4
commit d3484f11ca
3 changed files with 4 additions and 1 deletions

View file

@ -158,6 +158,9 @@
<Content Include="WebContent\jacket_medium.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="WebContent\logos\bithdtv.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="WebContent\logos\bitmetv.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>

View file

@ -76,7 +76,7 @@ namespace Jackett
"enclosure",
new XAttribute("url", r.Link ?? r.MagnetUrl),
new XAttribute("length", r.Size),
new XAttribute("type", r.Link == null ? "application/x-bittorrent;x-scheme-handler/magnet" : "application/x-bittorrent")
new XAttribute("type", "application/x-bittorrent")
),
getTorznabElement("magneturl", r.MagnetUrl),
getTorznabElement("rageid", r.RageID),

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB