mirror of
https://github.com/Jackett/Jackett
synced 2025-01-03 13:46:10 +00:00
Fixed ThePirateBay
This commit is contained in:
parent
67fbc95ea4
commit
d3484f11ca
3 changed files with 4 additions and 1 deletions
|
@ -158,6 +158,9 @@
|
||||||
<Content Include="WebContent\jacket_medium.png">
|
<Content Include="WebContent\jacket_medium.png">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
|
<Content Include="WebContent\logos\bithdtv.png">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
<Content Include="WebContent\logos\bitmetv.png">
|
<Content Include="WebContent\logos\bitmetv.png">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
|
|
|
@ -76,7 +76,7 @@ namespace Jackett
|
||||||
"enclosure",
|
"enclosure",
|
||||||
new XAttribute("url", r.Link ?? r.MagnetUrl),
|
new XAttribute("url", r.Link ?? r.MagnetUrl),
|
||||||
new XAttribute("length", r.Size),
|
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("magneturl", r.MagnetUrl),
|
||||||
getTorznabElement("rageid", r.RageID),
|
getTorznabElement("rageid", r.RageID),
|
||||||
|
|
BIN
src/Jackett/WebContent/logos/bithdtv.png
Normal file
BIN
src/Jackett/WebContent/logos/bithdtv.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 21 KiB |
Loading…
Reference in a new issue