Java for BD-J menus

This thread startet in 2018 and BD-J never worked 100% perfect

1 Like

Yeah no I can see that, I get that it seems like it’s not going to change just because it hasn’t in so many years. It probably needs someone dedicated to take a look at it which is what I want to do, I program in Java :stuck_out_tongue:. I’m just trying to establish where the bottleneck is

I don’t see this behaviour. Pressing x on keyboard or sending by kodi-remote stops the video.

And that’s why such issues will never be changes because it is not clear how to reproduce.

Hi vpeter, this means that there will be an update for the JAVA BD-J add-on during the next days?

It was already done for CE-22.
But I forgot to fix CE-21 too. Will do it in a day or two.

5 Likes

how can I control the bluray menu and not the kodi menu, what key do I need, tried so many remotes, can’t figure it out. even if the menus are playing fine.

Switching audio tracks and subtitles through the Kodi menu is invalid when playing Blu-ray, and it can only take effect when switching through the Blu-ray menu. However, for some modified files, their subtitles will not be displayed in the Blu-ray menu, although they can be seen in the Kodi menu, but they cannot be switched successfully.

i want add a cutom keymap in blueraymenu,i shoud use <videomenu></videomenu> or what

Environment

  • CoreELEC version: 21.3 (NG)

  • Affected component: jre.zulu plugin / libbluray patch

  • Test media: Blu-ray ISO files

Question

The Kodi window is permanently stuck as videomenu regardless of whether the Blu-ray menu is displayed or not. It seems the added Java-related configuration keeps Java running in the background, which falsely maintains the videomenu window state.Does the newly added code -Djava.awt.headless=false (and the disabled X11 check) directly cause the invalidation of Kodi’s window state detection for Blu-ray menus? Is there a way to fix this while retaining the X11 check disable feature?

packages/multimedia/libbluray/patches/libbluray-03-set-headless-false.patch

Last time I checked it worked fine.
What exactly is the issue?

I have written a keymap.xml file which is designed to implement specific key press logic based on different window contexts. Currently, when playing an ISO file in Blu-ray menu mode, the logic configured for the fullscreen window fails to trigger properly. Through the skin’s debug mode, I have identified that this issue is caused by the window context remaining as ā€œvideomenuā€ persistently.

Look like your issue only which means you will have to debug java too.