Browse Source

- Fixed a problem that happened sometimes with torrents to pause after checking

adaptive-webui-19844
Christophe Dumez 18 years ago
parent
commit
620deb3b6a
  1. 6
      TODO
  2. 10
      src/bittorrent.cpp

6
TODO

@ -18,17 +18,18 @@
// Unsure // Unsure
- Azureus spoofing to prevent ban from trackers? - Azureus spoofing to prevent ban from trackers?
- Web interface?
- Option to shutdown computer when downloads are finished - Option to shutdown computer when downloads are finished
- Add a torrent scheduler - Add a torrent scheduler
- Make use of dbus on Linux for the single instance instead of socket communication? - Make use of dbus on Linux for the single instance instead of socket communication?
(http://techbase.kde.org/Development/Tutorials/D-Bus/Accessing_Interfaces) (http://techbase.kde.org/Development/Tutorials/D-Bus/Accessing_Interfaces)
- search engines customizing
// in v1.1.0 // in v1.1.0
- Tabs support in search - Tabs support in search
- Have a look at libcommoncpp2 to see if it can be useful for other stuff than url downloading - Have a look at libcommoncpp2 to see if it can be useful for other stuff than url downloading
- Allow to hide columns? - Allow to hide columns?
- Allow to scan multiple directories? - Allow to scan multiple directories?
- Web interface (turbogears?)
// in v1.0.0 (partial) - WIP // in v1.0.0 (partial) - WIP
- Check storage st creation + hasher in torrent creation - Check storage st creation + hasher in torrent creation
@ -38,10 +39,13 @@
- update sorting when a new torrent is added? - update sorting when a new torrent is added?
- Add a checking icon in dl list to differenciate from connecting. - Add a checking icon in dl list to differenciate from connecting.
- Complete documentation and english translation - Complete documentation and english translation
- support zipped torrents?
* beta3 * beta3
- Windows port (Chris - Peerkoel) - Windows port (Chris - Peerkoel)
- Translations update - Translations update
- Optimize and cleanup code - Optimize and cleanup code
- improve and test tracker authentication code (remember login/pass)
- are paused torrents downloaded anyway sometimes? (check this)
- Wait for some bug fixes in libtorrent : - Wait for some bug fixes in libtorrent :
- upload/download limit per torrent - upload/download limit per torrent
- double free or corruption on exit - double free or corruption on exit

10
src/bittorrent.cpp

@ -198,11 +198,11 @@ void bittorrent::pauseTorrent(QString hash){
QFile paused_file(misc::qBittorrentPath()+"BT_backup"+QDir::separator()+hash+".paused"); QFile paused_file(misc::qBittorrentPath()+"BT_backup"+QDir::separator()+hash+".paused");
paused_file.open(QIODevice::WriteOnly | QIODevice::Text); paused_file.open(QIODevice::WriteOnly | QIODevice::Text);
paused_file.close(); paused_file.close();
int index = torrentsToPauseAfterChecking.indexOf(hash); }
if(index != -1) { int index = torrentsToPauseAfterChecking.indexOf(hash);
torrentsToPauseAfterChecking.removeAt(index); if(index != -1) {
qDebug("A torrent was paused just after checking, good"); torrentsToPauseAfterChecking.removeAt(index);
} qDebug("A torrent was paused just after checking, good");
} }
} }

Loading…
Cancel
Save