[mythtv-users] 0.25 not autodiscoving mount point for bluray discs

kenkyee at yahoo.com kenkyee at yahoo.com
Sat May 12 14:37:02 UTC 2012


So I finally got around to fiddling w/ 0.25 to see if I could get it to work w/ bluray discs (works fine w/ DVD after I set it to use the /media/dvd mount point).
The main problem is Ubuntu (12.04 but I think it's universal to the latest Linux kernels) mounts blurays into /media/<volumelabel> where <volumelabel> is the label of the disc.  E.g., a BBC Earch disc shows up in /media/LIFE_D3 (another disc would show up in /media/LIFE_D2, etc.).

I set up the AACS keys and KEYDB.cfg and library already, and tested w/ mythavtest and VLC successfully.  If I change the mount point in MythTV (under media_settings/player_settings) for blurays to use the correct path (/media/LIFE_D3 instead of the /media/cdrom it defaulted to), it also plays fine.  I can't figure out how to get this to do it automatically for me and looking at the code for the unified optical playback menu from the git commit for it (https://github.com/MythTV/mythtv/commit/7ebbc59dafa3b2b822dff215698876b0df9b6242), it doesn't look like it autodiscovers the mount point.

So, I wrote up a simple script that does a cat /proc/mounts, greps for the /dev/sr0 line and grabs the 2nd column (which is where it lists /media/LIFE_D3) and fires up mythavtest w/ the appropriate argument...I tested this script out on the command line.  Then I put it in the alternative player checkbox in the mythtv media_settings/player_settings and it doesn't seem to use it :-P

Has anyone gotten this to work?  It doesn't look like mythtv finds the right mount point, so if I could get this external script to fire off, I'd be happy...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20120512/e5e5a2e0/attachment.html>


More information about the mythtv-users mailing list