First time a new DVD is played, takes ages to load keys

Hi,
an issue I have with both LibreElec and CoreElec (but I use CoreElec now) is that since Kodi 19 it takes ages to start a DVD which hasn’t been played before. I only have rips to ISO. The logs shows messages like this:

2019-11-01 15:38:25.364 T:3959665520 DEBUG: msg: libdvdread: Attempting to retrieve all CSS keys
2019-11-01 15:38:25.364 T:3959665520 DEBUG: msg: libdvdread: This can take a long time, please be patient
2019-11-01 15:38:25.364 T:3959665520 INFO: msg: libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x0000015e
2019-11-01 15:38:25.429 T:4087463952 DEBUG: ------ Window Init (DialogBusy.xml) ------
2019-11-01 15:38:26.916 T:3959665520 INFO: msg: libdvdread: Elapsed time 1
2019-11-01 15:38:26.916 T:3959665520 INFO: msg: libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00005a7b
2019-11-01 15:38:28.505 T:3959665520 INFO: msg: libdvdread: Elapsed time 2
2019-11-01 15:38:28.505 T:3959665520 INFO: msg: libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x0000bc55
2019-11-01 15:38:28.588 T:3959665520 INFO: msg: libdvdread: Elapsed time 0
2019-11-01 15:38:28.588 T:3959665520 INFO: msg: libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x0000bc81
2019-11-01 15:38:28.625 T:3959665520 INFO: msg: libdvdread: Elapsed time 0
2019-11-01 15:38:28.625 T:3959665520 INFO: msg: libdvdread: Get key for /VIDEO_TS/VTS_03_0.VOB at 0x0000bccd
2019-11-01 15:38:30.200 T:3959665520 INFO: msg: libdvdread: Elapsed time 2
2019-11-01 15:38:30.200 T:3959665520 INFO: msg: libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x0000bcf9
2019-11-01 15:38:31.934 T:3959665520 INFO: msg: libdvdread: Elapsed time 1
2019-11-01 15:38:31.934 T:3959665520 INFO: msg: libdvdread: Get key for /VIDEO_TS/VTS_04_0.VOB at 0x00057536
2019-11-01 15:38:33.633 T:3959665520 INFO: msg: libdvdread: Elapsed time 2
2019-11-01 15:38:33.633 T:3959665520 INFO: msg: libdvdread: Get key for /VIDEO_TS/VTS_04_1.VOB at 0x0005755b
2019-11-01 15:38:35.293 T:3959665520 INFO: msg: libdvdread: Elapsed time 2
2019-11-01 15:38:35.293 T:3959665520 INFO: msg: libdvdread: Get key for /VIDEO_TS/VTS_05_0.VOB at 0x000a2531
2019-11-01 15:38:36.906 T:3959665520 INFO: msg: libdvdread: Elapsed time 1
2019-11-01 15:38:36.906 T:3959665520 INFO: msg: libdvdread: Get key for /VIDEO_TS/VTS_05_1.VOB at 0x000a255a
2019-11-01 15:38:38.468 T:3959665520 INFO: msg: libdvdread: Elapsed time 2
2019-11-01 15:38:38.469 T:3959665520 INFO: msg: libdvdread: Get key for /VIDEO_TS/VTS_06_0.VOB at 0x000ebdff
2019-11-01 15:38:40.063 T:3959665520 INFO: msg: libdvdread: Elapsed time 2
2019-11-01 15:38:40.063 T:3959665520 INFO: msg: libdvdread: Get key for /VIDEO_TS/VTS_06_1.VOB at 0x000ebe27
2019-11-01 15:38:41.745 T:3959665520 INFO: msg: libdvdread: Elapsed time 1
2019-11-01 15:38:41.745 T:3959665520 INFO: msg: libdvdread: Get key for /VIDEO_TS/VTS_07_0.VOB at 0x00134687
2019-11-01 15:38:43.342 T:3959665520 INFO: msg: libdvdread: Elapsed time 2
2019-11-01 15:38:43.342 T:3959665520 INFO: msg: libdvdread: Get key for /VIDEO_TS/VTS_07_1.VOB at 0x001346ac
2019-11-01 15:38:44.872 T:3959665520 INFO: msg: libdvdread: Elapsed time 1
2019-11-01 15:38:44.872 T:3959665520 INFO: msg: libdvdread: Get key for /VIDEO_TS/VTS_08_0.VOB at 0x0017f420
2019-11-01 15:38:47.257 T:3959665520 INFO: msg: libdvdread: Elapsed time 3
2019-11-01 15:38:47.257 T:3959665520 INFO: msg: libdvdread: Get key for /VIDEO_TS/VTS_08_1.VOB at 0x0017f443
2019-11-01 15:38:48.938 T:3959665520 INFO: msg: libdvdread: Elapsed time 1
2019-11-01 15:38:48.938 T:3959665520 INFO: msg: libdvdread: Get key for /VIDEO_TS/VTS_09_0.VOB at 0x001c8665
2019-11-01 15:38:50.520 T:3959665520 INFO: msg: libdvdread: Elapsed time 2
2019-11-01 15:38:50.520 T:3959665520 INFO: msg: libdvdread: Get key for /VIDEO_TS/VTS_09_1.VOB at 0x001c868b
2019-11-01 15:38:52.064 T:3959665520 INFO: msg: libdvdread: Elapsed time 2
2019-11-01 15:38:52.064 T:3959665520 INFO: msg: libdvdread: Get key for /VIDEO_TS/VTS_10_0.VOB at 0x00210133
2019-11-01 15:38:53.685 T:3959665520 INFO: msg: libdvdread: Elapsed time 1
2019-11-01 15:38:53.685 T:3959665520 INFO: msg: libdvdread: Get key for /VIDEO_TS/VTS_10_1.VOB at 0x00210154
2019-11-01 15:38:55.207 T:3959665520 INFO: msg: libdvdread: Elapsed time 2
2019-11-01 15:38:55.207 T:3959665520 INFO: msg: libdvdread: Found 10 VTS’s
2019-11-01 15:38:55.207 T:3959665520 INFO: msg: libdvdread: Elapsed time 30

As you can see, this particular DVD took 30 seconds to get al keys. Kodi 18 did not have that issue, is started immediately. As said, this only happens the first time I play a new DVD. As soon as the keys or whatever are stored, it’s fine the next time. I run my ISO DVD’s from a NAS, over SMB if that matters.

I assume other people must have this issue too, or am I the last person that still plays DVD’s :smiley: Is there any way to improve that key retrieval speed back to Kodi 18 speeds?

About | FAQ | Terms of Service | Privacy Policy | Legal Notice