lespas icon indicating copy to clipboard operation
lespas copied to clipboard

Sync: prioritise images over videos

Open bernd-wechner opened this issue 11 months ago • 7 comments

Is your feature request related to a problem? Please describe. I find I am syncing and waiting forever while a huge video syncs up before the photos I'm waiting on get synced up.

Describe the solution you'd like I'd like it to prioritise the smallest files first, basically.

Describe alternatives you've considered There are none ;-) that I'm aware of

Additional context I find the NextCloud client's Sync it's central and weakest feature and am trying Les pas and it's working better! Kudos. Let's make it better still.

bernd-wechner avatar Jan 23 '25 07:01 bernd-wechner

Many days later it is still stuck irrevocably on that one video: (this status has not changed since my post above last week, many phon reboots later, but I've not cleared all Les pas data yet - because well, I don't need to wipe all configs I guess and I've been waiting patiently ;-)).

Image

So I'd say:

a) sync is broken b) there need to be more diagnostics and better progress feedback. See: https://github.com/scubajeff/lespas/issues/185 c) I'm back to the flakey Nextcloud client (though I do otherwise, quite love Les Pas)

bernd-wechner avatar Feb 01 '25 02:02 bernd-wechner

I'm on trip right now and not with my development PC. And I'm also facing this bug myself. Will try to fix it as soon as I get home. Please stay tuned.

scubajeff avatar Feb 01 '25 07:02 scubajeff

Is your phone running on Android 15?

scubajeff avatar Feb 04 '25 02:02 scubajeff

Android 13.

bernd-wechner avatar Feb 04 '25 03:02 bernd-wechner

Would you like to test a debug version?

scubajeff avatar Feb 04 '25 06:02 scubajeff

Happy to. Just need to know how.

bernd-wechner avatar Feb 04 '25 07:02 bernd-wechner

The upload issue on my side has something to do with slow server connection speed and Android 15's aggressive background task cancellation. This debug version uses Nextcloud's new chunked upload API V2 and smaller chunk size. My upload issue seems to be solved although it takes quite some amount of time to upload a single large video file. So all in all, it's a temporally fix.

Please download and install this debug version following this link

You will need to uninstall your current installation first since the signing key of this debug version is different from the one of the release version. After installation, you can go to the Gallery function page and activate the camera backup from there. Because you mentioned that even the upload of a 32KB size file is stalling, you should also check the network connection from your phone to your server to make sure everything is working as it should be.

scubajeff avatar Feb 05 '25 07:02 scubajeff