[kde] Re: How KTorrent commanded to download a file sequentially

2011-05-22 Thread Duncan
giovanni_re posted on Sun, 22 May 2011 01:11:28 -0700 as excerpted:

 A)  How can KTorrent be commanded to download a file sequentially
 (without gaps), rather than pieces distributed randomly throughout the
 file?
 
 B)  How can KT be told:
 1) at first, only download on torrent1 until it is completely dl'd.
 2) then, switch to dl'ing 5 torrents simultaneously

 Using KT 3.3.4 on kde 4.4.5 in KUbuntu 10.04.
 
 Maybe these things are fixed in KT 4?  - which I'll have hopefully
 shortly when I upgrade to KU 11.04.
 
 =
 also, when I do Help  KTorrent handbook, it gives the popup error
 message: The file or folder help:/ktorrent/index.html does not exist.
 
 Is there none, or is this maybe a KUbuntu packaging problem?

Caveat:  I have ktorrent 4.1.1 (on kde 4.6.3) installed here, on Gentoo, 
but I torrent rarely enough that I don't know the application particularly 
well.  (FWIW, I'm a reasonably heavy newsgroup/usenet user and probably 
never got into torrenting as the newsgroups kept me busy.  But I've used 
torrents for distribution ISOs and the occasional specific archive I've 
read about somewhere, like the 17-gig archive of myspace private photos 
someone grabbed and torrented at one point, at times.)

There's a handbook that says 4.0 included, but it's not much of one.  
It's basically a single intro page with one-line descriptions of some of 
the features, plus links to the homepage, (online) handbook, forum, wiki, 
and the general kde forums.

According to the homepage, 4.0 was the feature release after 3.3.4, and 
4.1 after that.  4.0 included magnet and uTP protocol (torrenting over UDP 
instead of TCP) support.  4.1 included superseeding support and a kio-
magnet kioslave.  There's also a UI redesign to make better use of kparts, 
and **VIDEO-STREAMING**, watch a movie as it's downloading.

That video-streaming bit should pertains to your sequential download 
question, as watching the movie in random order probably wouldn't be all 
that satisfying an experience.  =:^P

For the second question, download one torrent first, then switch to five-
at-once, I suspect you'd have to use the scripting interface to change the 
setup to fie-at-a-time once the script gets the download-finished event on 
the first torrent.  However, as I said, I'm definitely not an expert, and 
it may actually be possible using torrent priority too, if it's possible 
to set the first one at higher priority then the five others at the same 
priority lower than the first.

FWIW, the links...

homepage:   http://ktorrent.org/

handbook/wiki:  http://ktorrent.org/wiki/index.php/Main_Page

ktorrent forum: http://ktorrent.org/forum/

-- 
Duncan - List replies preferred.   No HTML msgs.
Every nonfree program has a lord, a master --
and if you use the program, he is your master.  Richard Stallman

___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


[kde] Re: How KTorrent commanded to download a file sequentially

2011-05-22 Thread gene heskett
On Sunday, May 22, 2011 06:46:50 AM giovanni_re did opine:

 A)  How can KTorrent be commanded to download a file sequentially
 (without gaps), rather than pieces distributed randomly throughout the
 file?

That is how he torrent protocol works.  You are asking for an ftp style 
pull.  Torrents are generally pre-allocated on disk which reduces file 
fragmentation.  One thing I always do is when the gui says 100%, I stop it 
from the menu stop, verify that there are no processes left, and restart 
it, which causes the engine to recheck the download and fix any errors.

 B)  How can KT be told:
 1) at first, only download on torrent1 until it is completely dl'd.
 2) then, switch to dl'ing 5 torrents simultaneously

That I can't answer.  I do know there is some scripting ability, but its 
defaults have always Just Worked(TM) for me.  Some of its earlier gui's 
were a disaster, but the torrent engine worked fine.

[...]

-- 
Cheers, Gene
There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order.
-Ed Howdershelt (Author)
http://tinyurl.com/ddg5bz
http://www.cantrip.org/gatto.html
How can you think and hit at the same time?
-- Yogi Berra
___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


[kde] Re: How KTorrent commanded to download a file sequentially

2011-05-22 Thread Boyd Stephen Smith Jr.
In 201105220658.33822.ghesk...@wdtv.com, gene heskett wrote:
On Sunday, May 22, 2011 06:46:50 AM giovanni_re did opine:
 A)  How can KTorrent be commanded to download a file sequentially
 (without gaps), rather than pieces distributed randomly throughout the
 file?

That is how he torrent protocol works.  You are asking for an ftp style
pull.  Torrents are generally pre-allocated on disk which reduces file
fragmentation.  One thing I always do is when the gui says 100%, I stop it
from the menu stop, verify that there are no processes left, and restart
it, which causes the engine to recheck the download and fix any errors.

KTorrent for KDE 3 (can't remember the version) had a per-torrent operation to 
prefer early chunks when your client gets a choice.  This doesn't guarantee 
you get things completely in order, but it can (for example) get you enough 
headers for certain file types to get the metadata / preview / etc. earlier.

Yes, the torrent protocol doesn't really allow for in-order downloads exactly, 
but your client can request certain chunks first.

 B)  How can KT be told:
 1) at first, only download on torrent1 until it is completely dl'd.
 2) then, switch to dl'ing 5 torrents simultaneously

That I can't answer.  I do know there is some scripting ability, but its
defaults have always Just Worked(TM) for me.  Some of its earlier gui's
were a disaster, but the torrent engine worked fine.

I don't know a way to catch the notification that a torrent has been 
completed, but all the torrents and be stopped, started, and their status 
queried using the DBus interface in the most recent KTorrent versions.

So, you might be able to write a script to do what you want by regularly 
polling KTorrent.

The scheduler plug-in does time-based bandwidth restrictions (including 
stopping / starting all torrents), but it can't handle this particular use 
case.
-- 
Boyd Stephen Smith Jr.   ,= ,-_-. =.
b...@iguanasuicide.net   ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/\_/


signature.asc
Description: This is a digitally signed message part.
___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

[kde] No sound in Kubuntu 11.04

2011-05-22 Thread Marcelo Magno T. Sales
Hello,

Every time I boot my VAIO VPCF111FB, the sound starts working ok in KDE. 
After some time it is running (sometimes hours, sometimes days), audio 
stops working in KDE. KDE notifications don't produce any sound and KDE 
applications do not either. However, non-KDE applications like mplayer 
continue producing sounds normally. The problem is solved temporarily 
with a reboot.
Also, when I go to SystemSettings - Multimedia after the sound stops 
working, I get a messaging informing that KDE has detected that one or 
more internal sound devices were removed (?!) and asking if KDE can 
permanently forget about them. The supposedly removed devices are:
Capture: HDA Intel (ALC275 Analog)
Output: HDA Intel (ALC275 Analog)
Output: HDA Intel (ALC275 Analog) #1

After a reboot, the devices magically hurry back inside the notebook and 
start working again. 

Before Natty I was running Lucid in this very computer with no sound 
issues at all.
This happens after a clean Kubuntu 11.04 amd64 install and also happens 
if I first install Ubuntu 11.04 amd64 and add kubuntu-desktop later.
Since Jaunty, I have always installed first Ubuntu and later added 
kubuntu-desktop, because I used to have similar sound problems when 
installing Kubuntu directly (with other computers, before I've bought 
this one) that seam to be solved this way. But now with Natty, the 
problems persist even if I install Ubuntu first.
Any idea of what may be causing this? I hate having to reboot the 
computer every now and then.

Thanks,

Marcelo
___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


[kde] Re: No sound in Kubuntu 11.04

2011-05-22 Thread Duncan
Marcelo Magno T. Sales posted on Sun, 22 May 2011 13:42:25 -0300 as
excerpted:

 Every time I boot my VAIO VPCF111FB, the sound starts working ok in KDE.
 After some time it is running (sometimes hours, sometimes days), audio
 stops working in KDE. KDE notifications don't produce any sound and KDE
 applications do not either.

 Also, when I go to SystemSettings - Multimedia after the sound stops
 working, I get a messaging informing that KDE has detected that one or
 more internal sound devices were removed (?!)

Disappearing sound devices is a somewhat common problem with the phonon-
xine backend. I had it here, and I've seen others posting similar issues.

Check the phonon settings in kcontrol (systemsettings, it's not 
systemsettings for the most part but user-specific kde settings, so I 
continue to use the more accurate kde3 term), and if it's set to the 
phonon-xine backend, try a different one, perhaps phonon-vlc (which you 
might have to install, first).

Switching to the phonon-vlc backend here completely solved my problem, and 
at least one other person reported that it did for them too, after I 
recommended that they try it.  (OTOH, it didn't seem to help for someone 
else.  Maybe they had other problems too.)

FWIW, for some months (I'm not doing so currently as it took too much 
time) I was following the kde-planet sindicated feed, and during that 
time, probably about a year ago, one of the phonon authors posted an 
article to his blog saying that while phonon-xine was the earliest stable 
backend and thus has been the default on many distributions, xine turned 
out not to be as flexible as they needed, so that backend was deprecated 
and not getting a lot of new work done to it.  He recommended the vlc 
backend as the one then taking the lead.

FWIW, there's also phonon-gstreamer, which might be most compatible with a
gnome-based distro, and may be some others as well.  But the xine backend 
seems to be the most common, despite its issues, probably because it was 
the first usably stable backend, and the vlc backend is the one that blog 
recommended people switch to in the future, and the one that cured the 
disappearing device issues the xine backend was giving me.

-- 
Duncan - List replies preferred.   No HTML msgs.
Every nonfree program has a lord, a master --
and if you use the program, he is your master.  Richard Stallman

___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


[kde] Re: Kaffeine and playing files from off the local network

2011-05-22 Thread John Woodhouse
This is beginning to look like a bug that maybe should spread. I have been 
playing around with amarok which seemed to work with files off the nas. If I 
launch click an mp3 on the nas all is ok. It plays but if I try to generate a 
play list with it it fails to play them again. If I navigate to the nas via 
amarok and select an mp3 it won't accept it. So it looks like for some reason 
kde is passing it a file when an mp3 is launched. I don't think they are being 
downloaded before playing otherwise the playlist should still work.


I wonder if this all relates to this bug https://bugs.kde.org/253547. Biggest 
problem with that is that the X-KDE-Protocols shown there are correct in my VLC 
.desktop file. Amarok only has http added.

It doesn't work either way with VLC despite it having a files input which 
includes an increased buffer time for use over the network. I'm not sure if 
it's 
can only open local files when one is selected off the nas error message is 
down to kde or what.

John
KDE 4.6.0 - 6 64bit
___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.