butter-desktop icon indicating copy to clipboard operation
butter-desktop copied to clipboard

Custom list of trackers

Open eagleusb opened this issue 8 years ago • 6 comments

Instead of using hardcoded list of trackers, can we have a selectable list and the ability to add our own ?

Thanks,

https://github.com/butterproject/butter-desktop/blob/320a67197e6b7aac96525d0ffe96ef9b4f18d756/src/app/lib/streamer.js#L81

eagleusb avatar Oct 31 '15 00:10 eagleusb

@grumpycatt good point. I came to the conclusion that I don't know how getting trackers for a torrent works. I thought torrent files already had trackers information, but how would magnet links for torrent add tracker information as well?

douglascamata avatar Oct 31 '15 00:10 douglascamata

I will install a testbed and look into these questions (magnet vs torrent protocol). I'll get back to you ASAP

eagleusb avatar Oct 31 '15 12:10 eagleusb

torrents and magnet (can) contain a list of trackers. The ones linked there are the default ones.

rom1504 avatar Nov 04 '15 11:11 rom1504

the trackers arg is:

Allows to declare additional custom trackers to use

Which means, I think, whether or not your torrent/magnet have trackers, it'll also ping those if needed (ex: if the provided trackers are offline, not working, or simply none is provided).

This line can be changed pretty easely (and made in an option), although Demonii should anyway be removed as it will go offline (or already is? I read something about it on TF). But I think it's not really important as those will only be used if the base material (magnet/torrent) trackers don't work.

vankasteelj avatar Jan 05 '16 19:01 vankasteelj

I opened Settings.trackers Object, containing atm:

Settings.trackers.forced and Settings.trackers.blacklisted

Those are used for magnet health calculation. It might be worth using the forced ones in streamer too, then have an option (at some point...) to change that 'forced' list.

vankasteelj avatar Mar 29 '16 16:03 vankasteelj

great addition !

xaiki avatar Mar 30 '16 08:03 xaiki