-
-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
YT song playback fails #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 |
This comment has been minimized.
This comment has been minimized.
(Potentially) relevant links for future reference:
I've made several attempts to work around this issue, nothing seems to work on my IP. |
What about a client switcher like the one from Musify? |
The latest release (on all platforms) is practically ancient, I'd recommend using a nightly build. |
It's working in the nightly build. Awesome! |
Can confirm it's also working, though I had to relogin with YT Music and wait for a few seconds for songs to load. |
Are there any plans to make a new release soon then? I don't see any way of installing nightly as a Flatpak short of building it myself. |
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: