[mythtv-users] How to force frontends to play only from master backend?

Phil Wild philwild at gmail.com
Mon Mar 16 00:41:54 UTC 2009


>
> So, I really need to turn off any kind of playback activity / streaming
> from all the diskless slave backends - but to have them still be running to
> host the tuner cards and record shows.   Help please!
>
> Last, I'd appreciate some guidance about whether the frontends would do
> better to use NFS to playback from the server, or cause the server to stream
> -- and tell me how to direct the frontends to implement that decision.
>
> Thanks much!
>
> Harry
>

I don't remember seeing any setting to do this either.

You could playback from NFS as you stated and perhaps that is the easiest
option. I would try this first. There is a setting in the frontend to do
this but I can not remember where it is and am at work at the moment. I
think it is under the general tab and is something like "always stream
recordings from the backend". This is one of the things suggested that you
turn off though if you have network performance related issues. You need to
make sure your frontend has an NFS mount that matches the path of the
backends so it knows where to find the files.

If you don't get a better answer you could probably hack a fix together on
the backend with mysql. Again I am at work, but I remember seeing a hostname
field in the recordings table and would hazard a guess that this indicates
which backend owns a particular recording - I might be wrong though but
worth a look. You could write a simple mysql command that you run from cron
every five minutes that modifies this field entry or perhaps it could be run
as a post recording command (even better)...

Make sure you backup your database before doing anything of course...

I am a fairly new mythtv user so perhaps I am way off and this is a no-no...

Phil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20090316/4278f3f8/attachment.htm>


More information about the mythtv-users mailing list