This forum has been archived. All content is frozen. Please use KDE Discuss instead.

[SOLVED] Annoying torrent files select

Tags: None
(comma "," separated)
zadirion
Registered Member
Posts
3
Karma
0
i wrote a script some time ago that automaticaly checks a tracker for new torrents, downloads the torrents and opens them with ktorrent.

now ktorrent always askes for which parts of the torrent i want to download, before starting the download. but that defeats the purpose of my script since i always have to confirm the download, which can be so annoying too.

how can I disable that prompt, so that ktorrent downloads the whole torrent without asking me which parts of it should it download. I am using ktorrent 2.2.7 on debian lenny.

Oh and is there or will there be a ktorrent 3.x for kde 3.5 since debian lenny still uses that version of kde?

Last edited by zadirion on Sun Aug 03, 2008 8:22 pm, edited 1 time in total.
agforsyth
Registered Member
Posts
133
Karma
0

Sun Aug 03, 2008 5:21 pm
Use openSilently() instead of open()... or whatever the exact names are.
stoeptegel
Registered Member
Posts
1075
Karma
0

Sun Aug 03, 2008 5:25 pm
3.1.1 is already in sid, so 3.1.2 will be there too. Not sure about lenny, guess not.
zadirion
Registered Member
Posts
3
Karma
0

Sun Aug 03, 2008 6:08 pm
phantom042 wrote:Use openSilently() instead of open()... or whatever the exact names are.


erm i am not sure what you mean, i open the torrent file in a shell script like this

Code: Select all
ktorrent $pathToTorrent
agforsyth
Registered Member
Posts
133
Karma
0

Sun Aug 03, 2008 6:16 pm
You need to use DCOP. Take a look at the script stickied in the other forum.
zadirion
Registered Member
Posts
3
Karma
0

Sun Aug 03, 2008 6:48 pm
phantom042 wrote:You need to use DCOP. Take a look at the script stickied in the other forum.


i'll give it a try and get back to ya with the result

later edit:
well i looked at the file and tried dcop. worked like a charm
Code: Select all
dcop ktorrent KTorrent openTorrentSilently $pathtotorrent



Thanks lots


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]