uTorrent: Python script for locating moved files

This is a very basic script, but for many torrents it's a step up from doing it manually or a simple find-replace in BEncode Editor. It worked for updating 3000 of my torrents and not breaking another 2000, but I haven't tested beyond python 3, utorrent 1.8.2, and windows. I do intend to work on the limitations and will update this periodically.

Features:
- updates resume.dat with paths to found files/folders
- will not touch paths in resume.dat with no match found
- will not overwrite any files (replace resume.dat with resume.dat.bak# if something breaks)
Limitations:
- does not work with renamed items
- does not check for or mark skipped files
- poorly optimized utorrent dat parsing
- no command line options

'Tutorial'
download python if you don't have it
- save the script in utorrent's appdata folder
-- Windows XP: Documents and Settings\<your_user_name>\Application Data\uTorrent\
-- Vista/Windows 7: Users\<your_user_name>\AppData\Roaming\uTorrent\
- right-click > Edit with IDLE
- add the folder(s) you want to search to the target list (using // in place of / )
- save (ctrl + s)
- with utorrent closed, hit F5 or go to Run > Run Module
- open utorrent, select and right-click > force-recheck anything that needs it

0 comments:

Post a Comment

 
© 2009 windows 8 download free Software | Powered by Blogger | Built on the Blogger Template Valid X/HTML (Just Home Page) | Design: Choen | PageNav: Abu Farhan