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

Opera Classic & newpipe #2266

Closed
Baltazar500 opened this issue Apr 3, 2019 · 10 comments · Fixed by TeamNewPipe/NewPipeExtractor#324
Closed

Opera Classic & newpipe #2266

Baltazar500 opened this issue Apr 3, 2019 · 10 comments · Fixed by TeamNewPipe/NewPipeExtractor#324
Labels
device/software specific Issues that only happen on some devices or with some specific hardware/software feature request Issue is related to a feature in the app

Comments

@Baltazar500
Copy link

Auto send link from Opera Classic causes newpipe to crash :

"user_action": "something"
"request": "null"
"content_language": "RU"
"service": "none"
"package": "org.schabi.newpipe"
"version": "0.16.0"
"os": "Linux Android 5.1 - 22"
"time": "2019-04-03 07:12"

"exceptions":

"java.lang.NullPointerException: Attempt to invoke virtual method 'boolean org.schabi.newpipe.extractor.linkhandler.LinkHandlerFactory.acceptUrl(java.lang.String)' on a null object reference
org.schabi.newpipe.extractor.StreamingService.getLinkTypeByUrl(StreamingService.java:315)
org.schabi.newpipe.extractor.NewPipe.getServiceByUrl(NewPipe.java:75)
org.schabi.newpipe.RouterActivity.lambda$handleUrl$0(RouterActivity.java:130)
org.schabi.newpipe.-$$Lambda$RouterActivity$jGbV3sDp3V_oonJa1z1jLD1TKkg.call(lambda)
io.reactivex.internal.operators.observable.ObservableFromCallable.subscribeActual(ObservableFromCallable.java:43)
io.reactivex.Observable.subscribe(Observable.java:12090)
io.reactivex.internal.operators.observable.ObservableSubscribeOn$SubscribeTask.run(ObservableSubscribeOn.java:96)
io.reactivex.Scheduler$DisposeTask.run(Scheduler.java:578)
io.reactivex.internal.schedulers.ScheduledRunnable.run(ScheduledRunnable.java:66)
io.reactivex.internal.schedulers.ScheduledRunnable.call(ScheduledRunnable.java:57)
java.util.concurrent.FutureTask.run(FutureTask.java:237)
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:152)
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:265)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
java.lang.Thread.run(Thread.java:818)"

In newpipe 0.14.1 auto send works without problems

@ouzowtf
Copy link

ouzowtf commented Apr 3, 2019

Try again with the current version 0.16.1

@Baltazar500
Copy link
Author

"URL not supported"

@TobiGr
Copy link
Contributor

TobiGr commented Apr 3, 2019

Can someone please post a link which causes the crash? I cannot reproduce it.

@gkeegan
Copy link
Contributor

gkeegan commented Apr 3, 2019

@Baltazar500 you got "URL not supported" after upgrading to version 0.16.1? Also please give your link like was asked.

@Baltazar500
Copy link
Author

you got "URL not supported" after upgrading to version 0.16.1?
yes
Also please give your link like was asked.
any youtube url

Perhaps the problem is somewhere in the "vnd.youtube" url, which Opera Classic's is transmitted to newpipe?

@TobiGr
Copy link
Contributor

TobiGr commented Apr 13, 2019

Can you please post a link which is shared by opera classic? We need the shared link to see what is going wrong as the opera classic is no longer available.

@Baltazar500
Copy link
Author

Can you please post a link which is shared by opera classic?

Original url: https://www.youtube.com/watch?v=rCKL7Y_Iv2E

From logcat:

I/ActivityManager( 869): START u0 {act=android.intent.action.VIEW dat=vnd.youtube:rCKL7Y_Iv2E?vndapp=youtube_mobile&vndclient=mv-google&vndel=home flg=0x3000000 cmp=org.schabi.newpipe/.RouterActivity} from uid 10085 on display 0

We need the shared link to see what is going wrong as the opera classic is no longer available.

https://get.geo.opera.com/pub/opera/android/classic/Mobile_Classic_12_1_9_Generic_Opera_ARMv5v7.apk

@TobiGr
Copy link
Contributor

TobiGr commented Apr 14, 2019

vnd.youtube:rCKL7Y_Iv2E?vndapp=youtube_mobile&vndclient=mv-google&vndel=home us definitely not a valid URL. We could add support for this, but atm there are other things to do. In other words, this is has a very low priority. Changes by Opera which are very unlikely, since the latest Opera Classic APK was released in 2015.
However, #1963 will be included in the next release. This should fix the problem for you. Please let us know if 0.16.2 if it does. If not, we can try to find a solution.

@Stypox Stypox added feature request Issue is related to a feature in the app device/software specific Issues that only happen on some devices or with some specific hardware/software labels Sep 27, 2019
@B0pol
Copy link
Member

B0pol commented May 9, 2020

closed in TeamNewPipe/NewPipeExtractor#324

@Baltazar500
Copy link
Author

Baltazar500 commented Nov 21, 2020

And again :(

"user_action": "something"
"request": "vnd.youtube:d3dNyavyMOo?vndapp=youtube_mobile&vndclient=mv-google&vndel=home"
"content_language": "ru"
"content_country": "RU"
"app_language": "ru_RU"
"service": "none"
"package": "org.schabi.newpipe"
"version": "0.20.2"
"os": "Linux Android 5.1 - 22"
"time": "2020-11-21 03:55"

java.lang.IllegalArgumentException: The given URL is not valid
at org.schabi.newpipe.extractor.services.media_ccc.linkHandler.MediaCCCStreamLinkHandlerFactory.getId(MediaCCCStreamLinkHandlerFactory.java:27)
at org.schabi.newpipe.extractor.services.media_ccc.linkHandler.MediaCCCStreamLinkHandlerFactory.onAcceptUrl(MediaCCCStreamLinkHandlerFactory.java:51)
at org.schabi.newpipe.extractor.linkhandler.LinkHandlerFactory.acceptUrl(LinkHandlerFactory.java:80)
at org.schabi.newpipe.extractor.StreamingService.getLinkTypeByUrl(StreamingService.java:287)
at org.schabi.newpipe.extractor.NewPipe.getServiceByUrl(NewPipe.java:93)
at org.schabi.newpipe.RouterActivity.lambda$handleUrl$0$RouterActivity(RouterActivity.java:148)
at org.schabi.newpipe.-$$Lambda$RouterActivity$jGbV3sDp3V_oonJa1z1jLD1TKkg.call(lambda)
at io.reactivex.internal.operators.observable.ObservableFromCallable.subscribeActual(ObservableFromCallable.java:43)
at io.reactivex.Observable.subscribe(Observable.java:12284)
at io.reactivex.internal.operators.observable.ObservableSubscribeOn$SubscribeTask.run(ObservableSubscribeOn.java:96)
at io.reactivex.Scheduler$DisposeTask.run(Scheduler.java:578)
at io.reactivex.internal.schedulers.ScheduledRunnable.run(ScheduledRunnable.java:66)
at io.reactivex.internal.schedulers.ScheduledRunnable.call(ScheduledRunnable.java:57)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:152)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:265)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:818)

NewPipe 0.20.02 crashes when opening youtube links from google in Opera Classic on Android 5.1. On Android 4.2.2 + NewPipe Legacy 0.20.02, everything works without crashes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
device/software specific Issues that only happen on some devices or with some specific hardware/software feature request Issue is related to a feature in the app
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants