polymorphicshade / Tubular

A fork of NewPipe that implements SponsorBlock and ReturnYouTubeDislike.
GNU General Public License v3.0
1.33k stars 35 forks source link

Problem when playing videos in the application #98

Closed MuerteRoja closed 3 weeks ago

MuerteRoja commented 1 month ago

Checklist

Affected version

Tubular 0.27.0

Steps to reproduce the bug

Enter the application Play a random video You will be able to see that it suddenly stops, both with the mobile phone screen on or off, in both ways

Expected behavior

The expected behavior is that videos can be played in the application without any problems

Actual behavior

The current behavior is that when I play a video in the application with both the mobile phone screen on and off it suddenly stops

Screenshots/Recordings

No response

Logs

Exception

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:616) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loopOnce(Looper.java:210) at android.os.Looper.loop(Looper.java:299) at android.os.HandlerThread.run(HandlerThread.java:67) Caused by: com.google.android.exoplayer2.upstream.HttpDataSource$InvalidResponseCodeException: Response code: 403 at org.schabi.newpipe.player.datasource.YoutubeHttpDataSource.open(YoutubeHttpDataSource.java:422) 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.source.chunk.ContainerMediaChunk.load(ContainerMediaChunk.java:124) at com.google.android.exoplayer2.upstream.Loader$LoadTask.run(Loader.java:412) 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)


Affected Android/Custom ROM version

Android 12 / Tubular 0.27.0

Affected device model

Xiaomi Redmi 9

Additional information

No response

Ao1Pointblank commented 3 weeks ago

Could this be due to sponsor block and the recent YouTube changes involving in-stream ads?

I will try disabling sponsor block to test.

rcrandon commented 3 weeks ago

Could this be due to sponsor block and the recent YouTube changes involving in-stream ads?

I will try disabling sponsor block to test.

Did it work?

Ao1Pointblank commented 3 weeks ago

Could this be due to sponsor block and the recent YouTube changes involving in-stream ads? I will try disabling sponsor block to test.

Did it work?

Can't test now, there is YT change that broke all the yt-dl(p) based apps which I assume this is.

Will find out after that issue is resolved.

tuxayo commented 3 weeks ago

This is a duplicate of #97 so close it if possible and copy comments that would bring new info in #97 to there.