[mythtv-users] Closed caption black background configuration in 0.27?

faginbagin mythtv at hbuus.com
Tue Sep 2 04:30:48 UTC 2014


On 9/1/2014 11:19 PM, Bob wrote:
> I've recently upgraded to 0.27.3 and have noticed my closed captions have a black background. The wiki mentions there is a way to configure this behavior:
> 
> http://www.mythtv.org/wiki/User_Manual:Detailed_configuration_Frontend#Analog_Closed_Captions
> 
> I can't find these settings. Could they be located in another menu?

That wiki article is out of date. If you look at the top of the page, you'll notice this comment:

"This page is up-to-date to MythTV version 0.23, the current release is 0.27.3"

The new way to configure your closed caption preferences is by editing osd_subtitle.xml. There is a wiki article on the subject:
http://www.mythtv.org/wiki/Osd_subtitle.xml

This file is one of many files that make up a theme. Most themes don't include it, but use the default version inherited from the "default" theme. On mythbuntu distributions, you'll find it here:
/usr/share/mythtv/themes/default/osd_subtitle.xml
One exception is the "Mythbuntu" theme, which uses different fonts than the default version.

If you want to change the display of closed captions, I suggest you first start by copying your preferred theme from its source location to your home directory. If you're using the Mythbuntu theme, the following commands will do this:

mkdir -p $HOME/.mythtv/themes
cp -a /usr/share/mythtv/themes/Mythbuntu $HOME/.mythtv/themes

If you aren't using the Mythbuntu theme. change the second command to:
cp -a /usr/share/mythtv/themes/<name-of-your-theme> $HOME/.mythtv/themes
Then copy the default closed caption file:
cp /usr/share/mythtv/themes/default/osd_subtitle.xml $HOME/.mythtv/themes/<name-of-your-theme>

Now you can change the file:
$HOME/.mythtv/themes/<name-of-your-theme>/osd_subtitle.xml
using your favorite editor.

To test your changes, you can either restart the front end, or send it a USR1 signal telling it to reload the theme, e.g.:
kill -USR1 $(pgrep mythfrontend)

Hope that's enough to get you started,
Helen


More information about the mythtv-users mailing list