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

No Video Will play (any video) #7734

Closed
Fredy-1422 opened this issue Feb 1, 2022 · 86 comments · Fixed by TeamNewPipe/NewPipeExtractor#785
Closed

No Video Will play (any video) #7734

Fredy-1422 opened this issue Feb 1, 2022 · 86 comments · Fixed by TeamNewPipe/NewPipeExtractor#785
Labels
ASAP Issue needs to be fixed as soon as possible bug Issue is related to a bug requires extractor change This issue requires a change to the extractor template ignored The user didn't follow the template/instructions (or removed them) youtube Service, https://www.youtube.com/

Comments

@Fredy-1422
Copy link

Fredy-1422 commented Feb 1, 2022

EDIT: See


For some unexplained reason no video of any kind are playable.

This issue has started at 8 PM Detroit time

Most likley youtube (google) has updated something in the back end

Intended behavior
Step 1 start app
Step 2 select a video (does not matter what video you choose) and watch

Actual behavior
App gives an error.

Screenshot_20220131-204500_NewPipe

For any video mind you.

Android Version 11
Device Motarola G7 Power
OS lineage_ocean-userdebug 11 RQ3A.211001.001 10038898
App Version 21.05 (Latest Version)
Error Log

Exception

Crash log

org.schabi.newpipe.extractor.stream.StreamInfo$StreamExtractException: Could not get any stream. See error variable to get further details.
	at org.schabi.newpipe.extractor.stream.StreamInfo.extractStreams(StreamInfo.java:194)
	at org.schabi.newpipe.extractor.stream.StreamInfo.getInfo(StreamInfo.java:72)
	at org.schabi.newpipe.extractor.stream.StreamInfo.getInfo(StreamInfo.java:64)
	at org.schabi.newpipe.util.ExtractorHelper.lambda$getStreamInfo$3(ExtractorHelper.java:116)
	at org.schabi.newpipe.util.ExtractorHelper.$r8$lambda$YTHJjScxCJNO1LTCqs3IKy35iyY(Unknown Source:0)
	at org.schabi.newpipe.util.ExtractorHelper$$ExternalSyntheticLambda6.call(Unknown Source:4)
	at io.reactivex.rxjava3.internal.operators.single.SingleFromCallable.subscribeActual(SingleFromCallable.java:43)
	at io.reactivex.rxjava3.core.Single.subscribe(Single.java:4813)
	at io.reactivex.rxjava3.internal.operators.single.SingleDoOnSuccess.subscribeActual(SingleDoOnSuccess.java:35)
	at io.reactivex.rxjava3.core.Single.subscribe(Single.java:4813)
	at io.reactivex.rxjava3.internal.operators.maybe.MaybeFromSingle.subscribeActual(MaybeFromSingle.java:41)
	at io.reactivex.rxjava3.core.Maybe.subscribe(Maybe.java:5330)
	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:15753)
	at io.reactivex.rxjava3.internal.operators.flowable.FlowableElementAtMaybe.subscribeActual(FlowableElementAtMaybe.java:36)
	at io.reactivex.rxjava3.core.Maybe.subscribe(Maybe.java:5330)
	at io.reactivex.rxjava3.internal.operators.maybe.MaybeToSingle.subscribeActual(MaybeToSingle.java:46)
	at io.reactivex.rxjava3.core.Single.subscribe(Single.java:4813)
	at io.reactivex.rxjava3.internal.operators.single.SingleSubscribeOn$SubscribeOnObserver.run(SingleSubscribeOn.java:89)
	at io.reactivex.rxjava3.core.Scheduler$DisposeTask.run(Scheduler.java:614)
	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:1167)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
	at java.lang.Thread.run(Thread.java:923)


@emsoucy
Copy link
Contributor

emsoucy commented Feb 1, 2022

I'm experiencing this as well.

@instylegithub
Copy link

I have the same issue at around the same time. :(

@Fredy-1422
Copy link
Author

google has made an actual large update to their youtube app changing the ui in the process, and some backbend stuff. Youtube vanced is prabably experiencing the same issues

@Ruffus-Goodman

This comment has been minimized.

@Privacy-Now

This comment has been minimized.

@PhilipOfMacedon

This comment has been minimized.

@Fredy-1422

This comment has been minimized.

@MDP43140

This comment has been minimized.

@severtheskyline

This comment has been minimized.

@ton3not
Copy link

ton3not commented Feb 1, 2022

The same issue please fix youtube harasses me with insulting personal ads.

@Fredy-1422

This comment has been minimized.

@severtheskyline
Copy link

You could try an Invidious instance as a temporary fix for this.

@ton3not

This comment has been minimized.

@severtheskyline

This comment has been minimized.

@ton3not

This comment has been minimized.

@CorentinBrule
Copy link

If it helps devs or users : New Pipe Legacy works for me

@AngieOk

This comment has been minimized.

@infinitytec

This comment has been minimized.

@AbduAmeen
Copy link

Based on the log, it looks like there is a problem with fetching the video stream. It seems that the extractor only is able to get the metadata of the videos and isn't able to get the streams.

@Meandmyfurbies

This comment has been minimized.

@severtheskyline
Copy link

Also, before the "Something went wrong" takes over the screen, you can see that the comments do in fact load, just the stream that haves issues.

@boognish-rising
Copy link

boognish-rising commented Feb 1, 2022

If it helps devs or users : New Pipe Legacy works for me

Newpipe Legacy is working still? I tried the Sponsorblock fork and the non-Sponsorblock, as I have both of them installed on my Pixel 6 Pro but thought 3 separate instances of NP was overkill. I guess I was wrong, off to F-Droid I go...

edit - nvm, I answered my own question. Thanks for the heads up. Also, in the interest of keeping others from making the same mistake and wasting their time, DO NOT attempt to import your playlists, channel groups, settings, etc. from any of the affected Newpipe versions, as it'll instantly bork Legacy Newpipe.

edit #2 - it seems I was a bit hasty to conclude that Newpipe Legacy was working properly for me as well. I don't get the instant "Guru Meditation" error page but I do get a little message toast saying the something went wrong, however the wheel continues to spin and the video does begin playback, however, for me anyway it starts and stops every few seconds, which may as well be completely borked like the other versions. I even tried setting the default to open in an external player/VLC with the same result. I guess it'll be web-based options (read: Invidious) for the time being....

edit #3 - it seems at least preliminarily that changing the playback speed acts as a sort of workaround and solves the constant stopping and starting. So far, I've only tried going slower than full speed, half-speed to be exact which isn't really a pleasurable viewing experience but might help to inform devs as to what the core issue is, who knows?

@uowa4
Copy link

uowa4 commented Feb 1, 2022

looks like youtube-dl backend is not affected. works in windows cmd and gpodder.

@scourii
Copy link

scourii commented Feb 1, 2022

Having the same issues on my CalyxOS phone, but the Legacy version works for now.

@AbduAmeen
Copy link

AbduAmeen commented Feb 1, 2022

It seems the issue is that in this file, the function parseDecodeFunctionName fails because the regex looks for a statement that looks like this: b=a.get("n"))&&(b=Bpa[0](b),a.set("n",b)

Because the regex: "b=a\\.get\\(\"n\"\\)\\)&&\\(b=(\\w+)\\(b\\),a\\.set\\(\"n\",b\\)" looks for only word characters, the [0] causes a regex error, thus throwing the exception.

@kshoufer

This comment was marked as abuse.

@moriel5
Copy link

moriel5 commented Mar 10, 2022

I can confirm that I have the samea similar issue, with NewPipe unable to connect to the server at all, specifically when trying to stream or download videos.

Unlike the others here, however, my copy is up to date, at version 0.22.1.

Update: It always that something was weird with my connection, all is good now.

Update2: This has got to do with my ISP, since I cannot stream with NewPipe at all home, however at my friend's workplace there are no issues (I'll check on cellular and with the browser).

Update3: No issues with the YouTube website on a WebView browser (SmartCookieWeb), only with NewPipe.

Update 4: No issues with Piped either.

@christianwhite240
Copy link

After 6 weeks, it STILL WON'T PLAY ANY VIDEOS!!
What is going on? Why have they still not fixed it yet?

@ilmagico
Copy link

ilmagico commented Mar 13, 2022

Plays fine for me... on 0.21.16.

@christianwhite240
Copy link

christianwhite240 commented Mar 13, 2022

Oh, I didn't even know there was 0.21.16. The latest version the F-Droid and ApkMirror store are showing is 0.21.15, and the F-Droid store is saying NewPipe was last updated 2 months ago, which was before the issue started

@ilmagico
Copy link

ilmagico commented Mar 13, 2022

Yep, this was fixed in a matter of maybe a day or two. Always check for new releases on github, I guess...

@christianwhite240
Copy link

Alright I've just downloaded the 0.21.16 from GitHub and it's working fine now. Thanks for your advice 🙂

@ilmagico
Copy link

ilmagico commented Mar 13, 2022

You're welcome! Apparently there are even newer releases, you might want to try the latest as well.
Also, make sure to add newpipe's own fdroid repo as explained here: https://github.com/TeamNewPipe/NewPipe#installation-and-updates

@moriel5
Copy link

moriel5 commented Mar 14, 2022

Yeah, I'm pretty sure that it's my ISP at this point, some the same exact issue is happening with other devices, however it is fine when on cellular data (e.g. hotspot). This is also preventing me from downloading anything via Aurora Store (though that is unrelated to the usage of NewPipe).

I'll be speaking with my ISP's representatives, and we'll see.

Interestingly, it appears that there issue is specifically with getting the stream sources, however once you already have them, it's downloads without any issues (as evidenced by initiating without actually staying, a download on cellular, switching to WiFi, and then starting the download).

@opusforlife2
Copy link
Collaborator

Alright I've just downloaded the 0.21.16 from GitHub

@christianwhite240 Why? When the latest version is much newer than that?

@christianwhite240
Copy link

I do already have the latest version now but I wasn't aware of it when the other person told me about 0.21.16. When they told me there were newer versions (which you can see in the comments) I downloaded the latest version after looking for it

@opusforlife2 opusforlife2 unpinned this issue Mar 14, 2022
@TacoTheDank TacoTheDank added the requires extractor change This issue requires a change to the extractor label Apr 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ASAP Issue needs to be fixed as soon as possible bug Issue is related to a bug requires extractor change This issue requires a change to the extractor template ignored The user didn't follow the template/instructions (or removed them) youtube Service, https://www.youtube.com/
Projects
None yet