-
-
Notifications
You must be signed in to change notification settings - Fork 46
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
No valid formats returned by getVideoFormats #416
Comments
Which commit did you test this with? |
This is the very latest build. |
This is the notification which keeps popping up - java.lang.RuntimeException: No valid formats returned by getVideoFormats(IeW9F4sGzf0) |
Please confirm which commit you've tested. There have been a lot of changes recently around stream fetching (due to YouTube's changes) so I just want to be sure. |
I am on commit 415. |
What do you mean by 415? Could you provide a commit hash or link? |
I thought it was maybe my storage access but I cleared app data and reinstalled. |
Sorry if I sound a bit silly. https://github.com/toasterofbread/spmp/actions/runs/12333875235 |
Yeah same to me |
This is an ongoing issue caused by YouTube constantly changing their API and making it harder for third-party clients to stream audio. There's currently no consistent solution I know of, and even if I did it probably wouldn't work in a few weeks. Potential workaround:
Will keep this issue open. |
See also: TeamNewPipe/NewPipe#11139 |
Checklist
Steps to reproduce
Click download and nothing happens. When I force stop the app and reopen I get the error.
Expected behavior
Should download the song
Actual behavior
Nothing then error
Screenshots / recordings
java.lang.RuntimeException: No valid formats returned by getVideoFormats(IeW9F4sGzf0)
at com.toasterofbread.spmp.model.mediaitem.song.SongAudioQualityKt.getSongFormats(Unknown Source:134)
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:106)
at androidx.concurrent.futures.ToContinuation.run(Unknown Source:11)
at kotlinx.coroutines.scheduling.TaskImpl.run(Unknown Source:2)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(Unknown Source:92)
Logs
java.lang.RuntimeException: No valid formats returned by getVideoFormats(IeW9F4sGzf0)
at com.toasterofbread.spmp.model.mediaitem.song.SongAudioQualityKt.getSongFormats(Unknown Source:134)
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:106)
at androidx.concurrent.futures.ToContinuation.run(Unknown Source:11)
at kotlinx.coroutines.scheduling.TaskImpl.run(Unknown Source:2)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(Unknown Source:92)
SpMp version
0.4.2
SpMp platform
Android
OS version
Android 15
Additional information
None
The text was updated successfully, but these errors were encountered: