DVD Playback not working

Hi,

I encountered a DVD plack back issue with some commercial DVDs. I can rule out hardware issues as the DVDs can be blacked using the same DVD device on my Ubuntu laptop.

I dmesg, I see the IO error normal to copy protected DVDs. Before I updated OSMC, I saw the “Add. Sense: Read of scrambled sector without authentication” error message. After updating to KODI 16 beta, it turned to the following error. But I think this is essentially the same:

dmesg:
[51173.396220] sr 0:0:0:0: [sr0] UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08
[51173.396252] sr 0:0:0:0: [sr0] Sense Key : 0x5 [current]
[51173.396267] sr 0:0:0:0: [sr0] ASC=0x6f ASCQ=0x3
[51173.396287] sr 0:0:0:0: [sr0] CDB: opcode=0x28 28 00 00 00 04 00 00 00 02 00 00 00
[51173.396305] blk_update_request: I/O error, dev sr0, sector 4096
[51173.396321] Buffer I/O error on dev sr0, logical block 512, async page read

KODI produces the following output:

11:54:06 51396.773438 T:1867576304 INFO: Detecting DVD-ROM media filesystem…
11:54:06 51396.800781 T:1867576304 INFO: CD Analysis Report
11:54:06 51396.800781 T:1867576304 INFO: __________________________________
11:54:06 51397.023438 T:1867576304 INFO: CD-ROM with ISO 9660 filesystem
11:54:06 51397.023438 T:1867576304 INFO: ISO 9660: 1151849 blocks, label
11:54:06 51397.023438 T:1867576304 INFO: Tracks overall:1; Audio tracks:0; Data tracks:1
11:54:06 51397.125000 T:1867576304 INFO: Using protocol iso9660://
11:54:06 51397.125000 T:1867576304 INFO: Disc label:

Also the “Play Disc” button comes up. But Kodi is not able to start the playback. As said, I’m able to watch the disk using vlc on my laptop. Any hint is welcome!

Best regards,
Flattermann

Hello,
I stumbled across this problem recently, too, on Raspberry Pi 2. I’m quite sure the same discs worked sometime ago (before the December update?).
Root cause seems to be udev etc. medium detection. The problematic DVDs will not get automounted by the udisks system. The default command from /etc/udisks-glue.conf is executed because no filesystem is detected.

After inserting a problematic disc, “udevadm test-builtin blkid /sys/class/block/sr0” yields no contents after “probe /dev/sr0 raid offset=0”. Kernel log:

Jan 03 18:29:05 osmc kernel: sr 3:0:0:0: [sr0] UNKNOWN(0x2003) Result: hostbyte= Jan 03 18:29:05 osmc kernel: sr 3:0:0:0: [sr0] Sense Key : 0x5 [current] Jan 03 18:29:05 osmc kernel: sr 3:0:0:0: [sr0] ASC=0x6f ASCQ=0x3 Jan 03 18:29:05 osmc kernel: sr 3:0:0:0: [sr0] CDB: opcode=0x28 28 00 00 00 04 00 00 00 02 00 Jan 03 18:29:05 osmc kernel: blk_update_request: I/O error, dev sr0, sector 4096 Jan 03 18:29:05 osmc kernel: Buffer I/O error on dev sr0, logical block 512, async page read
With a working one, “udevadm test-builtin blkid /sys/class/block/sr0”:
probe /dev/sr0 raid offset=0 ID_FS_PUBLISHER_ID=WARNER_HOME_VIDEO ID_FS_UUID=2003-01-29-18-27-45-00 ID_FS_UUID_ENC=2003-01-29-18-27-45-00 ID_FS_LABEL=SOME_LABEL ID_FS_LABEL_ENC=SOME_LABEL ID_FS_TYPE=udf ID_FS_USAGE=filesystem
and no kernel messages.

BUT: I can manually mount the disc and then watch the DVD within kodi without problems. So, as a workaround I put a script that executes udisks --mount /dev/sr0 together with PlayDVD() on a key.

Lutz

Same here. Using [quote=“lvp, post:2, topic:11464”]
udisks --mount /dev/sr0
[/quote] works fine.

I have the same problem on raspberry pi B+

I have the same problem and putting the command udisks --mount /dev/sr0 just load the dvd normally.

Bizarre i think the kernel is flooded when the dvd is inserted but when the command start the dvd are loaded properly

I have managed to do a script on the confluence skin which automatically loads the DVD and start it.

I have named it DVDplayback.sh
by doing
touch DVDplayback.sh
creating my bash script

#!/bin/bash udisks --mount /dev/sr0 sleep 4 kodi-send --action="XBMC.PlayDVD()" exit

enabling the script
chmod +X DVDplayback.sh
sudo chmod 4755 DVDplayback.sh

And replacing in /usr/share/kodi/addons/skin.confluence/Home.xml

<on click>DVDplayback()<on click>
by <on click> System.Exec(/home/osmc/DVDplayback.sh)<on click>

All my DVD’s start proprelly now.