Registered Member
|
Hi,
I've made two patches , one for the InfoWidget plugin and the other for the partimport plugin. The first patch adds a little widget in the Status Tab of the InfoWidget that show the Chunk Size of the current torrent. The patch modifies 4 files : - importwidgetbase.ui -> Added the widget on the screen - infowidget.cpp -> updates the widget with the proper values - torrentinterface.h -> Added the "Uint32 chunk_size" member in the TorrentStats struct - torrentcontrol.cpp -> Fill the chunk_size member in the TorrentStats struct with proper values The second patch adjust a little asymmetry in the Importdialog window and I also wrote a new algoritm for multi file torrents import . It is a little faster and imported better a file I started downloading with azureus than the original algorithm (even if it should just work as the original one , I don't know what changed) A tar with the patches at URL : www.webalice.it/hayarms/ktorrentpatches.tar.bz2 Bye Marcello |
Moderator
|
|
Moderator
|
The import plugin patch seems to be pretty good, a lot less complicated then my implementation. But when files are missing in the directory you are importing, things go wrong.
It goes OK until you reach the file which isn't there anymore, files after that do not get imported. Things will probably also go wrong, if the file sizes are not the same as in the torrent. |
Moderator
|
|
Registered Member
|
|
Registered Member
|
www.webalice.it/hayarms/importplugin.patch.bz2
Here an update for the importplugin patch, tell me if now works correctly Greets Marcello |
Moderator
|
|
Moderator
|
Registered users: abc72656, Bing [Bot], daret, Google [Bot], lockheed, Sogou [Bot], Yahoo [Bot]