Registered Member
|
Hi George,
You had indicated a desire to dump kross/python for scripting. I was exploring qdbus for my bash script, and noticed there are more APIs and Signals in qdbus than in the scripting API reference. Any reason to not just use qdbus for scripting? Or could qdbus be used for scripting? Kross, Python, nor qdbus are on my 'known' language list, nor probably anyone who wants to play with this stuff, so if they all can do the same job, and we probably need to learn new syntax anyway.... So, I'll ask this of you, as I want to proceed further with it, but the APIs to do so aren't available in kross, but seem to be in qdbus. Can you re-write the attached for qdbus? (And then point me at your favourite newb's guide for qdbus?) Thanks, Sam Edit: I started playing, but got stumped quickly.
How do you make the setMaxSeeds "stick?" KT never changed the number of seeds from 4. In config, KT will eventually show 6, but KT itself never increases the number of seeds to 6. Oddly the "Apply" button is greyed and clicking "OK" won't change the Max seeds to 6 either. (Once you manually change the max seed value in config, then "Apply" enables, and "OK" works correctly.)
Last edited by imported4-Sam on Thu Jul 14, 2011 6:46 pm, edited 1 time in total.
|
Moderator
|
qdbus org.ktorrent.ktorrent /settings apply
|
Registered Member
|
Thanks, and I'll post this here since it's dbus related.
$ qdbus org.ktorrent.ktorrent /settings cpuUsage returns "Network sleep interval." Maybe it's suppose to, but the naming is then circumspect. Best, Sam |
Registered Member
|
Hi George,
Ignore my original request. dbus is too painful. The needed error handling alone makes it an unviable tool. So, when ya gonna port scripting to something usable??? Sam |
Registered users: bancha, Bing [Bot], Google [Bot], Sogou [Bot]