Hello.
There are some issues really, but not as dramatic as is it described in that topic.
After i started playback from BD-J menu i cannot open Kodi’s player menu by clicking button on my TV remote as usual. However when i connect a USB mouse to my RPi4b - with left mouse click a player menu menu opens as usual and I can do all the things (change audio track, skip playback to certain timestamp etc) but I can’t jump to certain chapter. Chapter selection have no effect.
With my TV remote i still can Pause ( ︎ ) / Forward ( ︎ ) / Rewind ( ︎ ) / Stop ( )movie
When i Click “Next” ( ︎ ) or Previous ( ) buttons to jump to next/prev chapter on remote a menu appears like i just started a playback with options “Play Main Title” “Select Title” and “Show BluRay Menu”
All the time Main Title is played under BD-J the title’s name displayed in player’s menu as “Blu Ray Menu”
I’ve looked at this today and fortunately now have a couple of Blu-ray discs with BD-J menus, so I should be able to verify things. However we have some issues.
Firstly, the version of libbluray that we use in OSMC 1.0.2. This is a bit old, and didn’t seem to support the newer versions of Java in Debian 11/12. We use this version with downstream patches to support 3D MVC ISO support on Vero 4K / 4K + and V.
I did try and backport Java support to this version but failed to do so. I then updated libbluray to the latest version (1.3.4) here to see if that yielded improvement. It did not. This has reminded me once again that we need to use the official Oracle version of Java (and Ant). However it seems that we need to use a very old version of Java. This could break other applications in OSMC that use / depend on Java and isn’t ideal.
There are also licensing terms with having to use Oracle’s implementation of Java which means we could never include this as part of the default installation (as well as the size of Java itself). This is why this is not standard in LE as well.
Run the following command to add the staging repository: echo 'deb http://apt.osmc.tv bullseye-devel main' | sudo tee /etc/apt/sources.list.d/osmc-devel.list
Run the following commands to update: sudo apt-get update && sudo apt-get dist-upgrade && reboot
Your system should have have received the update.
I also recommend you remove /etc/apt/sources.list.d/osmc-devel.list after updating.
This will deactivate the staging repository. You can do so with the following command: sudo rm /etc/apt/sources.list.d/osmc-devel.list.
Please note that we will automatically disable this update channel after 14 days on your device in case you forget to do so to ensure that your system reverts to the stable update channel.
After doing so, you’ll need to install Java. You can do so by going to My OSMC → App Store and installing ‘Java Runtime Environment’.
Not going so great thus far: I tried it on three different UHD blu rays that I happen to have in folder format, and all three of them gave me a sad face error.
I moved your post to the more relevant thread. The jre that is currently installing from the app store seems to not be the version needed for the Blu-ray menus. Sam may have gotten a little ahead of himself with that post. There is a team member that has gotten this working on their system but they are still working out some details on the distribution. I would give them a day or three to work out the final details.
After following your instructions including the install of JRE I could succesfully switch “Blu-ray playback mode” to “Show Blu-ray menu”. Before I got a warning. But trying to play a BR-disc now results in an unwatchable experience with all CPU’s at 100%. Fps is like 1 frame a second. Going back to “Show simplified menu” resolves the issue.
Hello.
After repeating all this steps all BD-J menus of my disks is working
Are you going to add this update to main release ? When ?
I would like to also emphasize on mentioned issue when Kodi’s player menu which is usually activated by “Ok” buttion on TV remote doesn’t work when video played under DB-J menu (just like in LibreElec). I can access player menu only by mouse left click if I connect it to RPi4.
May be some special keymap settings is needed ?
Fortunately, unlike under LE - in OSMC i can navigate though chapters, with ︎ and
So the only problem remains is to call video player’s menu on screen.
DVD menu working fine btw.
How many blurays did you test?
Some have very simple menus and others have more complicated ones.
One of the guys here might know off the top of their head what blurays ar ebest for menu testing.
The issue seems to be that when playing these files Kodi isn’t switching the keymap control over to fullscreenvideo when it switches from the menu to the actual content. My best attempt at a workable keymap is as follows. With this the OSD will come up with most remotes when you press the menu button, and the bluray menu will show/hide with the back/exit button. For CEC, since TV’s frequently don’t forward a menu button via CEC, I mapped the OSD to the play button and switched pause to being play/pause instead of being dedicated pause as it is stock.
Hello. Sorry for the late response.
Thanks a lot!
I have checked your configuration and it seems to be working fine for me just right as you have explained.
“Back” button on TV remote calls special BD-J menu with options to get back to main menu, resume playback, sometimes with Audio/Subtitle, extra material options, depending on particular disc which i suppose to be right behavior.
Play button calls Kodi’s OSD player menu. This is fine for me.
I can pause movie with Pause button, use Rewind/Fast forward and chapter navigation as usual
I additionally assigned keys from remote
Eleven, actually )
Star Wars 1-9, Mad Max: Fury Road and Angel-A which actually doesn’t have any menu and simply starts movie playback.
If you have any information which discs might be problematic i could try to find and test ones.
I know there are practices to make something like video games using DVD/BD menus. I experienced some DVD based quest games couple dozens years ago )
That would seem to be a limitation of the BD-J patch and not something that can be fixed with a keymap. I tried to directly push the actions from the terminal with kodi-send -a playerdebug and that didn’t get me the desired result. If it doesn’t work using that method, it isn’t going to work key-mapping it. If you need that feedback from a video I suppose you would just need to switch to playing it with the simple menu so it just uses the regular video render method.
I only have a single example of this kind of file but that is showing for me…