daily pastebin goal
8%
SHARE
TWEET

Untitled

a guest Aug 16th, 2018 62 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
  1. set torrentid=%1
  2. set torrentname=%2
  3. set torrentpath=%3
  4. set x=1
  5.  
  6. if %x% LEQ 100 (
  7.     do (
  8. pause 2
  9. echo Running %x% times >> C:\Config\script.log
  10. echo TorrentID: %torrentid% >> C:\Config\script.log
  11. deluge-console "connect 127.0.0.1:8888 user passwd; info" %torentid% | findstr "Tracker status" > C:\Config\scripttmp.txt
  12. set /p line= < C:\Config\scripttmp.txt
  13. echo %line% >> C:\Config\script.log
  14. if %line%=*unregistered* do (
  15. deluge-console "connect 127.0.0.1:8888 user passwd; pause '%torrentid%'"
  16. sleep 5
  17. deluge-console "connect 127.0.0.1:8888 user passwd; resume '%torrentid%'"
  18. ;;
  19. *)
  20. echo "Found working torrent: %torrentname% %torrentpath% %torrentid%" >> C:\Config\script.log
  21. exit 1;;
  22. esac
  23. set x=%(( %x% + 1 ))
  24. done
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top