jarnedemeulemeester / findroid

Third-party native Jellyfin Android app
GNU General Public License v3.0
2.67k stars 167 forks source link

Downloads to external storage always fail. #778

Open chipgw opened 5 months ago

chipgw commented 5 months ago

Describe the bug When attempting to download an item, it will succeed when downloading to internal storage, but fail without making any progress when selecting external storage.

To Reproduce Steps to reproduce the behavior:

  1. Press the download button on a show or movie
  2. Select External
  3. The download button spins for a couple seconds, then returns to its previous state and a notification appears saying the download failed.

Expected behavior The selected media downloads to external storage like it does when internal storage is selected.

Screenshots I'm not sure screenshots would help, but if needed I can record a video of a download attempt.

Device info:

Additional context Don't think it's supposed to, but the app never requests any file storage permissions nor are there any available to select in the android settings for the app (button is grayed out with the text "No permissions requested").

Here's the logcat from a failed attempt, in case there's anything useful there. (I filtered to lines containing "DownloadManager" since that seemed to be what was relevant; if there's more that would be useful LMK and I can get it) findroid-failed-download-attempt-logcat.txt

I'll see about digging into the code & doing a bit of debugging myself when I get back from the trip for which I was trying to download things to see if I can figure out anything else.

tmortagne commented 4 months ago

Same problem on Android 11 (actually Amazon Fire OS 8.3.2.4).

Don't think it's supposed to, but the app never requests any file storage permissions

Yes, I too feel like it's the problem here.