android-squeezer icon indicating copy to clipboard operation
android-squeezer copied to clipboard

Download to local does not work

Open ponchavelo opened this issue 4 years ago • 5 comments

Squeezer version : 2.2.3 Device : OnePlus 7T Pro Android 10 Google play system update : 2021-01-01

When selecting the Download menu item on an album or on a title, nothing happens and there is no error message. If Download confirmation is enabled, the confirmation dialog appears but the download does not start if "Download is selected"

After investigating about permissions, it seems that Squeezer Android does not have persmission to access Storage but also request for it. So it is not possible for me to allow the application to access my device storage if it may be the reason to the problem.

ponchavelo avatar Feb 21 '21 17:02 ponchavelo

Storage permissions depends on the Android version.

  • Prior to Android 6.0, download depends on storage permissions which is granted by the user when the app is installed.
  • Android 6.0 to Android 9 uses runtime permissions, which is granted by the user when they are needed. For Squeezer this means that a pop up requesting the permission is shown when the download button is pressed.
  • Android 10 and newer (or until they change it again) use scoped storage. With scoped storage, access is assigned based upon storage type and the ownership of the content. Apps will have unrestricted access to contribute files ( Media & Non-Media) as long as the file is stored in organised collection. No permissions are required.

Since you are on Android 10, you will not find any storage permissions for Squeezer.

When you select download the download is supposed to start via Androids built in download manager. You can follow the progress by pulling down the notification bar. Once the download is finished the songs are supposed to show up in the music player(s) on your Android device.

If the above doesn't work, maybe the problem is located in the download manager. Here's an article on how to fix it (look for issue 9. Downloads Not Working): 20 Common Android Problems Solved

kaaholst avatar Feb 21 '21 22:02 kaaholst

Thank you for your help.

I finally figured out the problem. The download manager was working properly.

My music server is hosted on a NAS with credentials. My connection changed recently and the credentials were cleared resulting in a simple guest access. That worked fine for streaming but it's not enough rights to download the files.

Maybe the Squeezer app could display a message in such a situation to let the user know about a required right elevation.

ponchavelo avatar Feb 23 '21 07:02 ponchavelo

Glad you got it working.

You are quite right Squeezer should notify the user of failed downloads. We do get some status messages from the download manager, I'll see what I can do.

Thanks for the feedback.

kaaholst avatar Feb 23 '21 22:02 kaaholst

I'm reopening this issue as, again, I fail to download songs to local on my device. Squeezer version : 2.2.7 Device : OnePlus 7T Pro Android 11 Google play system update : 2021-02-01

But this time, I'm properly logged in with an account that allows me to download files.

Is there any update about the feature that would display an error code or message when the download fails ?

Thank you

ponchavelo avatar Sep 26 '21 13:09 ponchavelo

No there's no update on the notification of failed downloads. I'll leave this open for anyone to pick up.

kaaholst avatar Sep 27 '21 17:09 kaaholst