PipePipe icon indicating copy to clipboard operation
PipePipe copied to clipboard

[Bug] SoundCloud links cause playback error loop

Open BatmanDrinkingLean opened this issue 1 year ago • 3 comments

Checklist

  • [x] I make sure that there are no existing issues - open or closed - which I could contribute my information to
  • [x] I understand that issues with limited impact, such as those occurring on specific devices or under specific network conditions, will not be fixed
  • [x] I am able to reproduce the bug with the latest version given here - CLICK THIS LINK
  • [x] I have attached the error report in the issue

Describe the bug

soundcloud links frequently cause an error loop that prevents the playback from continuing automatically, like in playlists when after other errors the it skips to the next track. some days soundcloud links seem to play fine and errors arise but resolve themselves and continue playback. other days no links will play, and the error loop occurs - sometimes switching from wifi to mobile data fixes it, sometimes not. it has been like this for months, i waited until i got a new phone to make sure the issue was real. It would be great if instead of an error loop with persistent notifications, it instead just skipped that stream to the next in the playlist. pipepipe used to be the best for combining soundcloud playlists, i hope its functionality is restored. I ❤️ pipepipe, ty to developers for everything thusfar

Frequency

Often (80-90% of the time)

Device

xiaomi 11T pro & samsung galaxy 25+

Steps to reproduce the bug

try to soundcloud links

Error report

## Exception
* __User Action:__ play stream
* __Request:__ Player error[type=ERROR_CODE_IO_UNSPECIFIED] occurred while playing https://soundcloud.com/1soumiri/notfastenough
* __Content Country:__ US
* __Content Language:__ en-US
* __App Language:__ en_US
* __Service:__ SoundCloud (Anonymous)
* __Version:__ 4.5.0
* __OS:__ Linux samsung/pa2qsqw/pa2q:15/AP3A.240905.015.A2/S936USQU2AYDB_OYN2AYDB:user/release-keys 15 - 35
<details><summary><b>Crash log </b></summary><p>


com.google.android.exoplayer2.ExoPlaybackException: Source error
	at com.google.android.exoplayer2.ExoPlayerImplInternal.handleIoException(ExoPlayerImplInternal.java:644)
	at com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:620)
	at android.os.Handler.dispatchMessage(Handler.java:103)
	at android.os.Looper.loopOnce(Looper.java:257)
	at android.os.Looper.loop(Looper.java:342)
	at android.os.HandlerThread.run(HandlerThread.java:85)
Caused by: com.google.android.exoplayer2.upstream.Loader$UnexpectedLoaderException: Unexpected RuntimeException: streamId, itag or mime is null
	at com.google.android.exoplayer2.upstream.Loader$LoadTask.run(Loader.java:433)
	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: java.lang.RuntimeException: streamId, itag or mime is null
	at org.schabi.newpipe.player.datasource.YoutubeHttpDataSource.open(YoutubeHttpDataSource.java:427)
	at com.google.android.exoplayer2.upstream.DefaultDataSource.open(DefaultDataSource.java:263)
	at com.google.android.exoplayer2.upstream.TeeDataSource.open(TeeDataSource.java:52)
	at com.google.android.exoplayer2.upstream.cache.CacheDataSource.openNextSource(CacheDataSource.java:796)
	at com.google.android.exoplayer2.upstream.cache.CacheDataSource.open(CacheDataSource.java:609)
	at com.google.android.exoplayer2.upstream.StatsDataSource.open(StatsDataSource.java:84)
	at com.google.android.exoplayer2.upstream.DataSourceInputStream.checkOpened(DataSourceInputStream.java:99)
	at com.google.android.exoplayer2.upstream.DataSourceInputStream.open(DataSourceInputStream.java:62)
	at com.google.android.exoplayer2.upstream.ParsingLoadable.load(ParsingLoadable.java:174)
	at com.google.android.exoplayer2.upstream.Loader$LoadTask.run(Loader.java:412)
	... 3 more


</details>
<hr>

Additional context

No response

BatmanDrinkingLean avatar Jul 06 '25 21:07 BatmanDrinkingLean

✅ No similar issues found. This appears to be a unique issue.

echoguard-app avatar Jul 06 '25 21:07 echoguard-app

Hi, thanks for your report. It should be fixed with the latest patch, you can test it here before we release a new version.

InfinityLoop1308 avatar Jul 14 '25 01:07 InfinityLoop1308

i still get the error loop though more infrequently. it still loops without skipping but if i click it manually it skips. i can return to the song from the queue and it usually plays.

{"user_action":"play stream","request":"Player error[type=ERROR_CODE_IO_BAD_HTTP_STATUS] occurred while playing https://www.youtube.com/watch?v=t7vFhQ2VU1A","content_language":"en-US","content_country":"US","app_language":"en_US","service":"YouTube (Anonymous)","package":"InfinityLoop1309.NewPipeEnhanced","version":"4.6.0","os":"Linux samsung/pa2qsqw/pa2q:15/AP3A.240905.015.A2/S936USQU2AYDB_OYN2AYDB:user/release-keys 15 - 35","time":"2025-07-19 21:30","exceptions":["com.google.android.exoplayer2.ExoPlaybackException: Source error\n\tat com.google.android.exoplayer2.ExoPlayerImplInternal.handleIoException(ExoPlayerImplInternal.java:644)\n\tat com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:616)\n\tat android.os.Handler.dispatchMessage(Handler.java:103)\n\tat android.os.Looper.loopOnce(Looper.java:257)\n\tat android.os.Looper.loop(Looper.java:342)\n\tat android.os.HandlerThread.run(HandlerThread.java:85)\nCaused by: com.google.android.exoplayer2.upstream.HttpDataSource$InvalidResponseCodeException: Response code: 403\n\tat com.google.android.exoplayer2.upstream.DefaultHttpDataSource.open(DefaultHttpDataSource.java:413)\n\tat com.google.android.exoplayer2.upstream.DefaultDataSource.open(DefaultDataSource.java:263)\n\tat com.google.android.exoplayer2.upstream.StatsDataSource.open(StatsDataSource.java:84)\n\tat com.google.android.exoplayer2.source.ProgressiveMediaPeriod$ExtractingLoadable.load(ProgressiveMediaPeriod.java:1005)\n\tat com.google.android.exoplayer2.upstream.Loader$LoadTask.run(Loader.java:412)\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1156)\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:651)\n\tat java.lang.Thread.run(Thread.java:1119)\n"],"user_comment":""}

BatmanDrinkingLean avatar Jul 20 '25 01:07 BatmanDrinkingLean