Comment 1 for bug 659040

Revision history for this message
Facundo Batista (facundo) wrote :

ContentChanged signal is deprecated. You should use RequestQueueAdded and RequestQueueRemoved.

Note that RequestQueueAdded includes all the command info; in particular for Upload and Download you have deflated_size (compressed byte count, as you requested).

However, there's an important detail: those values are in None when the command is added to the Queue, because they're calculated after they're queued.

Regarding the waiting content list, you can ask the information through the --waiting option in u1sdtool, or the corresponding DBus call, and will send these values (with correct values if they're already calculated or received from the server).