Comment 3 for bug 655788

Revision history for this message
Chad Miller (cmiller) wrote : Re: Songs often stop playing with only partial completion

It should begin playing tunes that are not fully downloaded. It tries to predict when it's safe to start playing, based on current bandwidth. If a file is 10MB and 3 minutes long, and we can download at 2MB/minute, then it will take 5 minutes to download. After 2 minutes, if we start playing, the download should finish when the song finishes.

(This ignores the nonlinearity of compressed data in time versus file position.)

Anyway, if the prediction of file download time is wrong, then the player could reach the end before the downloader does.

The file is probably still in the download queue, and therefore supposedly playable (given the calculation like above).

The bug here is that the download queue should have a shorter memory about what's going on with the network. Having hours of good usage tells nothing about the download rate for the past or next few minutes.