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.48k stars 779 forks source link

[BUG] : cant download even after ffmpeg installed #3412

Open wizardwhisper opened 10 months ago

wizardwhisper commented 10 months ago

Describe the bug: ffmpeg installed but still can't download

Media Links Used: https://open.spotify.com/playlist/3NIiuJT6OObTRv1MYDdeZW?si=a3d88d0b361d4981

Expected behavior i want to download my playlist

Screenshots: image

StackTrace:

com.github.kokorin.jaffree.JaffreeException: Failed to execute, was interrupted
    at com.github.kokorin.jaffree.process.ProcessHandler.interactWithProcess(ProcessHandler.java:189)
    at com.github.kokorin.jaffree.process.ProcessHandler.execute(ProcessHandler.java:146)
    at com.github.kokorin.jaffree.ffmpeg.FFmpeg.execute(FFmpeg.java:400)
    at com.shabinder.common.core_components.media_converter.DesktopMediaConverter$convertAudioFile$2.invokeSuspend(DesktopMediaConverter.kt:34)
    at com.shabinder.common.core_components.media_converter.DesktopMediaConverter$convertAudioFile$2.invoke(DesktopMediaConverter.kt)
    at com.shabinder.common.core_components.media_converter.DesktopMediaConverter$convertAudioFile$2.invoke(DesktopMediaConverter.kt)
    at com.shabinder.common.core_components.parallel_executor.ParallelExecutor$Operation.execute(ParallelExecutor.kt:163)
    at com.shabinder.common.core_components.parallel_executor.ParallelExecutor$launchProcessor$1.invokeSuspend(ParallelExecutor.kt:105)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlinx.coroutines.selects.SelectBuilderImpl.resumeWith(Select.kt:300)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
    at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
    at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)
    Suppressed: com.github.kokorin.jaffree.JaffreeException: TCP negotiation failed
        at com.github.kokorin.jaffree.net.TcpServer.run(TcpServer.java:69)
        at com.github.kokorin.jaffree.process.Executor$1.run(Executor.java:83)
        at java.base/java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.NullPointerException: it.timeMillis must not be null
        at com.shabinder.common.core_components.media_converter.DesktopMediaConverter$convertAudioFile$2.invokeSuspend$lambda-1$lambda-0(DesktopMediaConverter.kt:32)
        at com.github.kokorin.jaffree.ffmpeg.FFmpegProgressReader.readProgress(FFmpegProgressReader.java:146)
        at com.github.kokorin.jaffree.ffmpeg.FFmpegProgressReader.negotiate(FFmpegProgressReader.java:54)
        at com.github.kokorin.jaffree.net.NegotiatingTcpServer.serve(NegotiatingTcpServer.java:44)
        at com.github.kokorin.jaffree.net.TcpServer.run(TcpServer.java:66)
        ... 2 more
Caused by: java.lang.InterruptedException
    at java.base/java.lang.ProcessImpl.waitFor(Unknown Source)
    at com.github.kokorin.jaffree.process.ProcessHandler.interactWithProcess(ProcessHandler.java:179)
    ... 15 more

Device Info (please complete the following information):

Additional context: