Java for BD-J menus

another doubt I install the plugin but part is this CoreELEC-Amlogic.arm-9.2.5-vpeter-bd-2020.11.01.17.55, to install coreelec again? , or is it installed as a plug-in?

I’ve gone to the beginning of the thread to read everything but I still don’t know how to install the CoreELEC-Amlogic.arm-9.2.5-vpeter when I have the official version installed

Update manually from samba share: How to update CoreELEC

sorry for everything, I already installed the image 9.2.5 Vpeter and tools.jre.zulu-9.2.100-Amlogic-ng-libbluray 1.2.0.zip, but it does not reproduce any BD, I do not know if it has to see from where I play , my case is from google drive and also by emby hard disk in pc, in no way does it reproduce anything.

You need to open Context menu on a file/folder and select to play with BD menu. Menu is not shown directly.

at no time I get the option to play with the BD menu. I don’t know if it’s too much to ask but you could give an example with photos of the sequence you follow

Just to be sure, For CoreELEC on Vim3 I need to use CoreELEC-Amlogic-ng.arm-9.2.5-vpeter-bd-2020.11.01.17.54.tar ?

@vpeter

unrelated to CoreElec but it seems JRE was ported to Android;

And it would be possible to replace the binary files in the jre tool zulu addon and export the JAVA_HOME with the android binaries.

But if I remember your work, this isn’t enough.
Can you, please, point me out what and more important why changes in kodi tools depends are needed when compiling Kodi?
Can’t this be incorporated into a single addon?

Fandangos, beside JRE there is also one or two libbluray-*.jar files.

But I’m almost sure this addon would not just work on Android. Instead try copying .jar files to Android manually and set JAVA_HOME environment variable which must be set before kodi is started.

Java_home needs to be set before kodi starts?

That might be the reason why it’s not possible to use it.
Besides the jar files, we need java binary running from java_home.

If the addon sets it with the profile after kodi launches so it’s not possible to use it.
That’s the main problem.

I was reading your commits, ant home is only needed for linux, correct?

I don’t know how kodi is started on Android. If you could build it you could also hardcode JAVA_HOME to some path. Just thinking…

Yes I’m compiling my own.

Will try hard coding it and see if that works.

Yeah, didn’t work, it was worth trying

setenv(“JAVA_HOME”, “/storage/emulated/0/JAVA/”, 1);

setenv(“LIBBLURAY_CP”, “/storage/emulated/0/JAVA/”, 1);

Set both in PlataformAndroid

No luck. Jar files are present and JRE arm binaries are present.

is it possible to get this working on the matrix nightlies?

Thank you.

Matt

Untested!
https://drive.google.com/drive/folders/1kqShTEhQ2lYCEZ8VAiih8jfhrOq18BS0?usp=sharing

1 Like

Ce 19,The BD&4KUHD physical disk cannot be played.
9.2.5 ng can not too.
how to do?thanks
edit:renew KEYDB.cfg,BD is ok.
edit2:maybe ce does not support UHD DISC?

1 Like

Hi,

I tried it myself but unfortunately it doesn’t work. UHDs don’t start at all, while bd’s all return this kind of error:

CoreELEC:~ # uname -a
Linux CoreELEC 4.9.113 #1 SMP PREEMPT Sun Jan 3 18:25:24 CET 2021 aarch64 GNU/Linux

2021-01-09 08:50:55.691 T:6006    DEBUG <general>: CDVDInputStreamBluray::Open - Disc name           : Iron Man 2 Disc 1
2021-01-09 08:50:55.691 T:6006    DEBUG <general>: CDVDInputStreamBluray::Open - First Play supported: 1
2021-01-09 08:50:55.691 T:6006    DEBUG <general>: CDVDInputStreamBluray::Open - Top menu supported  : 1
2021-01-09 08:50:55.691 T:6006    DEBUG <general>: CDVDInputStreamBluray::Open - HDMV titles         : 2
2021-01-09 08:50:55.691 T:6006    DEBUG <general>: CDVDInputStreamBluray::Open - BD-J titles         : 79
2021-01-09 08:50:55.691 T:6006    DEBUG <general>: CDVDInputStreamBluray::Open - BD-J handled        : 1
2021-01-09 08:50:55.691 T:6006    DEBUG <general>: CDVDInputStreamBluray::Open - UNSUPPORTED titles  : 0
2021-01-09 08:50:55.691 T:6006    DEBUG <general>: CDVDInputStreamBluray::Open - AACS detected       : 0
2021-01-09 08:50:55.691 T:6006    DEBUG <general>: CDVDInputStreamBluray::Open - libaacs detected    : 0
2021-01-09 08:50:55.691 T:6006    DEBUG <general>: CDVDInputStreamBluray::Open - AACS handled        : 0
2021-01-09 08:50:55.691 T:6006    DEBUG <general>: CDVDInputStreamBluray::Open - BD+ detected        : 0
2021-01-09 08:50:55.691 T:6006    DEBUG <general>: CDVDInputStreamBluray::Open - libbdplus detected  : 0
2021-01-09 08:50:55.691 T:6006    DEBUG <general>: CDVDInputStreamBluray::Open - BD+ handled         : 0
2021-01-09 08:50:55.691 T:6006    DEBUG <general>: CDVDInputStreamBluray::Open - no menus (libmmbd, or profile 6 bdj)  : 0
2021-01-09 08:50:55.691 T:6006    DEBUG <general>: CBlurayCallback::Logger - register.c:418: bd_psr_write(4, 65535): no change in value

2021-01-09 08:50:55.691 T:6006    DEBUG <general>: CBlurayCallback::Logger - bluray.c:3107: PSR write: psr4 = 65535

2021-01-09 08:50:55.697 T:6006    DEBUG <general>: CDVDInputStreamBluray - BD_EVENT_ANGLE 1
2021-01-09 08:50:55.697 T:6006    DEBUG <general>: CDVDInputStreamBluray - BD_EVENT_TITLE 65535
2021-01-09 08:50:55.697 T:6006    DEBUG <general>: CDVDInputStreamBluray - BD_EVENT_AUDIO_STREAM 255 -1
2021-01-09 08:50:55.697 T:6006    DEBUG <general>: CDVDInputStreamBluray - BD_EVENT_PG_TEXTST 0
2021-01-09 08:50:55.697 T:6006    DEBUG <general>: CDVDInputStreamBluray - BD_EVENT_PG_TEXTST_STREAM 4095, -1
2021-01-09 08:50:55.697 T:6006    DEBUG <general>: CDVDInputStreamBluray - BD_EVENT_TITLE 65535
2021-01-09 08:50:55.697 T:6006     INFO <general>: VideoPlayer: playing a file with menu's
2021-01-09 08:50:55.697 T:6006     INFO <general>: Creating Demuxer
2021-01-09 08:50:55.697 T:6006    DEBUG <general>: CBlurayCallback::Logger - bluray.c:3485: HDMV event: HDMV_EVENT_PLAY_STOP(7): 0

2021-01-09 08:50:55.698 T:6006    DEBUG <general>: CBlurayCallback::Logger - bluray.c:3485: HDMV event: HDMV_EVENT_TITLE(3): 4

2021-01-09 08:50:55.698 T:6006    DEBUG <general>: CBlurayCallback::Logger - register.c:420: bd_psr_write(): PSR4    (TITLE_NUMBER) 0xffff -> 0x4

As usually I put 9.2.5 files here: libbluray-1.2.0 – Google Drive 125

Currently untested.

This works very very good!

1 Like

Why isn’t this already somehow merged on the official builds? It works too well to be ignored.

Is there anything that wouldn’t allow to this binaries being distributed with Coreelec?

libbluray and libaacs library versions are not what kodi supports officially.

1 Like