bogenpirat / remote-torrent-adder

A handy Chrome extension to add torrent files to torrent clients
237 stars 81 forks source link

Feature request: Clone server #223

Closed Litz97 closed 6 years ago

Litz97 commented 7 years ago

I am setting up a server for every category of download (film, tvshow, game etc.) to sort it into folders right away. I have to enter the same info every time. A clone server feature would be very helpful

bogenpirat commented 6 years ago

that's a creative way of approaching the label issue. but i don't see it as a feature that would be used very much.

one way of doing this manually would be to go to the extension's options page and running this code from the developer tools window/pane (F12):

var servers = JSON.parse(localStorage.servers);
servers.push(servers[0]);
localStorage.setItem("servers", JSON.encode(servers));

where the "0" in line 2 is the index of the server you want to clone, starting from 0, and starting from the left in the servers overview. you can re-run the code as often as you want copies.