[mythtv] [mythtv-commits] Ticket #6509: Closed Captions Don't Work on Frontend Machine

Michael T. Dean mtdean at thirdcontact.com
Wed Apr 29 21:25:16 UTC 2009


On 04/29/2009 02:09 PM, Jack Deslippe wrote:
> Michael T. Dean wrote:
>   
>> On 04/29/2009 01:27 PM, Michael T. Dean wrote:
>>     
>>>  On 04/29/2009 01:04 PM, MythTV wrote:
>>>       
>>>> #6509: Closed Captions Don't Work on Frontend Machine
>>>>
>>>> Hi. I have mythbox with a backend/frontend setup to use VBI closed
>>>> captions and it works great both on live tv and recordings when I
>>>> am watching on this machine.
>>>>
>>>> However, I have laptops that I have just frontends on and the
>>>> closed captions don't work. I can turn them on in the menu when
>>>> playing a video but nothing shows up.  I have fiddled with every
>>>> setting in the OSD settings, but nothing works.
>>>>         
>>>  What happens when you execute the following command and try again:
>>>
>>>  echo "DELETE FROM settings "\
>>>  "WHERE value = 'VbiFormat' "\
>>>  "AND hostname != NULL;" | mysql -umythtv -p mythconverg
>>>  mythbackend --clearcache
>>>       
>> Sorry, that command should be:
>>
>> echo "DELETE FROM settings "\
>> "WHERE value = 'VbiFormat' "\
>> "AND hostname IS NOT NULL;" | mysql -umythtv -p mythconverg
>> mythbackend --clearcache
>>     
>>>  If that doesn't work, run mythtv-setup on one of your systems and
>>>  (re)set the "VBI Format" appropriately, then try again.  If that
>>>  doesn't work, try shutting down your system (all frontend/backend
>>>  programs):
>>>
>>>  echo "DELETE FROM settings "\
>>>  "WHERE value = 'VbiFormat';" | mysql -umythtv -p mythconverg
>>>
>>>  then run mythtv-setup and set the appropriate value for "VBI Format",
>>>  then restart your system (all backends/frontends) and try again.
>>>
>>>  "VBI Format" is in General settings under "Locale Settings" (page 2?
>>>  or so).
> I will try that when I get home.  Just to make sure I understand you
> correctly:  You are saying that I should run those commands on the
> backend right?  I guess that is the only machine with a mysql server
> anyway. 
>
> Would you mind taking a minute to explain what that command does?  Does
> it change the frontends' behavior to looks for the VBI captions on the backend
> instead of their own machine or something?
>
> What I find confusing is why the captions show up fine when playing on
> the dual backend/frontend machine but don't show on the standalone frontend
> machines.  The option for VBI CC is in the menu, but turning on causes nothing to happen.

VBI Format is a global setting, meaning it should /not/ specify a 
hostname (hostname should be NULL).  However, I've seen various users 
with VBI Format specified and associated with different hosts (which is 
an unsupported/wrong configuration), which can cause the issue you're 
seeing (with no indication of the problem anywhere in the GUI unless you 
run mythtv-setup on every host).

The first SQL deletes all the wrong settings (those with hostnames).  
The second deletes the setting entirely, so it will be re-created 
(properly) when you restart mythtv-setup (or mythbackend).  However, if 
you do that, you /definitely/ need to run mythtv-setup on any one system 
to set the VBI Format properly for your region.

Mike



More information about the mythtv-dev mailing list