TNTVillage: Change reported size based on category (#1207)

The size reported from the plugin will be defined by category matching.
This is needed for applications like Sonarr/Couchpotato/Headphone to work.
This commit is contained in:
rafuz 2017-03-28 20:01:32 +02:00 committed by kaso17
parent 9ecc7e8a38
commit adcc430f4f
1 changed files with 6 additions and 1 deletions

View File

@ -61,4 +61,9 @@
uploadvolumefactor:
text: "1"
size:
text: "5G"
selector: td:nth-child(3) a
case:
a[href*="&cat=4"]: "5GB"
a[href*="&cat=2"]: "100MB"
a[href*="&cat=30"]: "100MB"
"*": "2GB"