Kodi Community Forum

Full Version: DVD Automount
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I finally got auto mounting working by removing the udisks2 package and installing udisks instead this works pretty well for usb storage. However dvds don't work as expected - when I insert a disc I get a browse menu instead of kodi starting playback autgomatically; the option for automatic playback is enabled in kodi.

Additionally the eject option in the "Play Disc" menu doesn't actually physically eject the disc, it just unmounts it.

Can anyone help?
Bump
Kodi version?
OS?
Kodi log?
Ok for clarification I'm running Fedora 24 with Kodi 16.1.

The relevant section of the debug log is this:
Code:
13:48:53 T:140144905144832  NOTICE: Log level changed to "LOG_LEVEL_DEBUG_FREEMEM"
13:48:53 T:140144905144832  NOTICE: Enabled debug logging due to GUI setting. Level 2.
13:48:53 T:140144905144832   DEBUG: ------ Window Init () ------
13:48:57 T:140142501164800   DEBUG: Thread JobWorker 140142501164800 terminating (autodelete)
13:48:57 T:140143423903488   DEBUG: Thread JobWorker 140143423903488 terminating (autodelete)
13:48:57 T:140143298078464   DEBUG: Thread JobWorker 140143298078464 terminating (autodelete)
13:49:06 T:140144905144832   DEBUG: ------ Window Init (DialogKaiToast.xml) ------
13:49:11 T:140144905144832   DEBUG: ------ Window Deinit (DialogKaiToast.xml) ------
13:49:20 T:140144904775424    INFO: Detecting DVD-ROM media filesystem...
13:49:20 T:140144904775424    INFO: CD Analysis Report
13:49:20 T:140144904775424    INFO: __________________________________
13:49:20 T:140144904775424    INFO: CD-ROM with ISO 9660 filesystem
13:49:20 T:140144904775424    INFO: ISO 9660: 1151849 blocks, label
13:49:20 T:140144904775424    INFO: Tracks overall:1; Audio tracks:0; Data tracks:1
13:49:20 T:140144904775424    INFO: Using protocol iso9660://
13:49:20 T:140144904775424    INFO: Disc label:
13:49:22 T:140144905144832   DEBUG: UDisks: Mounting /org/freedesktop/UDisks/devices/sr0
13:49:23 T:140144905144832   DEBUG: UDisks: Successfully mounted /org/freedesktop/UDisks/devices/sr0 on /media/SUPER_DUPER_ALICE_COOPER
13:49:23 T:140143298078464   DEBUG: Thread JobWorker start, auto delete: true
13:49:23 T:140144905144832   DEBUG: ------ Window Init (DialogSelect.xml) ------
[root@hell01-serv01 temp]#
try creating a symlink from /dev/sr0 to /dev/cdrom and/or /dev/dvd
There was already a symlink from /dev/sr0 to /dev/cdrom - I've just created one for /dev/dvd but it's still not working.

Worth mentioning that I've tried a variety of dvd's and none of them work, however audio cd's seem to be working correctly.
provide a full Debug Log.
I'm suspecting that you are running a fedora patched kodi version that lacks dvdcss support.
In that case DRM free discs should work.
Here is the full log - there were some references to a private url which I have replaced with domain.com (if you were wondering).

http://pastebin.com/RMbtRU24

As for libdvdcss support - I wasn't aware that any of it was included in the base Kodi; I thought it was just a dependency. You are correct in assuming that I'm running a Kodi package that doesn't pull it down by default - but I built libdvdcss from git and encrypted dvds do play if I browse the disc via Kodi; they just don't play automatically.

As I mentioned in my first post Kodi seems to be treating dvds as removable storage instead of optical media.
Your disc is iso9660, real DVDs are UDF.
I've tried about 10 different consumer dvds and none of them are autoplaying additionally the dvd sampled in the log is actually udf. Looking at dmesg confirms this:

Code:
[  +1.194618] UDF-fs: INFO Mounting volume 'SKYFALL', timestamp 2012/12/22 02:42 (1000)
My recollection is that DVDs should NOT be mounted before playing.
Kodi is doing the mounting via udisks though i.e. issuing the commands to do so.
Try udevil.
(2016-08-01, 10:11)teeedubb Wrote: [ -> ]Try udevil.

Tried without udisks and gave udevil/devmon a go, unfortunately the same thing is still happening.
Bump
Pages: 1 2