Shabinder / SpotiFlyer

Kotlin Multiplatform Music Downloader, Supports Spotify / Gaana / Youtube Music / Jio Saavn / SoundCloud.
https://app.spotiflyer.in/
GNU General Public License v3.0
10.49k stars 781 forks source link

[BUG] : <Issue_Title> #2979

Closed Gurpartap-007 closed 1 year ago

Gurpartap-007 commented 1 year ago

Describe the bug: The app does not allow me to download my spotify playlist i dont know why. but downloads youtube songs.

Media Links Used: https://open.spotify.com/playlist/1NtSA36mmj8oGpQR7MljcN?si=52a1e145830a4ee0&nd=1

Expected behavior I expected it to have downloaded all the songs from my spotify playlist.

Screenshots:

StackTrace:


Paste Stacktrace here if available
This is the error it showed- 
java.lang.Exception: Client request(https://aac.saavncdn.com/047/YR18aJ0XLPvDyggeu7TD4rk9h749HqwE2hC5r_320.mp4) invalid: 404 Not Found. Text: "<?xml version="1.0" encoding="utf-8"?><Error><Code>BlobNotFound</Code><Message>The specified blob does not exist.
RequestId:1b962d67-a01e-0064-3296-85cce4000000
Time:2023-05-13T12:28:54.5414120Z</Message></Error>"
 at com.shabinder.spotiflyer.service.ForegroundService$enqueueDownload$2.emit(ForegroundService.kt:6)
 at com.shabinder.spotiflyer.service.ForegroundService$enqueueDownload$2.emit(ForegroundService.kt:1)
 at com.shabinder.common.core_components.file_manager.FileManagerKt$downloadFile$4.invokeSuspend(FileManager.kt:54)
 at com.shabinder.common.core_components.file_manager.FileManagerKt$downloadFile$4.invoke(Unknown Source:11)
 at com.shabinder.common.core_components.file_manager.FileManagerKt$downloadFile$4.invoke(Unknown Source:6)
 at kotlinx.coroutines.flow.FlowKt__ErrorsKt$catch$$inlined$unsafeFlow$1.collect(SafeCollector.common.kt:94)
 at kotlinx.coroutines.flow.FlowKt__ErrorsKt$catch$$inlined$unsafeFlow$1$1.invokeSuspend(Unknown Source:12)
 at h7.a.resumeWith(ContinuationImpl.kt:10)
 at io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:74)
 at io.ktor.util.pipeline.SuspendFunctionGun.access$resumeRootWith(SuspendFunctionGun.kt:0)
 at io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:17)
 at h7.a.resumeWith(ContinuationImpl.kt:33)
 at io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:74)
 at io.ktor.util.pipeline.SuspendFunctionGun.access$resumeRootWith(SuspendFunctionGun.kt:0)
 at io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:17)
 at h7.a.resumeWith(ContinuationImpl.kt:33)
 at io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:74)
 at io.ktor.util.pipeline.SuspendFunctionGun.access$resumeRootWith(SuspendFunctionGun.kt:0)
 at io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:17)
 at h7.a.resumeWith(ContinuationImpl.kt:33)
 at io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:55)
 at io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:17)
 at io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:0)
 at io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:24)
 at h7.a.resumeWith(ContinuationImpl.kt:33)
 at io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:55)
 at io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:17)
 at io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:0)
 at io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:24)
 at h7.a.resumeWith(ContinuationImpl.kt:33)
 at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
 at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:12)
 at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:2)
 at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:0)
 at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:14)
 at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:28)
 at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:0)

**Device Info (please complete the following information):**
 - Device:  Oppo Reno 8T 5G
 - OS:   Android
 - Version:   3.6.1
 - Country: UAE (United Arab Emirates) 

**Additional context:**
I tried it multiple times with old versions as well but it didn't work. please help me out. It downloads youtube links but not spotify. 
Shabinder commented 1 year ago

Spotiflyer is discontinued, please install Soundbound with our new plugins.