XiangRongLin / NewPipe-preuinified

NewPipe with the old UI. Looking for new Maintainer
GNU General Public License v3.0
53 stars 6 forks source link

0.21.15 won't play videos #25

Closed manilenio closed 2 years ago

manilenio commented 2 years ago

Version

Steps to reproduce the bug

Play any video

Expected behavior

This should play videos ### Actual behaviour Nothing. The loading icon just keeps spinning. ### Screenshots/Screen recordings

image

Logs

n/a

mm40 commented 2 years ago

I have the same exact issue

GhostEx667 commented 2 years ago

I have the same exact issue +1

XiangRongLin commented 2 years ago

Can you guys try to see if it also occurs on the main app https://github.com/TeamNewPipe/NewPipe/releases/tag/v0.22.2 This one is using the same extractor version. I have a similiar issue on the main app, where it loads very long/infinitly on 720p, but works on 360p. This would indicate a throttling problem

manilenio commented 2 years ago

Can you guys try to see if it also occurs on the main app https://github.com/TeamNewPipe/NewPipe/releases/tag/v0.22.2 This one is using the same extractor version. I have a similiar issue on the main app, where it loads very long/infinitly on 720p, but works on 360p. This would indicate a throttling problem

Unfortunately, my car's head unit cannot install the main app because my Android version is only 4.3. That's why I'm using legacy. Also, I set it to 360p but it's still not loading the videos.

Thanks for your continued work on this app!

mm40 commented 2 years ago

Hi, I cant go past 4.3 either. I've configured NewPipe to open videos in external player. So, NewPipe itself isn't even opening the video to play. When I click the video on trending tab, i get this screen, which is like that indefinetly. I also want to thank you for keeping this legacy version alive!

Baltazar500 commented 2 years ago

@XiangRongLin

Can you guys try to see if it also occurs on the main app https://github.com/TeamNewPipe/NewPipe/releases/tag/v0.22.2 This one is using the same extractor version. I have a similiar issue on the main app, where it loads very long/infinitly on 720p, but works on 360p. This would indicate a throttling problem

Same problem with 0.21.15 as others. Spinner progress in loop or "Guru Mediation" crash when submitting a link from chrome on 4.2.2. The original application 0.22.2 on 5.1 works without problems and without getting a loop. 360p in NewPipe-preuinified 0.21.15 does not solve the problem - progress remains in a loop.

Mas84cot commented 2 years ago

Please help. Old device's not work's now. Texet X-basic @ JXD s7300, all on android 4.1

Baltazar500 commented 2 years ago

Interception shows that the POST request

https://www.youtube.com/youtubei/v1/browse?key=AIzaSyAO_FJ2SlqU8Q4STEHLGCilw_Y9_11qcW8&prettyPrint=false

does not contain the videoid parameter


{
    "browseId": "FEtrending",
    "context": {
        "client": {
            "platform": "DESKTOP",
            "originalUrl": "https://www.youtube.com",
            "gl": "GB",
            "clientVersion": "2.20220413.05.00",
            "hl": "en-GB",
            "clientName": "WEB"
        },
        "user": {
            "lockedSafetyMode": false
        },
        "request": {
            "internalExperimentFlags": [],
            "useSsl": true
        }
    }
}

What I think is causing problems/

manilenio commented 2 years ago

Interception shows that the POST request

https://www.youtube.com/youtubei/v1/browse?key=AIzaSyAO_FJ2SlqU8Q4STEHLGCilw_Y9_11qcW8&prettyPrint=false

does not contain the videoid parameter


{
  "browseId": "FEtrending",
  "context": {
      "client": {
          "platform": "DESKTOP",
          "originalUrl": "https://www.youtube.com",
          "gl": "GB",
          "clientVersion": "2.20220413.05.00",
          "hl": "en-GB",
          "clientName": "WEB"
      },
      "user": {
          "lockedSafetyMode": false
      },
      "request": {
          "internalExperimentFlags": [],
          "useSsl": true
      }
  }
}

What I think is causing problems/

Who should fix this issue?

Mas84cot commented 2 years ago

{"user_action":"ui error","request":"App crash, UI failure","content_language":"ru-RU","content_country":"RU","app_language":"ru_RU","service":"none","package":"org.schabi.newpipelegacy.preunified","version":"0.21.15","os":"Linux Android 4.1.1 - 16","time":"2022-04-17 18:46","exceptions":["java.lang.NullPointerException\n\tat j$.util.DesugarGregorianCalendar.from(:1)\n\tat org.schabi.newpipe.extractor.localization.DateWrapper.date(DateWrapper.java:54)\n\tat org.schabi.newpipelegacy.info_list.holder.StreamInfoItemHolder.getFormattedRelativeUploadDate(StreamInfoItemHolder.java:98)\n\tat org.schabi.newpipelegacy.info_list.holder.StreamInfoItemHolder.getStreamInfoDetailLine(StreamInfoItemHolder.java:83)\n\tat org.schabi.newpipelegacy.info_list.holder.StreamInfoItemHolder.updateFromItem(StreamInfoItemHolder.java:65)\n\tat org.schabi.newpipelegacy.info_list.InfoListAdapter.onBindViewHolder(InfoListAdapter.java:337)\n\tat org.schabi.newpipelegacy.info_list.InfoListAdapter.onBindViewHolder(InfoListAdapter.java:360)\n\tat androidx.recyclerview.widget.RecyclerView$Adapter.bindViewHolder(RecyclerView.java:7107)\n\tat androidx.recyclerview.widget.RecyclerView$Recycler.tryBindViewHolderByDeadline(RecyclerView.java:6012)\n\tat androidx.recyclerview.widget.RecyclerView$Recycler.tryGetViewHolderForPositionByDeadline(RecyclerView.java:6279)\n\tat androidx.recyclerview.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:6118)\n\tat androidx.recyclerview.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:6114)\n\tat androidx.recyclerview.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:2303)\n\tat androidx.recyclerview.widget.GridLayoutManager.layoutChunk(GridLayoutManager.java:561)\n\tat androidx.recyclerview.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1587)\n\tat androidx.recyclerview.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:665)\n\tat androidx.recyclerview.widget.GridLayoutManager.onLayoutChildren(GridLayoutManager.java:170)\n\tat androidx.recyclerview.widget.RecyclerView.dispatchLayoutStep2(RecyclerView.java:4134)\n\tat androidx.recyclerview.widget.RecyclerView.dispatchLayout(RecyclerView.java:3851)\n\tat androidx.recyclerview.widget.RecyclerView.onLayout(RecyclerView.java:4404)\n\tat android.view.View.layout(View.java:13754)\n\tat android.view.ViewGroup.layout(ViewGroup.java:4364)\n\tat android.widget.RelativeLayout.onLayout(RelativeLayout.java:948)\n\tat android.view.View.layout(View.java:13754)\n\tat android.view.ViewGroup.layout(ViewGroup.java:4364)\n\tat androidx.viewpager.widget.ViewPager.onLayout(ViewPager.java:1775)\n\tat android.view.View.layout(View.java:13754)\n\tat android.view.ViewGroup.layout(ViewGroup.java:4364)\n\tat android.widget.RelativeLayout.onLayout(RelativeLayout.java:948)\n\tat android.view.View.layout(View.java:13754)\n\tat android.view.ViewGroup.layout(ViewGroup.java:4364)\n\tat android.widget.FrameLayout.onLayout(FrameLayout.java:448)\n\tat android.view.View.layout(View.java:13754)\n\tat android.view.ViewGroup.layout(ViewGroup.java:4364)\n\tat android.widget.FrameLayout.onLayout(FrameLayout.java:448)\n\tat android.view.View.layout(View.java:13754)\n\tat android.view.ViewGroup.layout(ViewGroup.java:4364)\n\tat androidx.drawerlayout.widget.DrawerLayout.onLayout(DrawerLayout.java:1231)\n\tat android.view.View.layout(View.java:13754)\n\tat android.view.ViewGroup.layout(ViewGroup.java:4364)\n\tat android.widget.FrameLayout.onLayout(FrameLayout.java:448)\n\tat android.view.View.layout(View.java:13754)\n\tat android.view.ViewGroup.layout(ViewGroup.java:4364)\n\tat android.widget.LinearLayout.setChildFrame(LinearLayout.java:1649)\n\tat android.widget.LinearLayout.layoutVertical(LinearLayout.java:1507)\n\tat android.widget.LinearLayout.onLayout(LinearLayout.java:1420)\n\tat android.view.View.layout(View.java:13754)\n\tat android.view.ViewGroup.layout(ViewGroup.java:4364)\n\tat android.widget.FrameLayout.onLayout(FrameLayout.java:448)\n\tat android.view.View.layout(View.java:13754)\n\tat android.view.ViewGroup.layout(ViewGroup.jav {"user_action":"ui error","request":"App crash, UI failure","content_language":"ru-RU","content_country":"RU","app_language":"ru_RU","service":"none","package":"org.schabi.newpipelegacy.preunified","version":"0.21.15","os":"Linux Android 4.2.2 - 17","time":"2022-04-17 18:42","exceptions":["java.lang.NullPointerException\n\tat j$.util.DesugarGregorianCalendar.from(:1)\n\tat org.schabi.newpipe.extractor.localization.DateWrapper.date(DateWrapper.java:54)\n\tat org.schabi.newpipelegacy.info_list.holder.StreamInfoItemHolder.getFormattedRelativeUploadDate(StreamInfoItemHolder.java:98)\n\tat org.schabi.newpipelegacy.info_list.holder.StreamInfoItemHolder.getStreamInfoDetailLine(StreamInfoItemHolder.java:83)\n\tat org.schabi.newpipelegacy.info_list.holder.StreamInfoItemHolder.updateFromItem(StreamInfoItemHolder.java:65)\n\tat org.schabi.newpipelegacy.info_list.InfoListAdapter.onBindViewHolder(InfoListAdapter.java:337)\n\tat org.schabi.newpipelegacy.info_list.InfoListAdapter.onBindViewHolder(InfoListAdapter.java:360)\n\tat androidx.recyclerview.widget.RecyclerView$Adapter.bindViewHolder(RecyclerView.java:7107)\n\tat androidx.recyclerview.widget.RecyclerView$Recycler.tryBindViewHolderByDeadline(RecyclerView.java:6012)\n\tat androidx.recyclerview.widget.RecyclerView$Recycler.tryGetViewHolderForPositionByDeadline(RecyclerView.java:6279)\n\tat androidx.recyclerview.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:6118)\n\tat androidx.recyclerview.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:6114)\n\tat androidx.recyclerview.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:2303)\n\tat androidx.recyclerview.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1627)\n\tat androidx.recyclerview.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1587)\n\tat androidx.recyclerview.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:665)\n\tat androidx.recyclerview.widget.RecyclerView.dispatchLayoutStep2(RecyclerView.java:4134)\n\tat androidx.recyclerview.widget.RecyclerView.dispatchLayout(RecyclerView.java:3851)\n\tat androidx.recyclerview.widget.RecyclerView.onLayout(RecyclerView.java:4404)\n\tat android.view.View.layout(View.java:14118)\n\tat android.view.ViewGroup.layout(ViewGroup.java:4467)\n\tat android.widget.RelativeLayout.onLayout(RelativeLayout.java:1021)\n\tat android.view.View.layout(View.java:14118)\n\tat android.view.ViewGroup.layout(ViewGroup.java:4467)\n\tat androidx.viewpager.widget.ViewPager.onLayout(ViewPager.java:1775)\n\tat android.view.View.layout(View.java:14118)\n\tat android.view.ViewGroup.layout(ViewGroup.java:4467)\n\tat android.widget.RelativeLayout.onLayout(RelativeLayout.java:1021)\n\tat android.view.View.layout(View.java:14118)\n\tat android.view.ViewGroup.layout(ViewGroup.java:4467)\n\tat android.widget.FrameLayout.onLayout(FrameLayout.java:448)\n\tat android.view.View.layout(View.java:14118)\n\tat android.view.ViewGroup.layout(ViewGroup.java:4467)\n\tat android.widget.FrameLayout.onLayout(FrameLayout.java:448)\n\tat android.view.View.layout(View.java:14118)\n\tat android.view.ViewGroup.layout(ViewGroup.java:4467)\n\tat androidx.drawerlayout.widget.DrawerLayout.onLayout(DrawerLayout.java:1231)\n\tat android.view.View.layout(View.java:14118)\n\tat android.view.ViewGroup.layout(ViewGroup.java:4467)\n\tat android.widget.FrameLayout.onLayout(FrameLayout.java:448)\n\tat android.view.View.layout(View.java:14118)\n\tat android.view.ViewGroup.layout(ViewGroup.java:4467)\n\tat android.widget.LinearLayout.setChildFrame(LinearLayout.java:1670)\n\tat android.widget.LinearLayout.layoutVertical(LinearLayout.java:1528)\n\tat android.widget.LinearLayout.onLayout(LinearLayout.java:1441)\n\tat android.view.View.layout(View.java:14118)\n\tat android.view.ViewGroup.layout(ViewGroup.java:4467)\n\tat android.widget.FrameLayout.onLayout(FrameLayout.java:448)\n\tat android.view.View.layout(View.java:14118)\n\tat android.view.ViewGroup.layout(ViewGroup.java:4467)\n\tat android.widget.LinearLayout.setChildFrame(LinearLayout.java:1670)\n\tat android.widget.LinearLayout.layoutVertical(LinearLayout.java:1528)\n\tat android.widget.LinearLayout.onLayout(LinearLayout.java:1441)\n\tat android.view.View.layout(View.java:14118)\n\tat android.view.ViewGroup.layout(ViewGroup.java:4467)\n\tat android.widget.FrameLayout.onLayout(FrameLayout.java:448)\n\tat android.view.View.layout(View.java:14118)\n\tat android.view.ViewGroup.layout(ViewGroup.java:4467)\n\tat android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2183)\n\tat android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1947)\n\tat android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1139)\n\tat android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:4872)\n\tat android.view.Choreographer$CallbackRecord.run(Choreographer.java:776)\n\tat android.view.Choreographer.doCallbacks(Choreographer.java:579)\n\tat android.view.Choreographer.doFrame(Choreographer.java:548)\n\tat android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:762)\n\tat android.os.Handler.handleCallback(Handler.java:800)\n\tat android.os.Handler.dispatchMessage(Handler.java:100)\n\tat android.os.Looper.loop(Looper.java:194)\n\tat android.app.ActivityThread.main(ActivityThread.java:5371)\n\tat java.lang.reflect.Method.invokeNative(Native Method)\n\tat java.lang.reflect.Method.invoke(Method.java:525)\n\tat com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:833)\n\tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)\n\tat de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)\n\tat dalvik.system.NativeStart.main(Native Method)\n"],"user_comment":""}

no-name-here commented 2 years ago

Same problem :( Version 0.21.15-legacy Android 4.2.2

no-name-here commented 2 years ago

Any chances for this problem to be fixed?

XiangRongLin commented 2 years ago

Like I said this is probably a throttling problem. Address it in the main repo, if it isn't already.

no-name-here commented 2 years ago

But same 0.21.15-legacy works fine on my phone with Android 9. Problem appears only on an old tablet with Android 4.2.2 (and it appeared only in 0.21.15-legacy - previous version 0.21.14-legacy worked until recent google changes). So it looks more like a some change in extractor between versions 0.21.14 and 0.22.0 that is either unsupported or works differently in old Android versions.

As far as I know, main NewPipe version doesnt support Android lower than 4.4, so I dont think it is a good idea to post this as a bug report to a main project.

Well, thanks for the answer anyway - at least now I know that it wont be fixed (except by accident after some new changes to extractor).

manilenio commented 2 years ago

Guys, try to use version 0.21.1 and let me know if it works for you so we can close this thread.

Baltazar500 commented 2 years ago

Guys, try to use version 0.21.1 and let me know if it works for you so we can close this thread.

This version https://github.com/XiangRongLin/NewPipe-preuinified/releases/tag/v0.21.1-legacy ?

It works when sending a video from a browser. But the speed of receiving data is extremely low (~ 70 kb/s) due to the old algorithm for extracting a link (?) As a result, a slideshow is played instead of a video. When opening a video in a channel, I get a "Guru Mediation" error when opening an video.

no-name-here commented 2 years ago

Guys, try to use version 0.21.1 and let me know if it works for you so we can close this thread.

Tried 0.21.1-legacy. Streams seem to work relatively fine (sometimes there are freezes, but they're rare enough to call it usable) - download speed is 250kb/s and higher. Videos can be viewed only at 240p max, even at 360p I get a slideshow, download speed seems to be capped at ~70 kb/s. Behavior is the same on Android 4.2.2 and Android 9.

manilenio commented 2 years ago

yeah, so there you have it... no fix. oh well, let's just keep our fingers crossed that the next version will work. still, thanks to the author for keeping this alive.