OK. This is even wierder. I have this Old HP PC (Compaq 6000 pro) that I got in exchange for a bottle of wine. It was destined for another project that got scrapped. I set the built in DVD to region 2. The Asus is no region. Now, with openSuse 15.3 and the changes suggested in the OpenSuse forums the Morse box DVDs play on both drives…
Ie, libdvdcss2 and VLC installed.
How can we adapt this to OSMC? If it works on OpenSuse, then it should work on debian? I can surely install debian on this box to test if it helps.
Ie. regionset displayed identically on both DVD drives. I changed the other one to region 2.
OSMC already includes libdvdcss.
You could check GitHub - xbmc/libdvdcss: fork of git://git.videolan.org/libdvdcss.git http://www.videolan.org/developers/libdvdcss.html.
We will use 1.4.3 for Kodi Nexus shortly.
It’s possible there are newer versions which do a better job, but this would need resolving upstream
OK. You mean test with a newer version of libdvdcss?
We only use the version provided by Kodi as it’s packaged by them.
What I mean is you should check if these discs play with Kodi on another device as I suspect it’s a Kodi rather than OSMC issue
OK. I understand. So basicallly install Debian on this spare box, then Kodi, then test?
Is there anything in the way of logs I should grab from this working machine before I wipe?
I would just try and replicate the issue under Kodi
OK. After the holidays. Have a good New Year!
OK. That was convoluted… Not being familiar with Debian. Installed 11.6.0, then tried to install Kodi and always ended up with 19.1, instead of the latest and greatest (19.5) , whatever I did…
Anyway, Kodi would not play. Installed VLC, would not play either:
Error getting next block: Error reading NAV packet.
This is supposedly a libdvdcss issue. So:
sudo dpkg -i libdvd-pkg_1.4.2-1-1_all.deb
Selecting previously unselected package libdvd-pkg.
(Reading database … 144530 files and directories currently installed.)
Preparing to unpack libdvd-pkg_1.4.2-1-1_all.deb …
Unpacking libdvd-pkg (1.4.2-1-1) …
dpkg: dependency problems prevent configuration of libdvd-pkg:
libdvd-pkg depends on build-essential; however:
Package build-essential is not installed.
libdvd-pkg depends on debhelper (>= 9); however:
Package debhelper is not installed.
libdvd-pkg depends on dh-autoreconf; however:
Package dh-autoreconf is not installed.
dpkg: error processing package libdvd-pkg (–install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
apt --fix-broken install
sudo dpkg-reconfigure libdvd-pkg
VLC plays the DVD as does KODI
libdvdcss-dev_1.4.2-1~local_amd64.deb There is apparently an 1.4.3 from Videolan and it explicitly states: " * Just better. Unlike most similar projects,
libdvdcss does not require the region of your drive to be set."
Does this help you help me on OSMC? I think that the reason libdvdcss is not included as standard is for copyright reasons? If so, instructions how to install on OSMC (without breaking things) would be appreciated!
No – this is somthing that needs discussing upstream.
You mean Kodi? Sure. I can ask them, but right now does it work on Kodi, at least on a PC running Debian.
OK. Installed a clean Debian 11.6.0
Installed Kodi 20.0 RC2
DVD Drive connected to the PC via an USB to SATA converter
Test DVD is region 2. DVD player has no region set
Plays just fine.
Only snag is that Kodi (or X) hangs when you stop playback with X and then click “eject” in the GUI.
So, does this mean that it will probably work in OSMC once you upgrade to the latest Kodi?
Edit: Kodi 20.x is Nexus and that will be the base for the next OSMC? If so, I can volunteer to test this bit. I can even volunter to install on a RPi instead of x86 to make it as similar as possible.
No idea – a fair test would be comparing Kodi v19 to Kodi v19…
We’ll find out soon enough…
OK. Kodi 19.1 did not appear to work, at least not without the separate install och libdvdcss, but 20.0 RC2 did. I will flag the eject issue in the Kodi forums.
I also tested 19.5 but it did not work either. I posten on the Kodi forums. Interestingly do they seem to frown at debian…
The ‘eject’ function is going to depend on a lot of factors and not just your Linux distribution but the desktop environment you are using and what handles that (UDisks, UDisks2, etc).
We’ll wait for Kodi v20.1 before doing any official release, but you can expect some test builds on the forum before this.