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

Igor Cicimov icicimov at gmail.com
Mon May 14 04:16:31 UTC 2012


On Sun, May 13, 2012 at 8:56 PM, Mike Perkins
<mikep at randomtraveller.org.uk>wrote:

> On 12/05/12 20:39, kenkyee at yahoo.com wrote:
>
>> Mike Perkins wrote
>>
>>  This sounds like just the thing udev rules are made for. since you know
>>> your hardware is on /dev/sr0, you ought to be able to write a rule to
>>> make
>>> a known symlink whenever a disk is mounted. Something like the way we do
>>> them for tuners which move about at boot time.
>>>
>>
>> Are you saying that a MythTV install will install its own udev rules to
>> deal
>> w/ tuners?  I didn't realize it did that...
>>
>> I was actually pretty surprised it does this behavior (mounting to
>> different
>> locations), but apparently a few Linux distros do the same thing), so it's
>> something the newer kernels do and default behavior MythTV will have to
>> compensate for at some point.  But if I had some sort of script I could
>> run
>> before MythTV's optical player that launched that could reconfigure the
>> bluray mount point in the config, it'd also work...or if that alternate
>> script function actually worked for me, I'd be happy :-P
>>
>>  I didn't mean to imply that mythtv would do that, sorry if you read it
> that way. What happens with tuners is that hardware can take variable
> amounts of time to initialize depending on circumstances and may get
> assigned random /dev/xxx slots, meaning that if (for example) you have
> tuners of more than one type they may not always come up in the same order.
>
> We've had this problem for a long while now, and information on how to
> handle it is in the wiki. What you (and I mean *you*, the owner of the
> equipment) basically have to do is set udev rules which identify the
> hardware by, say, the manufacturer or model number and use those to create
> dependable symlinks which you can then use in mythtv-setup.
>
> What I was suggesting is that you did the same for your bluray drive - you
> know that it's /dev/sr0, say, but when you mount a disk it mounts to
> /media/<label> (roughly). Every time the disk is mounted, then, your udev
> rule makes a symlink from /dev/sr0 to /media/bluray or whatever you like,
> and then you reference /that/ in mythtv.
>
> --
>
> Mike Perkins
>

Sounds like we should be able to put the hardware device as playback source
and MythTV should be able to follow the symlink and play from the location
where the drive has been mounted.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20120514/28c8bfe7/attachment.html>


More information about the mythtv-users mailing list