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

The app won't play anything after a video and the mini player buttons give an error #6776

Closed
3 tasks done
Figim opened this issue Nov 19, 2024 · 0 comments · Fixed by #6784
Closed
3 tasks done

The app won't play anything after a video and the mini player buttons give an error #6776

Figim opened this issue Nov 19, 2024 · 0 comments · Fixed by #6784
Labels
bug Something isn't working

Comments

@Figim
Copy link

Figim commented Nov 19, 2024

Steps to reproduce

  1. Play the video. You can no longer play audio or video. Player is frozen. Even if you close the existing player, it doesn't fix it
  2. LATER Error when pressing Play and Close button in Mini-Player. Or click again on the video that doesn't load

Expected behavior

After one playback, no player freezing when playing other audio and video streams. Then mini player buttons should not give error when content is not loaded

Actual behavior

  1. ### Audio and video player does not work after one playback

  2. ### Mini-player button errors

FATAL EXCEPTION: main
Process: com.github.libretube.debug, PID: 14664
kotlin.UninitializedPropertyAccessException: lateinit property playerController has not been initialized
at com.github.libretube.ui.fragments.PlayerFragment.onDestroy(PlayerFragment.kt:866)
at androidx.fragment.app.Fragment.performDestroy(Fragment.java:3381)
at androidx.fragment.app.FragmentStateManager.destroy(FragmentStateManager.java:832)
at androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:360)
at androidx.fragment.app.SpecialEffectsController$FragmentStateManagerOperation.complete$fragment_release(SpecialEffectsController.kt:823)
at androidx.fragment.app.SpecialEffectsController.commitEffects$fragment_release(SpecialEffectsController.kt:441)
at androidx.fragment.app.SpecialEffectsController.executePendingOperations(SpecialEffectsController.kt:283)
at androidx.fragment.app.FragmentManager.executeOpsTogether(FragmentManager.java:2227)
at androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute(FragmentManager.java:2109)
at androidx.fragment.app.FragmentManager.execPendingActions(FragmentManager.java:2052)
at androidx.fragment.app.FragmentManager$5.run(FragmentManager.java:703)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:226)
at android.os.Looper.loop(Looper.java:313)
at android.app.ActivityThread.main(ActivityThread.java:8669)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1135)

LibreTube version

0.26.0 Debug

Android version

All

Other details

XRecorder_19112024_065252.mp4

Acknowledgements

  • I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
  • I have written a short but informative title.
  • I will fill out all of the requested information in this form.
@Figim Figim added the bug Something isn't working label Nov 19, 2024
@Figim Figim changed the title The player doesn't freeze due to lag and the mini player buttons give an error When you turn off one video, the player freezes when the other one plays, and the mini player buttons give an error Nov 19, 2024
@Figim Figim changed the title When you turn off one video, the player freezes when the other one plays, and the mini player buttons give an error The app won't play anything after a video and the mini player buttons give an error Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant