| 8 | | The only problem case is if someone manually adds files to an old torrent. If the added files bump total_done over all_time_download which means behaviour is the same as before. If the added files don't bump total_done over all_time_download then all_time_download is used which is a bigger number and results in a lower ratio which is closer to the truth. So while this change doesn't fix this case it still improves it. |
| | 7 | - If the download is new then `total_done` and `all_time_download` will be about the same. |
| | 8 | - If the download is new but some files have already been downloaded then total_done will be used as it will be bigger than `all_time_download`. |
| | 9 | - If the download is old and we deselect some files(set to not download) and also delete them then `all_time_download` will be used as it will be (much) bigger than `total_done`. This is the main improvement. |
| | 10 | |
| | 11 | The only problem case is if someone manually adds files to an old torrent. If the added files bump `total_done` over `all_time_download` which means behaviour is the same as before. If the added files don't bump `total_done` over `all_time_download` then `all_time_download` is used which is a bigger number and results in a lower ratio which is closer to the truth. So while this change doesn't fix this case it still improves it. |