View Issue Details

IDProjectCategoryView StatusLast Update
0012156MMAUPnP / Castingpublic2015-07-22 18:03
Reporterrusty Assigned To 
PriorityurgentSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.0.7 
Target Version1.1.3Fixed in Version1.1.3 
Summary0012156: UPnP: download manager status doesn't indicate status within a file
DescriptionIf the user downloads a file with the UPnP > Download function, the status indicator is binary--i.e. it doesn't indicate download status within a file--it just goes directly from 0 to 100%.

For a large file (or a slow network) this makes it look as if the download isn't working, even though it is.
TagsNo tags attached.
Fixed in build461

Activities

marek

2015-07-16 09:24

developer   ~0042707

Notification was refactored according Android design standards
 - system GUI
 - added remaining time

Fixed in build 460

rusty

2015-07-22 04:21

administrator   ~0042734

Tested 560 and it's generally working, however, the x minutes to finish indicator seems to fluctuate much more than it should (it continually changes every half second resulting in estimates that don't really make sense). I would suggest that calculations should be based on measurements of running averages of the last x seconds in order to limit such fluctuations, and perhaps only update the metric every 1-2 seconds.

marek

2015-07-22 10:02

developer   ~0042738

The main reason is that the wifi speed really fluctuates a lot. In my case 400kb - 2 MB/s.

It was already implemented as exponential moving average. The smoothing factor was 3:1 (previous speed to speed of current sample). Sample was measured each 0.5 seconds. Time is not shown till enough samples is obtained. Now the factor is 5:1 and sample length is 1 second.

It also counted the average speed per track - not per whole download process. This is fixed now. The speed is shared between tracks.

I have also removed some testing code that caused failures.

I have added 2 seconds to remaining time per each track too. This approximately simulates the connection and DB insertion time per each track and the remaining time is more accurate now.

Fixed in build 461

rusty

2015-07-22 18:03

administrator   ~0042742

Verified 461.