khoadng / Boorusama

A mobile client for booru sites built with Flutter
GNU General Public License v3.0
147 stars 8 forks source link

New Issue Downloading MP4 Files #449

Closed bhbobby closed 1 month ago

bhbobby commented 1 month ago

The previous issue seemed to fix itself as it was apparently an issue with the website itself, however I have a new error with downloading video files that only affects video files once again, pictures download fine. Here is the error I am getting with video files:

Download error: PathNotFoundException: Cannot copy file to '/storage/3233-6230/Download/ 5353372_c0791b64.mp4', path = '/data/user/0/com.degenk.boourusama/cache/ c0791b641897622c1e5c35f11e175f35.mp4.partial' (OS Error: No such file or directory, errno = 2)

It's not a directory or path issue as this is only affecting video files, image files have no problem saving to the path I set. Thank you

khoadng commented 1 month ago

Does it only happen when bulk downloading?

bhbobby commented 1 month ago

No, it's happening as a single file download as well

khoadng commented 1 month ago

Are you using the legacy downloader? Go to Settings > Downloads and turn it off to see if the issue is fixed

bhbobby commented 1 month ago

Legacy downloader is off, I don't think I've ever had it on

khoadng commented 1 month ago

Try clearing the app’s cache, it looks like the downloaded file might be corrupt.

bhbobby commented 1 month ago

Where do I go to do that?

khoadng commented 1 month ago

Settings > Data and Storage.

If it doesn't work, long press on the app icon. There should be options for you to clear app's cache. Don't clear app's data tho, you will lose all of your profiles.

bhbobby commented 1 month ago

Yeah, it was my device running low on memory, I guess. I cleared some stuff out and it's working again. Sorry, to be such a bother with this stuff.

While I have you here, is there a way to manually set the number of concurrent downloads in bulk downloader?

khoadng commented 1 month ago

I left it out on purpose to prevent potential abuse. Having tons of concurrent downloads puts a heavy load on the server, and the site owner probably wouldn’t like that

bhbobby commented 1 month ago

Well, that's the thing. I want to lower the number. I see though, thanks

khoadng commented 1 month ago

Since the issue is resolved, I will go ahead and close this, feel free to reopen if you still have other concerns.