-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
App Crash: Videos in YouTube Playlists do not play in background with screen off. #11415
Comments
Happens to me as well |
I have tried on other devices as well, and the issue is the same. This seems to have started only recently, since the YouTube changes and v 0.27.2 |
Happening to me too. Send to occur only when using YouTube, not SoundCloud. May be related #11356 Exception
Crash log
|
Same for me. (It's funny because I have the same bug with Freetube on Linux not working in out of focus workspaces. It's a Wayland problem but I am still gonna check if it's only on subscribed channels, you never know. It would be strange, but it's strange on NewPipe too, right?) The logs: Exception
Crash log
|
Fill the template properly. |
I thought I had. Can you help me with what I have missed filling ? Thanks ! |
ADDITIONAL OBSERVATION: The issue only happens with playlists that are created in YouTube. If I create a playlist manually within NewPipe App, those videos play fine with screen off. Have been using this as a workaround until a fix is available. |
The log was missing, which you've now provided. |
@opusforlife2 I see that you have closed this request as a 'duplicate'. Could you kindly point me to the issue which encompasses this request - so I may follow the progress on that instead. Thanks ! The issue still persists and others have said they are facing the same problem too. So Am not sure if there's a fix provided already ? |
@opusforlife2 might you please reply to my query above? |
What you do is use keywords from the first line of the crash log to search for similar issues. Like here, search for "Parcelable encountered IOException writing serializable object" and you'll get exactly the issue you would want to subscribe to. |
Thanks. Could you perhaps share the link to the WIP issue here please. |
It's a pinned issue. How are you still unable to find it? |
I am not too familiar with using Github, and this is literally my first time using it. |
You see the 3 issues right at the top of the page here https://github.com/TeamNewPipe/NewPipe/issues? Those are meant to be seen first and foremost whenever you intend to open an issue. |
Thank you. I see it now. |
Checklist
Affected version
0.27.2
Steps to reproduce the bug
Expected behavior
The video is expected to continue playing in the background with the screen off (i.e. audio only)
Actual behavior
Newpipe app crashes
Screenshots/Screen recordings
Logs
{"user_action":"ui error","request":"ACRA report","content_language":"en-IN","content_country":"IN","app_language":"en_IN_#u-fw-mon-mu-celsius","service":"none","package":"org.schabi.newpipe","version":"0.27.2","os":"Linux Android 14 - 34","time":"2024-08-03 22:22","exceptions":["android.os.BadParcelableException: Parcelable encountered IOException writing serializable object (name = org.schabi.newpipe.extractor.channel.ChannelInfo)\n\tat android.os.Parcel.writeSerializable(Parcel.java:2907)\n\tat android.os.Parcel.writeValue(Parcel.java:2673)\n\tat android.os.Parcel.writeValue(Parcel.java:2472)\n\tat android.os.Parcel.writeArrayMapInternal(Parcel.java:1336)\n\tat android.os.BaseBundle.writeToParcelInner(BaseBundle.java:1844)\n\tat android.os.Bundle.writeToParcel(Bundle.java:1390)\n\tat android.os.Parcel.writeBundle(Parcel.java:1405)\n\tat android.os.Parcel.writeValue(Parcel.java:2589)\n\tat android.os.Parcel.writeValue(Parcel.java:2479)\n\tat android.os.Parcel.writeArrayMapInternal(Parcel.java:1336)\n\tat android.os.BaseBundle.writeToParcelInner(BaseBundle.java:1844)\n\tat android.os.Bundle.writeToParcel(Bundle.java:1390)\n\tat android.os.Parcel.writeBundle(Parcel.java:1405)\n\tat android.os.Parcel.writeValue(Parcel.java:2589)\n\tat android.os.Parcel.writeValue(Parcel.java:2479)\n\tat android.os.Parcel.writeArrayMapInternal(Parcel.java:1336)\n\tat android.os.BaseBundle.writeToParcelInner(BaseBundle.java:1844)\n\tat android.os.Bundle.writeToParcel(Bundle.java:1390)\n\tat android.os.Parcel.writeBundle(Parcel.java:1405)\n\tat android.os.Parcel.writeValue(Parcel.java:2589)\n\tat android.os.Parcel.writeValue(Parcel.java:2479)\n\tat android.os.Parcel.writeArrayMapInternal(Parcel.java:1336)\n\tat android.os.BaseBundle.writeToParcelInner(BaseBundle.java:1844)\n\tat android.os.Bundle.writeToParcel(Bundle.java:1390)\n\tat android.os.Parcel.writeBundle(Parcel.java:1405)\n\tat android.os.Parcel.writeValue(Parcel.java:2589)\n\tat android.os.Parcel.writeValue(Parcel.java:2479)\n\tat android.os.Parcel.writeArrayMapInternal(Parcel.java:1336)\n\tat android.os.BaseBundle.writeToParcelInner(BaseBundle.java:1844)\n\tat android.os.Bundle.writeToParcel(Bundle.java:1390)\n\tat android.os.Parcel.writeBundle(Parcel.java:1405)\n\tat android.os.Parcel.writeValue(Parcel.java:2589)\n\tat android.os.Parcel.writeValue(Parcel.java:2479)\n\tat android.os.Parcel.writeArrayMapInternal(Parcel.java:1336)\n\tat android.os.BaseBundle.writeToParcelInner(BaseBundle.java:1844)\n\tat android.os.Bundle.writeToParcel(Bundle.java:1390)\n\tat android.os.Parcel.writeBundle(Parcel.java:1405)\n\tat android.os.Parcel.writeValue(Parcel.java:2589)\n\tat android.os.Parcel.writeValue(Parcel.java:2479)\n\tat android.os.BaseBundle.dumpStats(BaseBundle.java:1918)\n\tat android.os.BaseBundle.dumpStats(BaseBundle.java:1955)\n\tat android.app.servertransaction.PendingTransactionActions$StopInfo.collectBundleStates(PendingTransactionActions.java:123)\n\tat android.app.servertransaction.PendingTransactionActions$StopInfo.run(PendingTransactionActions.java:139)\n\tat android.os.Handler.handleCallback(Handler.java:959)\n\tat android.os.Handler.dispatchMessage(Handler.java:100)\n\tat android.os.Looper.loopOnce(Looper.java:232)\n\tat android.os.Looper.loop(Looper.java:317)\n\tat android.app.ActivityThread.main(ActivityThread.java:8592)\n\tat java.lang.reflect.Method.invoke(Native Method)\n\tat com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:580)\n\tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:878)\nCaused by: java.io.NotSerializableException: org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeChannelExtractor\n\tat java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1240)\n\tat java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1620)\n\tat java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1581)\n\tat java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1490)\n\tat java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1234)\n\tat java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1620)\n\tat java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1581)\n\tat java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1490)\n\tat java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1234)\n\tat java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:354)\n\tat java.util.ArrayList.writeObject(ArrayList.java:955)\n\tat java.lang.reflect.Method.invoke(Native Method)\n\tat java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1079)\n\tat java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1568)\n\tat java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1490)\n\tat java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1234)\n\tat java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1620)\n\tat java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1581)\n\tat java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1490)\n\tat java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1234)\n\tat java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1620)\n\tat java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1581)\n\tat java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1490)\n\tat java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1234)\n\tat java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:354)\n\tat android.os.Parcel.writeSerializable(Parcel.java:2902)\n\t... 50 more\n"],"user_comment":"When playing a video from a YouTube playlist, the app crashes when I turn off the screen. Earlier it used to continue playing (i.e. I could still listen to the audio with screen off)\n\nThis crash happens only for videos that are in a playlist. \n\nvideos that are not in a playlist continue to play normally when screen is turned off.\n\nThanks in advance."}
Affected Android/Custom ROM version
LineageOS 21
Affected device model
OnePlus 7 guacamoleb
Additional information
None relevant apart from what is already provided.
The text was updated successfully, but these errors were encountered: