Java for BD-J menus

19.4 rc3

2 Likes

@vpeter thank you very much!

1 Like

Thank You! :slight_smile:

1 Like

@vpeter will you do a 19.4 build pls?

1 Like

CoreELEC-Amlogic-ng.arm-19.4-Matrix_vpeter-bdj-2022.03.07.20.07.tar

2 Likes

thank u very much! :smiley:

Error Contents: /usr/lib/python3.8/site-packages/PIL/_imaging.so: undefined symbol: XauGetBestAuthByAddr

Any details to fix this?

I tried to build my own CoreELEC from source, and I got the same problem.

I think it comes from libX11 package?

Anyone tested UkkosJourney-BluPlay.iso with the latest version? It worked with older versions but seems not working any more.

1 Like

It plays here as before.

OK, thanks. then this must be problem at my side. I will check more.

@vpeter Seems BD+ encrypted blu-rays doesnt work. Is that limitation of libbluray?
And if so is it possible that to be overcome somehow?

No idea - don’t have any to test :slight_smile:

Do you have keys installed (KEYDB.cfg)? From here probably: http://fvonline-db.bplaced.net/

Yes i have keys installed. And i verify the key is there. However when i try to play BD+ blu-ray in kodi log this is the result:
2022-03-29 17:47:37.881 T:8288 ERROR : CDVDInputStreamBluray::Open - Media stream scrambled/encrypted with BD+
2022-03-29 17:47:37.881 T:8288 ERROR : CVideoPlayer::OpenInputStream - error opening [/var/media/EMPIRE_STRIKES_BACK/BDMV/index.bdmv]
I have abou 15 blurays that gives the same error and for all of them there are valid keys in keydb.cfg.

And if you play disk without menu: does it play?

Without menu doesnt play as well. Same error in the log. :frowning:

I think is needed libbdplus which seems to be not included in kodi :frowning:

It is: CoreELEC/package.mk at coreelec-19 · CoreELEC/CoreELEC · GitHub

$ fgrep -r libbdplus /usr/lib
Binary file /usr/lib/kodi/kodi.bin matches
Binary file /usr/lib/libbdplus.so.0.1.0 matches
Binary file /usr/lib/libbluray.so.2.4.0 matches

You could enable debug mode. Create file /run/libreelec/debug/kodi.conf with this content

AACS_DEBUG_FILE=/storage/debug_aacs
BD_DEBUG_FILE=/storage/debug_bd
AACS_DEBUG_MASK=0xffff
BD_DEBUG_MASK=0xffff

and then restart Kodi in ssh session (or from GUI) - restart and NOT reboot. You will get this two files in /storage.

systemctl restart kodi

@vpeter
I did what you told me…
When running fgrep -r libbdplus /usr/lib i get this output

/usr/lib/libbluray.so.2:Loading libbdplus (%p)
/usr/lib/libbluray.so.2:libbdplus dlsym failed! (%p)
/usr/lib/libbluray.so.2:Loaded libbdplus (%p)
/usr/lib/libbluray.so.2:libbdplus dlsym(bdplus_init) failed! (%p)
/usr/lib/libbluray.so.2:Too old libbdplus detected. Disc must be mounted first.

When i attempt to play the bluray disk AACS seems to be initilized correctly but bd+ seems to fail. Here is bd+ log:

bdplus.c:121: [bdplus] initialising...
bdplus.c:124: Initializing libgcrypt...
configfile.c:104: VM config not found from  /storage/.config/bdplus/vm0/memory.map
configfile.c:104: VM config not found from  /etc/xdg/bdplus/vm0/memory.map
bdplus_config.c:255: VM configuration not found
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               bdplus.c:240: bdplus_init() failed! (0xd7171f08)
dec.c:223: bdplus_init() failed
bdj.c:444: Using JAVA_HOME '/usr/share/kodi/addons/tools.jre.zulu'
bdj.c:309: Opening /usr/share/kodi/addons/tools.jre.zulu/jre/lib/arm/server/libjvm ...
dl_posix.c:56: opened library '/usr/share/kodi/addons/tools.jre.zulu/jre/lib/arm/server/libjvm.so'
file_posix.c:179: Opened POSIX file /usr/share/kodi/addons/tools.jre.zulu/libbluray-j2se-1.3.0.jar (0xd7170910)
file_posix.c:55: Closed POSIX file (0xd7170910)
file_posix.c:179: Opened POSIX file /usr/share/kodi/addons/tools.jre.zulu/libbluray-awt-j2se-1.3.0.jar (0xd7170910)
file_posix.c:55: Closed POSIX file (0xd7170910)
bdj.c:788: BD-J check: OK
bluray.c:3167: PSR change: psr3 = 1
bluray.c:3167: PSR change: psr4 = 65535
bluray.c:3167: PSR change: psr0 = 1
bluray.c:3167: PSR change: psr1 = 255
bluray.c:3167: PSR change: psr2 = 268374015
bluray.c:3167: PSR change: psr14 = 65535
bluray.c:1604: BLURAY destroyed!

Looks like bdplus is not initialized?