[Linux] How to associate "Play disc" with the Blu-ray discs? - Printable Version
+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: XBMC General Help and Support (/forumdisplay.php?fid=111)
+---- Forum: Linux and Live support (/forumdisplay.php?fid=52)
+---- Thread: [Linux] How to associate "Play disc" with the Blu-ray discs? (/showthread.php?tid=134828)
How to associate "Play disc" with the Blu-ray discs? - spontex - 2012-06-26 23:04
I am using XBMCBuntu Eden.
I have just seen that I am now able to play the Blu-ray discs (using libbluray and libaacs, so without the makeMKV trick) by selecting the BDMV/index.bdmv file of the disc (or only the BDMV directory when I enable stacking).
I found out that I could add a favorite to this file by forcing the blu-ray drive to use a fixed mount point. To this purpose, I added the following line to my /etc/udev/rules.d/70-persistent-cd.rules file:
(be sure to update your drive id from the first lines of the file).
My Blu-ray discs now always mount as /media/bd-dvd.
So I added a XBMC favorite to: /media/bd-dvd/BDMV/index.bdmv, which works fine (I have tested it with a few discs).
I would now like to know if there is a way to associate the "Play disc" button with this file. It should be possible, as I could see on this OpenElec video.
Perhaps do I have to edit my $HOME/.xbmc/userdata/playercorefactory.xml file? But it is not an external player!
Another option would be to use VLC 2 to play the Blu-rays as I could see that it also works.
Has anyone managed to associate "Play disc" with the index.bdmv files?
RE: How to associate "Play disc" with the Blu-ray discs? - spontex - 2012-06-27 09:40
Update: installing the "Transparency" theme allowed me to add a "Bluray" command to the main menu. This command is a shortcut to the "/media/bd-dvd/BDMV/index.bdmv" favorite. It allows me to play the Blu-ray discs seamlessly :-)
RE: How to associate "Play disc" with the Blu-ray discs? - pumkinut - 2012-06-28 18:19
Nice, thanks for the post. I'm assuming these are ripped disks or isos, i.e. no encryption?
RE: How to associate "Play disc" with the Blu-ray discs? - spontex - 2012-06-28 20:55
Huummm... either I have been very lucky, or it also works with encrypted discs.
I could play the "Tangled" (Disney) and "Spider-Man 3" French blu-ray discs (which I bought). From what I have read, this is the purpose of libaacs.
I will now try a few other Blu-ray discs and tell you if it works.
RE: How to associate "Play disc" with the Blu-ray discs? - spontex - 2012-06-28 21:20
I have tried 8 other commercial Blu-ray discs and I could play them seamlessly :-)
RE: How to associate "Play disc" with the Blu-ray discs? - charlie0440 - 2012-06-28 21:58
when i try and open the index.bdmv file by navigating in xbmc to the dir and clicking the index.bdmv file, I get a message saying file failed to play check the log.
I'm using the alpha 12.04 which should come with libbluray. Can anyone else confirm this is working?
RE: How to associate "Play disc" with the Blu-ray discs? - spontex - 2012-06-28 22:48
Can you please post your logs (xbmc.log + syslog)?
I am using XBMCBuntu Eden which is based on Ubuntu 11.10.
The libbluray and libaacs libraries should be installed and you have to search on the internet how to use libaacs including where to find and install the needed keys...
I am using XBMC+PVR and I have added the Pulse-Eight repositories which provide a newer version of the libbluray1 package, but this is perhaps not needed:
RE: How to associate "Play disc" with the Blu-ray discs? - pumkinut - 2012-06-28 23:05
I'll have to give things a try when I get home. I'm running a pretty stock install of XBMCBuntu.
RE: How to associate "Play disc" with the Blu-ray discs? - spontex - 2012-12-06 00:19
I am now using XBMC Frodo Beta 2 (got using the PPA under XBMCbuntu Eden).
I had thought that the "Play disc" button would now handle both Blu-rays and DVDs, but it still does not seem to be the case.
The trick would only be to check if the index.bdmv or video_ts.ifo files exist and to open them if this is the case. Now I still have to use two different favorites to these files and I have two menu entries.
RE: How to associate "Play disc" with the Blu-ray discs? - teeedubb - 2012-12-11 11:11
Glad I found this thread, Ive been trying to do something very similar, mounting a shared folder of a decrypted bluray to /media/br0 and have it played from the playdisc menu option. From this thread it should be possible with unencrypted bd's, has anyone tried this? Im backing up my copy of dark knight rises now to see if it works. Im doing this on a single machine so the problem could be that having 2 blurays mounted, and xbmc reads the first one (the original encrypted bluray) and fails. Ive looked into whether xbmc can be pointed to use a particular disc drive (in this case /mdeia/br0) and I dont think this is possible, but I'd love to be proven wrong. The OP's comment about using a external player got me thinking - Since it seems like xbmc recognises a bd movie, have xbmc use a external player for bd's. Vlc (and mythtv, but I think vlc would be better suited to this) can be pointed to a folder for a bluray, so if vlc could be setup to play /media/br0 on startup, this could work.
Going to test this now in the hope of saving a bdr