Xposed-SoundCloudDownloader icon indicating copy to clipboard operation
Xposed-SoundCloudDownloader copied to clipboard

Download unsuccessful!

Open cleversboy opened this issue 7 years ago • 14 comments

Hook OK, Xlogs look just fine: Entered download catcher... ... Download path:/vvv/vvv.mp3 BUT... when I try downloading any songs, Download manager just show up a sec then disappear then show up then disap... And finally, It shows "Download unsuccessful" Soundcloud 2018-02-07 release

cleversboy avatar Sep 27 '18 07:09 cleversboy

Can you post the full xposed log?

skyguy126 avatar Oct 11 '18 19:10 skyguy126

10-12 21:04:18.187 I/Xposed (10185): [SoundCloud Downloader] Entered download catcher... 10-12 21:04:18.187 I/Xposed (10185): [SoundCloud Downloader] Track name: [ 蘭陵王妃 ] 彼岸 ~ 董貞 10-12 21:04:18.187 I/Xposed (10185): [SoundCloud Downloader] Found genre data... 10-12 21:04:18.187 I/Xposed (10185): [SoundCloud Downloader] Image url: https://i1.sndcdn.com/artworks-000195063863-pcxdsk-t250x250.jpg 10-12 21:04:18.187 I/Xposed (10185): [SoundCloud Downloader] com.skyguy126.soundclouddownloader scd_prefs 10-12 21:04:18.197 I/Xposed (10185): [SoundCloud Downloader] Include metadata: false 10-12 21:04:18.197 I/Xposed (10185): [SoundCloud Downloader] Save location: 2 10-12 21:04:18.197 I/Xposed (10185): [SoundCloud Downloader] Download path: /storage/emulated/0/Music/[ 蘭陵王妃 ] 彼岸 ~ 董貞.mp3

cleversboy avatar Oct 12 '18 14:10 cleversboy

And the file isnt there? Are you sure you're not having network issues, or anything like that. Can this issue be repliacted?

skyguy126 avatar Oct 12 '18 21:10 skyguy126

Nothing being downloaded as notification show" download unsuccessful". I even disable everything I can. all other module, reboot multiple times. I can manually get soundcloud link with my computer and download with my phone.

cleversboy avatar Oct 13 '18 04:10 cleversboy

What version of soundcloud and scd are you running?

skyguy126 avatar Oct 13 '18 22:10 skyguy126

...

cleversboy avatar Oct 14 '18 08:10 cleversboy

Fixed with db356f9bf65dc7b7194a79374edf5bda6bb786c3. Please re-open this issue if you are still having issues.

skyguy126 avatar Oct 15 '18 08:10 skyguy126

10-15 17:52:52.801 I/Xposed ( 9515): [SoundCloud Downloader] Entered download catcher... 10-15 17:52:52.801 I/Xposed ( 9515): [SoundCloud Downloader] Track name: Rocket Girls (火箭少女101) - Light 10-15 17:52:52.811 I/Xposed ( 9515): [SoundCloud Downloader] Found genre data... 10-15 17:52:52.811 I/Xposed ( 9515): [SoundCloud Downloader] Image url: https://i1.sndcdn.com/artworks-000419000433-9jba5v-t250x250.jpg 10-15 17:52:52.831 I/Xposed ( 9515): [SoundCloud Downloader] SDK < 23, permissions must be granted manually? 10-15 17:52:52.841 I/Xposed ( 9515): [SoundCloud Downloader] com.skyguy126.soundclouddownloader scd_prefs 10-15 17:52:52.851 I/Xposed ( 9515): [SoundCloud Downloader] Include metadata: false 10-15 17:52:52.851 I/Xposed ( 9515): [SoundCloud Downloader] Save location: 2 10-15 17:52:52.851 I/Xposed ( 9515): [SoundCloud Downloader] Download path: /storage/emulated/0/Music/Rocket Girls (火箭少女101) - Light.mp3 10-15 17:52:52.911 I/Xposed ( 9515): [SoundCloud Downloader] Download Error: need WRITE_EXTERNAL_STORAGE permission to use DESTINATION_FILE_URI: uid 10203 does not have android.permission.WRITE_EXTERNAL_STORAGE.

cleversboy avatar Oct 15 '18 11:10 cleversboy

You have to enable storage permissions for the Soundcloud app. Also this app is mainly supported for SDK 23+ (Android Marshmallow+) so that may cause issues as well.

I implemented a permissions hack in the latest version which is only meant for Android 6.0+. If you are experiencing issues on a lower Android version, you might want to roll back SCD and Soundcloud for the time being.

skyguy126 avatar Oct 15 '18 17:10 skyguy126

I try to add these to SoundCloud manifest: <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> <uses-permission android:name="android.permission.WRITE_MEDIA_STORAGE"/> And agian, log shows file downloading but Download manger keep failing.

cleversboy avatar Oct 17 '18 20:10 cleversboy

How did you add them? What android version are you running. If Android 6+ then the module will automatically inject those permissions at runtime.

skyguy126 avatar Oct 17 '18 21:10 skyguy126

I use apktool (decompile, recompile) Android 5.0.2

cleversboy avatar Oct 17 '18 22:10 cleversboy

Can you make an option to get song's link or choosing other 'downloader' apps?

cleversboy avatar Oct 17 '18 22:10 cleversboy

What I can do is just spit the link out in the Xposed Log. I don't think I'll add a feature to choose other apps because it'll be too hard to maintain with updates. The module has a lot of code as is and its getting a bit annoying to reverse engineer the code with every update.

skyguy126 avatar Oct 17 '18 23:10 skyguy126