


Kodi_command = 'kodi-send -action=\"PlayDVD\"' Os.system('sudo mount /dev/sr0 /mnt/DVD') The next is a script i’ve called “DVD_Fix” which seems to work more often than not: #!/usr/bin/python So it stops anything currently playing, ejects the disc and reloads the favourites screen (so you can launch the next script when you have swapped the disc). Kodi_command = 'kodi-send -action=\"ActivateWindow(Favourites)\"' Kodi_command = 'kodi-send -action=\"Stop\"' So the first is the “eject” script which is fairly straightforward #!/usr/bin/python I’ve now been watching some DVD’s with Kodi and i’ve written a couple of scripts which seem to (almost) guarantee reliable playback. I haven’t ripped a DVD as I don’t have any did ripping software setup but i’m fairly confident that the drive is ok. So i’ve tested the drive attached to my PC and any DVD I have tried has played reliably. Ok so i’ve had a chance to play around with this some more.
