Posts: 9
Joined: Apr 2012
Reputation:
0
2012-04-30, 15:25
(This post was last modified: 2012-04-30, 15:25 by Zelos.)
robbanl,
thanks for your help. I have not tried your solution yet, but I will try it this evening.
So far the disk is mounted successfully. And when I mount it via udisks instead of mount, XBMC apparently gets notified and pops up a message indicating that an external hard drive has been mounted. However, the "play media/disc" button never appears.
Posts: 1
Joined: May 2012
Reputation:
0
Same problem here guys; xbmcbuntu and no DVD "play disc" option unless XBMC reboots.
Note that quitting XBMC and then immediately logging back in again seems to make the drive work temporarily. There appears to be an issue with the variable "system.hasmediadvd" and the command xbmc.playdvd(); modifying the skin XML file to make "PLAY DISC" always appear in mainmenu (by deleting the constraint that system.hasmediadvd must be true for it to appear) and then logging out and back in again while a DVD is in the drive seems to fix this until the next reboot. Therefore it seems there are two problems: the system.hasmediadvd doesn't say true after you switch from the DVD that was present at XBMC startup, and also the xbmc.playdvd() function only works after the computer has been to the UBUNTU login screen with a DVD loaded. it seems whatever process "mounts" and "unmounts" (not sure precisely what these words mean) these optical disks is NOT starting when we direct-boot into XBMC, but does turn on when we get to the login screen, and appears to continue to work from then onwards upon logging back into XBMC. I'm new here, and I might be way off, but that's my impression from a couple hours of experimentation.
Please help! Can somebody open a bug tracker or something? I don't know how and this seems like a pretty big deal. Love the software otherwise though!
Posts: 2
Joined: May 2011
Reputation:
0
I found an issue with autfs/automount on XBMCbuntu. In my /etc/auto.master the last line was '+auto.master' wich caused errors when starting automount.
I'm not sure if XBMC actually needs autofs, but after I commented that line and rebooted XBMC did see the audio cd I inserted. Could be luck or something else though...
Posts: 9
Joined: Apr 2012
Reputation:
0
Hello,
in the meantime, I migrated the OS from Ubuntu to Archlinux because of several issues Ubuntu had.
I also found a simple solution: After the iscsi setup, including giving the xbmc user direct access to the block device, all I had to do was to create a symlink in one of the media directories to the block device containing .iso at the end of the name (e.g. dvd.iso).
This way, XBMC thinks it is a DVD-ISO Image, which can of course be accessed in the same way as the real DVD.
I use my mac mini as router, it has an optical drive I usually don't use and it stands in another room (so I don't hear the noise from DVD playback), whereas the Media PC running XBMC does not have an optical drive, hence this solution.
Posts: 61
Joined: Oct 2010
Reputation:
0
Zelos
Could you give a step by step of your fix? I am trying to get something like this to work with my ATV and having a really hard time.
Thanks
Posts: 443
Joined: Dec 2010
Reputation:
13
I'm vey interested on view my dvd/cd data, but it's impossible....XBMC don't read this (mounted correctly in LXDE, but not in XBMC...).
Anyone? Any dev? Thanks!