Skip to content
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

"Could not play this stream" message, after pausing by tapping the video #4571

Closed
4 tasks done
Porkepix opened this issue Oct 20, 2020 · 4 comments
Closed
4 tasks done
Labels
bug Issue is related to a bug player Issues related to any player (main, popup and background)

Comments

@Porkepix
Copy link

Checklist

Steps to reproduce the bug

I sadly have no reliable STRs, but how this happened is it's a youtube video I got from another application (opened in newpipe through the share with feature). At first it played. Then I somehow paused the video/escaped full screen, and since then I got this "Could not play this stream" message. It also appeared when I tried again to open the video after a phone reboot from history.

Logs

Joined are very big logs (thousand lines). Although the many lines of AAC errors doesn't have the same PID as NewPipe, this is definitely related, as when I reproduce the issue by trying to tap Play, it throw away this very large amount of logs, including these AAC errors.

newpipe-logs.txt

Device info

  • Android version/Custom ROM version: Android Marshmallow/6.0.1; Sony stock ROM
  • Device model: Xperia Z3 Compact
@Porkepix Porkepix added the bug Issue is related to a bug label Oct 20, 2020
@opusforlife2 opusforlife2 added the player Issues related to any player (main, popup and background) label Oct 21, 2020
@opusforlife2
Copy link
Collaborator

Related: #1265.

@AudricV
Copy link
Member

AudricV commented Feb 7, 2024

Is it still an issue?

@AudricV AudricV added the waiting for author If the author doesn't respond, the issue will be auto-closed. Otherwise the label will be removed. label Feb 7, 2024
@Porkepix
Copy link
Author

Porkepix commented Feb 7, 2024

So, issue is old and I was not 100% sure of how I triggered it anymore, so I tried to follow instructions.
Couldn't reproduced the same issue, but on opening the video, I get this error report with these logs (probably unrelated to this issue):

Exception

  • User Action: requested stream
  • Request: https://www.youtube.com/watch?v=foobar
  • Content Country: US
  • Content Language: en-US
  • App Language: en_US
  • Service: YouTube
  • Version: 0.25.2
  • OS: Linux Android 8.0.0 - 26
Crash log

org.schabi.newpipe.extractor.exceptions.ParsingException: Could not get like count
	at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeStreamExtractor.getLikeCount(YoutubeStreamExtractor.java:508)
	at org.schabi.newpipe.extractor.stream.StreamInfo.extractOptionalData(StreamInfo.java:279)
	at org.schabi.newpipe.extractor.stream.StreamInfo.getInfo(StreamInfo.java:83)
	at org.schabi.newpipe.extractor.stream.StreamInfo.getInfo(StreamInfo.java:73)
	at org.schabi.newpipe.util.ExtractorHelper.lambda$getStreamInfo$3(ExtractorHelper.java:119)
	at org.schabi.newpipe.util.ExtractorHelper.$r8$lambda$YTHJjScxCJNO1LTCqs3IKy35iyY(ExtractorHelper.java:0)
	at org.schabi.newpipe.util.ExtractorHelper$$ExternalSyntheticLambda3.call(R8$$SyntheticClass:0)
	at io.reactivex.rxjava3.internal.operators.single.SingleFromCallable.subscribeActual(SingleFromCallable.java:43)
	at io.reactivex.rxjava3.core.Single.subscribe(Single.java:4855)
	at io.reactivex.rxjava3.internal.operators.single.SingleDoOnSuccess.subscribeActual(SingleDoOnSuccess.java:35)
	at io.reactivex.rxjava3.core.Single.subscribe(Single.java:4855)
	at io.reactivex.rxjava3.internal.operators.maybe.MaybeFromSingle.subscribeActual(MaybeFromSingle.java:41)
	at io.reactivex.rxjava3.core.Maybe.subscribe(Maybe.java:5377)
	at io.reactivex.rxjava3.internal.operators.maybe.MaybeConcatArray$ConcatMaybeObserver.drain(MaybeConcatArray.java:153)
	at io.reactivex.rxjava3.internal.operators.maybe.MaybeConcatArray$ConcatMaybeObserver.request(MaybeConcatArray.java:78)
	at io.reactivex.rxjava3.internal.operators.flowable.FlowableElementAtMaybe$ElementAtSubscriber.onSubscribe(FlowableElementAtMaybe.java:66)
	at io.reactivex.rxjava3.internal.operators.maybe.MaybeConcatArray.subscribeActual(MaybeConcatArray.java:42)
	at io.reactivex.rxjava3.core.Flowable.subscribe(Flowable.java:16013)
	at io.reactivex.rxjava3.internal.operators.flowable.FlowableElementAtMaybe.subscribeActual(FlowableElementAtMaybe.java:36)
	at io.reactivex.rxjava3.core.Maybe.subscribe(Maybe.java:5377)
	at io.reactivex.rxjava3.internal.operators.maybe.MaybeToSingle.subscribeActual(MaybeToSingle.java:46)
	at io.reactivex.rxjava3.core.Single.subscribe(Single.java:4855)
	at io.reactivex.rxjava3.internal.operators.single.SingleSubscribeOn$SubscribeOnObserver.run(SingleSubscribeOn.java:89)
	at io.reactivex.rxjava3.core.Scheduler$DisposeTask.run(Scheduler.java:644)
	at io.reactivex.rxjava3.internal.schedulers.ScheduledRunnable.run(ScheduledRunnable.java:65)
	at io.reactivex.rxjava3.internal.schedulers.ScheduledRunnable.call(ScheduledRunnable.java:56)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
	at java.lang.Thread.run(Thread.java:764)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equalsIgnoreCase(java.lang.String)' on a null object reference
	at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeStreamExtractor.lambda$getLikeCount$7(YoutubeStreamExtractor.java:458)
	at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeStreamExtractor.$r8$lambda$JNZYncC0vyG9Ez_PK6G8Ez8Psqs(YoutubeStreamExtractor.java:0)
	at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeStreamExtractor$$ExternalSyntheticLambda14.test(R8$$SyntheticClass:0)
	at j$.util.stream.d2.accept(SourceFile:0)
	at j$.util.stream.d2.accept(SourceFile:0)
	at j$.util.stream.d2.accept(SourceFile:0)
	at j$.util.stream.d2.accept(SourceFile:0)
	at j$.util.a.tryAdvance(SourceFile:0)
	at j$.util.stream.l2.z0(Unknown Source:6)
	at j$.util.stream.c.a0(Unknown Source:15)
	at j$.util.stream.c.Z(SourceFile:0)
	at j$.util.stream.c.t0(Unknown Source:10)
	at j$.util.stream.J.v(Unknown Source:8)
	at j$.util.stream.c.w0(SourceFile:0)
	at j$.util.stream.l2.findFirst(SourceFile:0)
	at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeStreamExtractor.getLikeCount(YoutubeStreamExtractor.java:466)
	... 30 more


@github-actions github-actions bot removed the waiting for author If the author doesn't respond, the issue will be auto-closed. Otherwise the label will be removed. label Feb 7, 2024
@AudricV
Copy link
Member

AudricV commented Feb 8, 2024

I get this error report with these logs (probably unrelated to this issue)

Yes, it is unrelated and has been already fixed (you're not using 0.26.1 which is currently the latest version).

Couldn't reproduced the same issue

Based on your feedback, I am closing this issue as fixed, thanks for your comment.

@AudricV AudricV closed this as completed Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue is related to a bug player Issues related to any player (main, popup and background)
Projects
None yet
Development

No branches or pull requests

3 participants