You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You should do this quickly before the video opens.
1. Select auto or landscape as screen rotation. Enable auto rotation on the device
2. Turn on Auto fullscreen option for Player.
3. Keep the device horizontal.
4. Play any video
5. Rotate device to portrait orientation. Do this quickly.
Other
To reproduce this error with auto rotation option, enable rotation on your device. The error will occur even if auto fullscreen is turned off
Expected behavior
No error
Actual behavior
XRecorder_20250121_03.mp4
LibreTube version
0.26.8 (58)
Android version
Android 12
Other details
java.lang.RuntimeException: Unable to create service com.github.libretube.services.VideoOnlinePlayerService: java.lang.IllegalStateException: Session ID must be unique. ID=com.github.libretube.services.VideoOnlinePlayerService
at android.app.ActivityThread.handleCreateService(ActivityThread.java:4953)
at android.app.ActivityThread.access$1800(ActivityThread.java:310)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2300)
at android.os.Handler.dispatchMessage(Handler.java:106)
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)
Caused by: java.lang.IllegalStateException: Session ID must be unique. ID=com.github.libretube.services.VideoOnlinePlayerService
at androidx.media3.session.MediaSession.(MediaSession.java:686)
at androidx.media3.session.MediaLibraryService$MediaLibrarySession.(MediaLibraryService.java:679)
at androidx.media3.session.MediaLibraryService$MediaLibrarySession$Builder.build(MediaLibraryService.java:659)
at com.github.libretube.services.AbstractPlayerService.createPlayerAndMediaSession(AbstractPlayerService.kt:305)
at com.github.libretube.services.AbstractPlayerService.onCreate(AbstractPlayerService.kt:246)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:4940)
... 9 more
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.
The text was updated successfully, but these errors were encountered:
Steps to reproduce
You should do this quickly before the video opens.
1. Select auto or landscape as screen rotation. Enable auto rotation on the device
2. Turn on Auto fullscreen option for Player.
3. Keep the device horizontal.
4. Play any video
5. Rotate device to portrait orientation. Do this quickly.
Other
Expected behavior
No error
Actual behavior
XRecorder_20250121_03.mp4
LibreTube version
0.26.8 (58)
Android version
Android 12
Other details
java.lang.RuntimeException: Unable to create service com.github.libretube.services.VideoOnlinePlayerService: java.lang.IllegalStateException: Session ID must be unique. ID=com.github.libretube.services.VideoOnlinePlayerService
at android.app.ActivityThread.handleCreateService(ActivityThread.java:4953)
at android.app.ActivityThread.access$1800(ActivityThread.java:310)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2300)
at android.os.Handler.dispatchMessage(Handler.java:106)
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)
Caused by: java.lang.IllegalStateException: Session ID must be unique. ID=com.github.libretube.services.VideoOnlinePlayerService
at androidx.media3.session.MediaSession.(MediaSession.java:686)
at androidx.media3.session.MediaLibraryService$MediaLibrarySession.(MediaLibraryService.java:679)
at androidx.media3.session.MediaLibraryService$MediaLibrarySession$Builder.build(MediaLibraryService.java:659)
at com.github.libretube.services.AbstractPlayerService.createPlayerAndMediaSession(AbstractPlayerService.kt:305)
at com.github.libretube.services.AbstractPlayerService.onCreate(AbstractPlayerService.kt:246)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:4940)
... 9 more
Acknowledgements
The text was updated successfully, but these errors were encountered: