Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When was the download error? #433

Closed
mugehan opened this issue Jan 5, 2025 · 5 comments
Closed

When was the download error? #433

mugehan opened this issue Jan 5, 2025 · 5 comments

Comments

@mugehan
Copy link

mugehan commented Jan 5, 2025

Download music whether it is to the local, or the default folder, has been reported error, when to update to solve?

@toasterofbread
Copy link
Owner

Honestly not sure what you're trying to say, could you clarify please?

@mugehan
Copy link
Author

mugehan commented Jan 7, 2025

java.lang.RuntimeException: Both getVideoFormats methods failed. Main result is cause. Alt result is:
java.lang.NullPointerException: streamingData is null
at dev.toastbits.ytmkt.formats.YoutubeiVideoFormatsEndpoint.getVideoFormats-yxL6bBk(Unknown Source:592)
at dev.toastbits.ytmkt.formats.YoutubeiVideoFormatsEndpoint$getVideoFormats$2.invokeSuspend(Unknown Source:16)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source:8)
at kotlinx.coroutines.DispatchedTask.run(Unknown Source:112)
at androidx.core.app.ActivityRecreator$1.run(Unknown Source:98)
at kotlinx.coroutines.scheduling.TaskImpl.run(Unknown Source:2)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(Unknown Source:95)

at dev.toastbits.ytmkt.formats.YoutubeiVideoFormatsEndpoint.getVideoFormats-BWLJW6A(Unknown Source:162)
at dev.toastbits.ytmkt.formats.YoutubeiVideoFormatsEndpoint$getVideoFormats$1.invokeSuspend(Unknown Source:13)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source:8)
at kotlinx.coroutines.DispatchedTask.run(Unknown Source:112)
at androidx.core.app.ActivityRecreator$1.run(Unknown Source:98)
at kotlinx.coroutines.scheduling.TaskImpl.run(Unknown Source:2)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(Unknown Source:95)

Caused by: io.ktor.client.plugins.ClientRequestException: Client request(POST https://music.youtube.com/youtubei/v1/player?prettyPrint=false) invalid: 400 Bad Request. Text: "{
"error": {
"code": 400,
"message": "Request contains an invalid argument.",
"errors": [
{
"message": "Request contains an invalid argument.",
"domain": "global",
"reason": "badRequest"
}
],
"status": "INVALID_ARGUMENT"
}
}
"
at io.ktor.client.plugins.DefaultResponseValidationKt$addDefaultResponseValidation$1$1.invokeSuspend(Unknown Source:225)
at io.ktor.client.plugins.DefaultResponseValidationKt$addDefaultResponseValidation$1$1.invoke(Unknown Source:12)
at io.ktor.client.plugins.HttpCallValidatorKt.access$HttpCallValidator$lambda$2$validateResponse(Unknown Source:107)
at io.ktor.client.HttpClient$2.invokeSuspend(Unknown Source:499)
... 5 more

@mugehan
Copy link
Author

mugehan commented Jan 7, 2025

Honestly not sure what you're trying to say, could you clarify please?
Unable to download music locally. Local storage location will be reported error, music cannot be stored

@toasterofbread
Copy link
Owner

Duplicate of #416.

@toasterofbread toasterofbread closed this as not planned Won't fix, can't repro, duplicate, stale Jan 7, 2025
@mugehan
Copy link
Author

mugehan commented Jan 7, 2025

java.lang.RuntimeException: No valid formats returned by getVideoFormats(LSkDe_YAJ90)
at com.toasterofbread.spmp.model.mediaitem.song.SongAudioQualityKt.getSongFormats(Unknown Source:141)
at com.toasterofbread.spmp.model.mediaitem.song.SongAudioQualityKt$getSongFormats$1.invokeSuspend(Unknown Source:10)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source:8)
at kotlinx.coroutines.DispatchedTask.run(Unknown Source:112)
at androidx.core.app.ActivityRecreator$1.run(Unknown Source:98)
at kotlinx.coroutines.scheduling.TaskImpl.run(Unknown Source:2)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(Unknown Source:95)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants