Improving the stats which are returned by
core/statsto incorporate all the information about the currently running transfers. Currently, we have to manually map the jobs in
core/transferred, and we don't return anything for jobs that are queued to be started, we should be able to easily get currently waiting, transferring and transferred jobs in separate arrays, and they can be mapped using a group id and a file name.
Also, when we try to upload a folder, I think we should pre-group the stats and nest the individual jobs inside the original job, and provide a sum of details of the group, as well as the individual job.
core/statsshould return the ingress and egress that is being done by rclone.
We should return everything we have about current transfers in the core/stats itself,
- Current upload speed
- Current download speed
- Currently transferring
- Checking/ Queued