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.41k stars 776 forks source link

[BUG] : Common error with spesific songs on every device attempted. #2672

Closed Minimewatson99 closed 1 year ago

Minimewatson99 commented 1 year ago

Describe the bug:

Found this common error I have had with multiple different songs. Only happens with those specific files. Probably a problem related to finding the file (could be due to missing file, wrong file name being searched, etc.)

Media Links Used:

FEW SPECIFIC MUSIC FILES

Current example related to the stacktrace: https://open.spotify.com/track/1SJhYNxOZSItqrB6upWyE6?si=7wCoIyebTwu7WgYd2BYeQw

Expected behavior

To download the mp3 track normally

Screenshots:

N/A

StackTrace:

java.lang.Exception: Client request(https://aac.saavncdn.com/151/yBW3ARnGRZfQjOHpBbAbmyuomLXvGTsb52rkOPAnAN_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:9c89cada-e01e-0075-4f0c-705650000000
Time:2023-04-16T02:40:06.8500043Z</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 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: [Samsung galaxy S10 plus, Samsung galaxy S8, Lenovo U430 touch (Windows laptop), ect.] OS: [e.g. Android 9, Android 12, Windows 10, Windows 7,(ALL OS APPLICABLE)] Version: [e.g. ALL VERSIONS OF APP] Country: [eg: UK] Additional context: UNIVERSAL SERVER ISSUE WITH MISSING OR MISPLACED FILES

Shabinder commented 1 year ago

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