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

Crash when sharing link of a video not on supported platform #6780

Closed
4 tasks done
Thewisem opened this issue Jul 27, 2021 · 1 comment
Closed
4 tasks done

Crash when sharing link of a video not on supported platform #6780

Thewisem opened this issue Jul 27, 2021 · 1 comment
Labels
bug Issue is related to a bug template ignored The user didn't follow the template/instructions (or removed them)

Comments

@Thewisem
Copy link

Thewisem commented Jul 27, 2021

Checklist

Steps to reproduce the bug

  1. Open this link https://tilvids.com/videos/watch/f869e331-1cfa-44b1-8685-5d35ffa0c516​
  2. Open with newpipe
  3. See error

Actual behavior

Showed itself for a video platform it does not support

Expected behavior

Not show in open with

Screenshots/Screen recordings

Logs

Exception

  • User Action: ui error
  • Request: ACRA report
  • Content Country: GB
  • Content Language: en-GB
  • App Language: en_GB
  • Service: none
  • Version: 0.21.6
  • OS: Linux Android 7.1.1 - 25
Crash log

java.lang.RuntimeException: Unable to create service org.schabi.newpipe.player.MainPlayer: java.lang.RuntimeException: org.schabi.newpipe.extractor.exceptions.ParsingException: Embedded info did not provide YouTube player js url
	at android.app.ActivityThread.handleCreateService(ActivityThread.java:3573)
	at android.app.ActivityThread.-wrap6(ActivityThread.java)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1749)
	at android.os.Handler.dispatchMessage(Handler.java:102)
	at android.os.Looper.loop(Looper.java:154)
	at android.app.ActivityThread.main(ActivityThread.java:6823)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1563)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1451)
Caused by: java.lang.RuntimeException: org.schabi.newpipe.extractor.exceptions.ParsingException: Embedded info did not provide YouTube player js url
	at org.schabi.newpipe.player.helper.PlayerDataSource.<init>(PlayerDataSource.java:80)
	at org.schabi.newpipe.player.Player.<init>(Player.java:396)
	at org.schabi.newpipe.player.MainPlayer.createView(MainPlayer.java:106)
	at org.schabi.newpipe.player.MainPlayer.onCreate(MainPlayer.java:100)
	at android.app.ActivityThread.handleCreateService(ActivityThread.java:3563)
	... 8 more
Caused by: org.schabi.newpipe.extractor.exceptions.ParsingException: Embedded info did not provide YouTube player js url
	at org.schabi.newpipe.extractor.services.youtube.YoutubeJavaScriptExtractor.extractJavaScriptUrl(YoutubeJavaScriptExtractor.java:82)
	at org.schabi.newpipe.extractor.services.youtube.YoutubeJavaScriptExtractor.extractJavaScriptCode(YoutubeJavaScriptExtractor.java:40)
	at org.schabi.newpipe.extractor.services.youtube.YoutubeJavaScriptExtractor.extractJavaScriptCode(YoutubeJavaScriptExtractor.java:56)
	at org.schabi.newpipe.extractor.services.youtube.YoutubeThrottlingDecrypter.<init>(YoutubeThrottlingDecrypter.java:45)
	at org.schabi.newpipe.player.helper.PlayerDataSource.<init>(PlayerDataSource.java:44)
	... 12 more


Device info

  • Android version/Custom ROM version: V 7.1.1 Nougat
  • Device model: Samsung Galaxy Tab A SM P555
@Thewisem Thewisem added the bug Issue is related to a bug label Jul 27, 2021
@litetex litetex added the template ignored The user didn't follow the template/instructions (or removed them) label Jul 27, 2021
@litetex
Copy link
Member

litetex commented Jul 27, 2021

https://tilvids.com/videos/watch/f869e331-1cfa-44b1-8685-5d35ffa0c516​

  1. The link is not even working.
  2. This is not a YouTube link, you have to open it with the corresponding service (I think here it's peertube).

Also marked the issue as user-ignored-template-instructions because of:

  • I am using the latest version - x.xx.x

- [x] I am using the latest version - x.xx.x <!-- Check https://github.com/TeamNewPipe/NewPipe/releases -->

No you are not.

Version: 0.21.6

As seen in the stack-trace, you are also using @XiangRongLin experimental YoutubeThrottlingDecrypter from #6673

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 template ignored The user didn't follow the template/instructions (or removed them)
Projects
None yet
Development

No branches or pull requests

2 participants