gokadzev / Musify

Unlock the full potential of music: Stream effortlessly with one app!
https://gokadzev.github.io/Musify
GNU General Public License v3.0
1.94k stars 178 forks source link

Can't Download Music - Android 10 #127

Closed JayHunta closed 1 year ago

JayHunta commented 1 year ago

Acknowledgements

Current Behavior

When I download a song, I get the message at the bottom: Download Started.

However, I don't see any songs downloaded, not do I see any indication that the download is completed.

Expected Behavior

I would like for the song to download and know where the song downloads to.

Steps To Reproduce

  1. Opened the app
  2. Clicked on the download arrow on a song from the Recommended for you section
  3. See Download Started

Musify Version

3.7.0

Operating System Version

10

Additional information

Using a Note 9 App Permissions are allowed

gokadzev commented 1 year ago

Acknowledgements

  • [x] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
  • [x] I have written a short but informative title.
  • [x] I have updated the app to latest version Latest.
  • [x] I will fill out all

Current Behavior

When I download a song, I get the message at the bottom: Download Started.

However, I don't see any songs downloaded, not do I see any indication that the download is completed.

Expected Behavior

I would like for the song to download and know where the song downloads to.

Steps To Reproduce

  1. Opened the app
  2. Clicked on the download arrow on a song from the Recommended for you section
  3. See Download Started

Musify Version

3.7.0

Operating System Version

10

Additional information

Using a Note 9 App Permissions are allowed

i have tested the app on MIUI 12/13 Android 10/11/12 so it shouldn't be app problem, i think you need to grant "access all files" permission too and that's why it doesn't download

JayHunta commented 1 year ago

Thanks for the reply.

Here's a screenshot of the permissions. I don't see an option for all access. Maybe I'm missing something?

the old screenshot

gokadzev commented 1 year ago

Thanks for the reply.

Here's a screenshot of the permissions. I don't see an option for all access. Maybe I'm missing something?

the old screenshot

oh wait, you mean samsung, i thought you meant xiaomi redmi note 9

JayHunta commented 1 year ago

I'm sorry. I forgot that Xiaomi makes Notes as well. But yes, it's a Samsung Note 9.

gokadzev commented 1 year ago

I'm sorry. I forgot that Xiaomi makes Notes as well. But yes, it's a Samsung Note 9.

i need logs

JayHunta commented 1 year ago

Sure thing. I'm relatively new to this, so how can I produce the logs to send to you?

com-master commented 1 year ago

I think i know why. You build your app for sdk 33 but manifest external permission have max 32. the old screenshot

gokadzev commented 1 year ago

I think i know why. You build your app for sdk 33 but manifest external permission have max 32. the old screenshot

that's not problem, we are talking about Android 10 (sdk 29). since Android 13 has new permissions to access on different types of file, we don't need External storage permission for Android 13 (sdk33)

com-master commented 1 year ago

But i have android 13 and cant download to device too (

gokadzev commented 1 year ago

But i have android 13 and cant download to device too (

the issue related to your problem: #106

i have Android 12, that's why i can't provide full support for Android 13. but i have tested it on Android 10 and it was working so this is another problem

com-master commented 1 year ago

Could you send an app with enabled debug mode for get log?

пт, 27 янв. 2023 г., 12:29 Valeri Gokadze @.***>:

But i have android 13 and cant download to device too (

the issue related to your problem: #106 https://github.com/gokadzev/Musify/issues/106

i have Android 12, that's why i can't provide full support for Android 13. but i have tested it on Android 10 and it was working so here we have another problem.

— Reply to this email directly, view it on GitHub https://github.com/gokadzev/Musify/issues/127#issuecomment-1406242966, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKDAGGXA6DFRULPBBXBBCALWUOIOXANCNFSM6AAAAAATLWNBNQ . You are receiving this because you commented.Message ID: @.***>

gokadzev commented 1 year ago

Could you send an app with enabled debug mode for get log? пт, 27 янв. 2023 г., 12:29 Valeri Gokadze @.***>:

@com-master here: removed

com-master commented 1 year ago

@gokadzev the old screenshot

gokadzev commented 1 year ago

@com-master @JayHunta check the latest version

JayHunta commented 1 year ago

@com-master @JayHunta check the latest version

Just downloaded latest version, and receiving the same issue.

825i commented 1 year ago

Why did you re-open this? It works fine now. Music is downloaded no problem.

JayHunta commented 1 year ago

I accidentally closed it, I'm still getting the same issue. I can't download music. It has access to the storage permissions.

com-master commented 1 year ago

Yep. I cant download music too

com-master commented 1 year ago

Oh. App download track but doesnt see it in local or downloaded songs

com-master commented 1 year ago

the old screenshot

user090909 commented 1 year ago

@gokadzev D/permissions_handler(24308): No permissions found in manifest for: []15 D/permissions_handler(24308): No permissions found in manifest for: []15 I/flutter (24308): something went wrong #0 ExtStorageProvider.getExtStorage (package:musify/services/ext_storage.dart:54:18) I/flutter (24308): <asynchronous suspension> I/flutter (24308): #1 getDownloadedSongs (package:musify/API/musify.dart:266:13) I/flutter (24308): <asynchronous suspension> I/flutter (24308): #2 _FutureBuilderState._subscribe.<anonymous closure> (package:flutter/src/widgets/async.dart:628:33) I/flutter (24308): <asynchronous suspension> I/flutter (24308):

user090909 commented 1 year ago

I changed manifest but i have the same error

I/flutter (31041): something went wrong #0 ExtStorageProvider.getExtStorage (package:musify/services/ext_storage.dart:54:18) I/flutter (31041): <asynchronous suspension> I/flutter (31041): #1 getDownloadedSongs (package:musify/API/musify.dart:266:13) I/flutter (31041): <asynchronous suspension> I/flutter (31041): #2 _FutureBuilderState._subscribe.<anonymous closure> (package:flutter/src/widgets/async.dart:628:33) I/flutter (31041): <asynchronous suspension>

user090909 commented 1 year ago

I change target sdk to 30 and now i can see local songs

gokadzev commented 1 year ago

I change target sdk to 30 and now i can see local songs

i have an idea about this issue, it should be fixed in the next release

gokadzev commented 1 year ago

@JayHunta @user090909 check the latest version

user090909 commented 1 year ago

@gokadzev can download but not see local songs

gokadzev commented 1 year ago

@gokadzev can download but not see local songs

go to More > Setup > Add local songs folders which you want. That's it 🎆

JayHunta commented 1 year ago

@JayHunta @user090909 check the latest version

I've downloaded the latest version (4.1.0). I was able to add my local song folder, but can't play any songs. I used the internal memory and a SD card, and still couldn't play any songs.

Additionally, I'm still having the download issue where the application tells me that the Download is started, but nothing else happens. I also changed download locations as well. I tried the internal memory by default (various locations) and I tried my SD card (various locations) and still unable to download.

Can you walk me through how I can show you my logs on Android 10, Galaxy Note 9?

Maybe there's something there that I'm missing, because the app has all permissions.

user090909 commented 1 year ago

@gokadzev can download but not see local songs

go to More > Setup > Add local songs folders which you want. That's it 🎆

Screenshot_2023-02-09-11-19-46-17_60d40bf597786c9bfd90ecfc534f1982 Screenshot_2023-02-09-11-19-38-11_60d40bf597786c9bfd90ecfc534f1982

I cant

user090909 commented 1 year ago

Why you cant just downgrade api version?

DarkCrypt commented 1 year ago

I have same issue with downloaded songs not showing in app, v4.1.0 on Android 13. I granted all file access and made specific folders similar to above screenshot multiple times.

Also, songs only download from search results and not from player.

gokadzev commented 1 year ago

Why you cant just downgrade api version?

tell me which target sdk version fixes that problem and i will test it later

gokadzev commented 1 year ago

I have same issue with downloaded songs not showing in app, v4.1.0 on Android 13. I granted all file access and made specific folders similar to above screenshot multiple times.

Also, songs only download from search results and not from player.

can you send me the logs while you're trying to download song?

user090909 commented 1 year ago

Why you cant just downgrade api version?

tell me which target sdk version fixes that problem and i will test it later

i tried 30 and it works

DarkCrypt commented 1 year ago

can you send me the logs while you're trying to download song?

I'm not a dev, more like a power user. I have Android Studio and VS Code. I've figured out how to obtain copies of apps from repos and run emulators but don't know code.

I've never messed with logs yet but I did grab a copy of Logcat Extreme Pro for free today. I ran USB debugging and adb to get logs so I didn't have to root my phone. Now I can run logs for complete system and per app. I'll see if I can get logs on debug format and get back to you.

gokadzev commented 1 year ago

@user090909 check the latest version

DarkCrypt commented 1 year ago

I tried to get debug log, hopefully this helps. Log_2023-02-10_14-40-11.txt

gokadzev commented 1 year ago

I tried to get debug log, hopefully this helps. Log_2023-02-10_14-40-11.txt

is it taken from debug app? otherwise chances are so low to see any error

DarkCrypt commented 1 year ago

is it taken from debug app? otherwise chances are so low to see any error

Yeah, I used Logcat Extreme Pro which is said to be a good app. I never rooted my phone but app says I can run an ADB command to allow READ_LOGS permission so that's what I did. I tried to capture log when downloading song in debug format and that's the log I got. I can capture logs per app. Maybe I didn't do something right? Or maybe I can try a different format? Idk, never done logs before.

gokadzev commented 1 year ago

is it taken from debug app? otherwise chances are so low to see any error

Yeah, I used Logcat Extreme Pro which is said to be a good app. I never rooted my phone but app says I can run an ADB command to allow READ_LOGS permission so that's what I did. I tried to capture log when downloading song in debug format and that's the log I got. I can capture logs per app. Maybe I didn't do something right? Or maybe I can try a different format? Idk, never done logs before.

did you use release app? (which is published in releases page) or built it from source as debug?

DarkCrypt commented 1 year ago

I used re-release v.4.3.0 from releases page. Haven't built it from Android Studio.

gokadzev commented 1 year ago

I used re-release v.4.3.0 from releases page. Haven't built it from Android Studio.

that's why, i will give you debug release later. now i need to be sure that V4.4.0 beta works good

JayHunta commented 1 year ago

4.2.0 fixed the "Download Starting" problem for me. However, after downloading a song, either from the start page or searching, I get a "Download Starting" and "Download Completed" twice. This is after I set my location to either my Internal Storage or SD Card. And the song isn't downloaded. The same issue is also happening with 4.3.0.

DarkCrypt commented 1 year ago

I used re-release v.4.3.0 from releases page. Haven't built it from Android Studio.

that's why, i will give you debug release later. now i need to be sure that V4.4.0 beta works good

I now have it built in Android Studio and VS Code. Was able to run it on emulators and my physical device with Android Studio. Can probably do proper debug logs if needed.

gokadzev commented 1 year ago

I used re-release v.4.3.0 from releases page. Haven't built it from Android Studio.

that's why, i will give you debug release later. now i need to be sure that V4.4.0 beta works good

I now have it built in Android Studio and VS Code. Was able to run it on emulators and my physical device with Android Studio. Can probably do proper debug logs if needed.

sure

gokadzev commented 1 year ago

4.2.0 fixed the "Download Starting" problem for me. However, after downloading a song, either from the start page or searching, I get a "Download Starting" and "Download Completed" twice. This is after I set my location to either my Internal Storage or SD Card. And the song isn't downloaded. The same issue is also happening with 4.3.0.

what about 4.4.0?

JayHunta commented 1 year ago

4.2.0 fixed the "Download Starting" problem for me. However, after downloading a song, either from the start page or searching, I get a "Download Starting" and "Download Completed" twice. This is after I set my location to either my Internal Storage or SD Card. And the song isn't downloaded. The same issue is also happening with 4.3.0.

what about 4.4.0?

Unfortunately, same issue as listed above for me. Double download, nothing saved.

gokadzev commented 1 year ago

so strange, i can't do anything without logs then. download feature works perfectly for me (MIUI 13, Android 12)

JayHunta commented 1 year ago

so strange, i can't do anything without logs then. download feature works perfectly for me (MIUI 13, Android 12)

Okay, how do I produce the logs?

gokadzev commented 1 year ago

so strange, i can't do anything without logs then. download feature works perfectly for me (MIUI 13, Android 12)

Okay, how do I produce the logs?

1st way:

2nd way (similar as the first):

3rd way: use third-party android app for it (maybe this (not tested): https://play.google.com/store/apps/details?id=com.dp.logcatapp&hl=en&gl=US)