[mythtv-theming] Theme Chooser and directory names with dots

Chris Pinkham cpinkham at bc2va.org
Wed Oct 10 14:24:29 UTC 2012


* On Sun Oct 07, 2012 at 03:06:50PM -0400, Joey Morris wrote:
> Does the These Chooser support the dot (period) character in the
> directory name where the theme is stored? On 0.25 it doesn't appear to
> work. I tweaked the Mythbuntu theme and saved my modified version

Do you compile from source?  If so, can you try the following change?

Edit mythtv/libs/libmythui/themeinfo.h and search for
GetDirectoryName().  On that line, change m_theme.baseName() to
m_theme.fileName().

That looks like where we're stripping anything after the first dot.
The Theme Chooser calls ThemeInfo::GetDirectoryName() when saving the
Theme setting to the DB, so I think you'll find that the DB has the
wrong theme name if you run "select * from settings where value = 'Theme';"

--
Chris


More information about the mythtv-theming mailing list