z-huang / InnerTune

A Material 3 YouTube Music client for Android
GNU General Public License v3.0
4.42k stars 272 forks source link

Unknown error when attempting to play music #1645

Open ihaadi opened 1 week ago

ihaadi commented 1 week ago

Checklist

Steps to reproduce the bug

Expected behavior

The selected music should play without displaying any errors.

Actual behavior

A red icon appears on the track in the mini player, and clicking the mini player results in an "Unknown error" message. The music does not play.

Screenshots/Screen recordings

1 2

Logs

Unexpected exception loading stream androidx.media3.common.PlaybackException: Unknown error at com.zionhuang.music.playback.MusicService.createDataSourceFactory$lambda$35(MusicService.kt:639) at com.zionhuang.music.playback.MusicService.$r8$lambda$sL6KryZX2JTGU40UEw4u6xwiCAg(Unknown Source:0) at com.zionhuang.music.playback.MusicService$$ExternalSyntheticLambda4.resolveDataSpec(D8$$SyntheticClass:0) at androidx.media3.datasource.ResolvingDataSource.open(ResolvingDataSource.java:108) at androidx.media3.datasource.StatsDataSource.open(StatsDataSource.java:86) at androidx.media3.exoplayer.source.ProgressiveMediaPeriod$ExtractingLoadable.load(ProgressiveMediaPeriod.java:1045) at androidx.media3.exoplayer.upstream.Loader$LoadTask.run(Loader.java:421) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644) at java.lang.Thread.run(Thread.java:1012) Caused by: io.ktor.client.plugins.ServerResponseException: Server error(GET https://pipedapi.kavin.rocks/streams/heddkuA_rTY: 500 . Text: "{"error":"org.schabi.newpipe.extractor.exceptions.ContentNotAvailableException: Got error: \"Sign in to confirm that you're not a bot\"\n\tat org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeStreamExtractor.checkPlayabilityStatus(YoutubeStreamExtractor.java:898)\n\tat org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeStreamExtractor.onFetchPage(YoutubeStreamExtractor.java:784)\n\tat org.schabi.newpipe.extractor.Extractor.fetchPage(Extractor.java:60)\n\tat org.schabi.newpipe.extractor.stream.StreamInfo.getInfo(StreamInfo.java:77)\n\tat org.schabi.newpipe.extractor.stream.StreamInfo.getInfo(StreamInfo.java:72)\n\tat org.schabi.newpipe.extractor.stream.StreamInfo.getInfo(StreamInfo.java:67)\n\tat me.kavin.piped.server.handlers.StreamHandlers.lambda$streamsResponse$0(StreamHandlers.java:54)\n\tat java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)\n\tat java.base/java.lang.VirtualThread.run(VirtualThread.java:329)\n","message":"Got error: \"Sign in to confirm that you're not a bot\""}" at io.ktor.client.plugins.DefaultResponseValidationKt$addDefaultResponseValidation$1$1.invokeSuspend(DefaultResponseValidation.kt:55) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)

InnerTune version

0.5.10

Android version

Android Studio Koala

Additional information

No response

seenilk commented 5 days ago

Same issue

MLZ94 commented 5 days ago

Same issue on 2 different devices

Hazhi-Hassan commented 5 days ago

Same issue and it is bothering me a lot. This is what I have found:

I have 44 songs in my download list. If I try to add another song or play one, it gives me the same error. However, if I delete one song, the app goes back to normal. I am using Android on Nothing 2a

Hope it gets fixed!

ihaadi commented 2 days ago

It's now resolved on my end. Does the problem still persist for you?