Sometimes one tracker can have several domain names listed inside the torrent. Current tracklabels plugin shows separate label for each domain. I don't like it, so I've made a small hack inside init.js:
Code:
if(domain.match("demonoid.com")) domain="demonoid.me";
if(domain.match("nnm-club.info")) domain="nnm-club.ru";I think it's a good idea to create settings page for this plugin where it will be possible to define "synonyms" for domain names. I can try to do it myself, but I'm not good at JS
Code:
if(domain.match("demonoid.com")) domain="demonoid.me";
if(domain.match("nnm-club.info")) domain="nnm-club.ru";I think it's a good idea to create settings page for this plugin where it will be possible to define "synonyms" for domain names. I can try to do it myself, but I'm not good at JS
Attachments
-
1,009 bytes Views: 0