![]() Registered Member ![]()
|
Ktorrent doesn't like removable storage. It complains that files doesn't exist, then they are on removable drive, which isn't always mounted. So I need to stop certain torrents on system shutdown, then ktorrent is quitting. However, there seems to be no callbacks provided for such events.
Or maybe, there is some way too suppress file missing dialogues on startup and automatically stop those torrents? I'am using ktorrent 3.3.4 from kubuntu 10.04 Thanks for advice |
![]() Moderator ![]()
|
If your script has an unload function it will be called when the script is unloaded, all scripts will be unloaded on exit:
http://ktorrent.org/wiki/index.php/Writ ... ts#Cleanup Regarding, the fundamental problem of removable storage, it is my intention in 4.1 to add some mechanism to keep track of removable storage, and not start torrents when the storage is not mounted. |
![]() Registered Member ![]()
|
Thank you.
this script did the trick
Also ktorrent crashes if external storage is unplugged while data is read. |
![]() Moderator ![]()
|
Have you got a backtrace of the crash ?
|
![]() Registered Member ![]()
|
it's not very hard to reproduce. See if it helps
|
![]() Moderator ![]()
|
Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]