magnets got stuck until I added force_dht_announce

I have tested millions of ways to make magnets work
but it worked magically after adding force_dht_announce
to the waiting bucle
pull/1/head
Gorka Olaizola 2015-10-18 10:43:31 +02:00
parent 17e878a15f
commit 72390ffb82
1 changed files with 3 additions and 0 deletions

View File

@ -169,6 +169,9 @@ class Libtorrent:
iterator = 0
while iterator < 100:
xbmc.sleep(500)
self.torrentHandle.force_dht_announce()
progressBar.update(iterator, Localization.localize('Please Wait'), Localization.localize('Magnet-link is converting')+'.' * (iterator % 4), ' ')
iterator += 1
if progressBar.iscanceled():