khalidkhan020 / transdroid

Automatically exported from code.google.com/p/transdroid
GNU General Public License v3.0
0 stars 0 forks source link

transdroid mistakes Bit, KB and MB with qBittorrent #439

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
transdroid mistakes Bit, KB and MB with qBittorrent 
it displays everything as Bits so calculations are wrong in the torrents list
it displays 2B/s for download speed instead 2.4MB/s e.g.
the file I'm downloading seems to be 3B instead of 5.5GB (this is weirder)
and every remaining times are less than 1 sec. (that would be cool)

- What steps will reproduce the problem?
using transdroid to control qBittorrent , i guess

- What version of the product are you using?
transdroid 1.1.8

- What torrent client are you using?
qBittorrent 3.0.6 on windows 7

Original issue reported on code.google.com by krodelab...@gmail.com on 14 Nov 2012 at 12:30

GoogleCodeExporter commented 9 years ago
Actually the problem is with translated string for megabytes, gigabytes, etc. 
The explanation is here: 
http://www.transdroid.org/forum/index.php?p=/discussion/165/qbittorrent/#Item_4

As stated in the documentation:

"BIG FAT WARNING: size, dlspeed, upspeed and eta suffixes (e.g. MiB, KiB/s) 
will depend on current language selected in qBt; these suffixes will be 
translated."

Which is an issue because Transdroid does not (and realistically can't) know 
the translations to all suffixes. Really, qBittorrent should send me the number 
of bytes (just a plain Long number) instead. But it doesn't, so I have to rely 
on parsing the size/dlspeed/upspeed/etc. suffixes and all I can do is assume 
the standard English terms are used.

I suggest sending a feature request (to the qBittorrent devs) to return (also) 
the size/speed/etc. fields as numbers and not only as translated strings.

Original comment by erickok@gmail.com on 26 Feb 2013 at 3:37