mmozeiko / RcloneBrowser

Simple cross platform GUI for rclone
https://mmozeiko.github.io/RcloneBrowser
The Unlicense
1.32k stars 415 forks source link

support for changes in rclone 1.39 #85

Open toliman opened 6 years ago

toliman commented 6 years ago

There have been a handful of changes in the December 23rd, 2017 release, https://rclone.org/changelog/

for instance, the stats / verbose output has changed, which isn't being picked up by the GUI ticking verbose produces this level of detail now. (filenames changed, sic)

2018/01/29 04:03:14 INFO : Transferred: 1.699 GBytes (1.485 MBytes/s) Errors: 0 Checks: 78 Transferred: 10 Elapsed time: 19m31.7s Checking: * redhat.iso Transferring: * ...folder/filename.ext: 17% /9.481G, 902.198k/s, 2h31m9s * ...folder/filename.ext: 88% /432.591M, 709.782k/s, 1m10s * (6 spaces) ...20160717/files for backup 02/gentoo.iso: 64% /630.585M, 650.039k/s, 5m50s

for files being transferred, it appears to try to align to the right, so that there's a ~43 character area for the folder/file.extension, then the size/speed/remaining states. filenames being checksum'd also appear to have more room, but this could be incidental.

going back to rclone 1.38 or 1.37, transfers show up again.

fredlefred commented 6 years ago

I don't want upload my change directly, but the change below will fix progress with rclone 1.39 (may be backward compatible width previous rclone). --- job_widget.cpp.orig 2018-03-07 14:04:39.637384571 +0100 +++ job_widget.cpp 2018-03-07 14:04:48.321715341 +0100 @@ -69,7 +69,7 @@ QRegExp rxChecks(R"(^Checks:\s+(\S+)$)"); QRegExp rxTransferred(R"(^Transferred:\s+(\S+)$)"); QRegExp rxTime(R"(^Elapsed time:\s+(\S+)$)"); - QRegExp rxProgress(R"(^\*([^:]+):\s*([^%]+)% done.+(ETA: [^)]+)$)"); + QRegExp rxProgress(R"(^\*([^:]+):\s*([^%]+)%.+,\s*([^,]+)$)"); ` while (mProcess->canReadLine())`

Evoley commented 6 years ago

@fredlefred You can probably fork it and add it that way.

M-K-C commented 6 years ago

Some who can compile a new Rclone Browser with the latest changes that have come since the last official version, it should preferably support version 1.39 and up to the last beta version. ?

M-K-C commented 6 years ago

It works great thanks for the compile :-)

2018-05-02 2:17 GMT+02:00 chroisle12 notifications@github.com:

@toliman https://github.com/toliman @fredlefred https://github.com/fredlefred @Evoley https://github.com/Evoley @M-K-C https://github.com/M-K-C

Hi, are any of you by any chance using Windows? Unfortunately, I cannot compile for Linux or Mac as I have no experience nor knowledge of it, but I was able to compile and test the changes to the code that and it works with rclone 1.41.

Nothing else than what @fredlefred https://github.com/fredlefred posted has been changed, which is why it still says version 1.2, last edited in 2017 etc etc. I've uploaded a Zip-file, which contains "RcloneBrowser.exe" All you have to do is replace your current "RcloneBrowser.exe" with this and you're ready to go.

RcloneBrowser.zip https://github.com/mmozeiko/RcloneBrowser/files/1965548/RcloneBrowser.zip

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/mmozeiko/RcloneBrowser/issues/85#issuecomment-385828003, or mute the thread https://github.com/notifications/unsubscribe-auth/Ajrp0XEOO0nyj0At0U1EhKx-eKN7iNHxks5tuPsPgaJpZM4Rvx_R .

-- Med venlig hilsen

Michael Kjær Christensen Vestergade 59G 9510 Arden 23888850 michael.k.christensen@gmail.com