MM, Mythtv Trunk & MM_THEME* variables

Help with using MiniMyth's build system

Moderator: Pablo

Post Reply
pleeke
Contributor
Posts: 203
Joined: Thu Jun 30, 2005 10:25 pm

MM, Mythtv Trunk & MM_THEME* variables

Post by pleeke » Mon Sep 20, 2010 5:13 pm

Pablo,

I've just upgraded Mythtv to trunk and have successfully built rev 7151 of MM with rev 26410 of Mythtv.

It seems that in trunk that the OSD themes are now merged into the main theme, so having MM require a MM_THEMEOSD_NAME (as well as the MM_THEME_NAME) value no longer seems relevant. I have put the same theme name into MM_THEME_NAME & MM_THEMEOSD_NAME and the theme sfs file gets fetched twice (as expected, but unnecessary). Could MM be modified (for trunk builds) to not require the MM_THEMEOSD_NAME parameter (i.e. perhaps accept a 'none' value), so the theme sfs file is only fetched once?

Thanks
Peter

Pablo
Site Admin
Posts: 4182
Joined: Tue Dec 14, 2004 2:13 am
Location: La Jolla
Contact:

Re: MM, Mythtv Trunk & MM_THEME* variables

Post by Pablo » Wed Sep 22, 2010 3:50 pm

I have committed a change to SVN (7165) that is designed to fix this.
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.

pleeke
Contributor
Posts: 203
Joined: Thu Jun 30, 2005 10:25 pm

Re: MM, Mythtv Trunk & MM_THEME* variables

Post by pleeke » Sun Sep 26, 2010 8:57 am

Pablo,

I have updated to rev 7195 and when I remove MM_THEMEOSD_NAME variable from minimyth.conf, MM fails to boot up. When I re-add that variable I see the logs suggesting MM is fetching the theme twice (once for the theme and again for the OSD);

Code: Select all

Sep 26 08:48:21 (none) local0.info minimyth: configuring MythTV ...
Sep 26 08:48:21 (none) local0.info minimyth: fetching 'hunt:themes/Graphite.sfs': local file will be '/initrd/rw/loopfs/~usr~share~mythtv~themes~Graphite/image.sfs'.
Sep 26 08:48:21 (none) local0.info minimyth: expanding 'dist:themes/Graphite.sfs': guessed 'http://192.168.0.5/minimyth/gpxe.cfg/minimyth-trunk.26480-73.r7195.x86-64.pl/themes/Graphite.sfs' because distribution location is unknown.
Sep 26 08:48:21 (none) local0.info minimyth: fetching 'hunt:themes/Graphite.sfs': URL 'http://192.168.0.5/minimyth/gpxe.cfg/minimyth-trunk.26480-73.r7195.x86-64.pl/themes/Graphite.sfs' not fetched (it may not exist).
Sep 26 08:48:21 (none) local0.info minimyth: fetching 'hunt:themes/Graphite.sfs': URL 'http://192.168.0.5/minimyth/gpxe.cfg/conf/intel.home/themes/Graphite.sfs' fetched.
Sep 26 08:48:22 (none) local0.info minimyth: fetching 'hunt:themes/Graphite.sfs': local file will be '/initrd/rw/loopfs/~usr~share~mythtv~themes~Graphite/image.sfs'.
Sep 26 08:48:22 (none) local0.info minimyth: expanding 'dist:themes/Graphite.sfs': guessed 'http://192.168.0.5/minimyth/gpxe.cfg/minimyth-trunk.26480-73.r7195.x86-64.pl/themes/Graphite.sfs' because distribution location is unknown.
Sep 26 08:48:22 (none) local0.info minimyth: fetching 'hunt:themes/Graphite.sfs': URL 'http://192.168.0.5/minimyth/gpxe.cfg/minimyth-trunk.26480-73.r7195.x86-64.pl/themes/Graphite.sfs' not fetched (it may not exist).
Sep 26 08:48:22 (none) local0.info minimyth: fetching 'hunt:themes/Graphite.sfs': URL 'http://192.168.0.5/minimyth/gpxe.cfg/conf/intel.home/themes/Graphite.sfs' fetched.
Sep 26 08:48:22 (none) local0.info minimyth: updating fonts ...
When I remove the MM_THEMEOSD_NAME variable, this is the error I see in the logs;

Code: Select all

Sep 26 08:57:07 (none) local0.err minimyth: MM_THEMEOSD_NAME='' is not valid.

Thanks
Peter

Pablo
Site Admin
Posts: 4182
Joined: Tue Dec 14, 2004 2:13 am
Location: La Jolla
Contact:

Re: MM, Mythtv Trunk & MM_THEME* variables

Post by Pablo » Mon Sep 27, 2010 2:17 am

I changed the init scripts so that it treats 0.23 as trunk for this issue (at least I hope I did). Doing so, I found that my changes did not work for me.

The commit 7207 fixed it for me. Could you give it a try and let me know?
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.

pleeke
Contributor
Posts: 203
Joined: Thu Jun 30, 2005 10:25 pm

Re: MM, Mythtv Trunk & MM_THEME* variables

Post by pleeke » Thu Sep 30, 2010 4:20 pm

Hi,

I've just built version7218 and I still need to set MM_THEMEOSD_NAME to some valid value otherwise MM fails to boot. Just means that MM has to download the theme twice (and as some of the themes are ~8meg thats not inconsiderable).


Thanks
Peter

Pablo
Site Admin
Posts: 4182
Joined: Tue Dec 14, 2004 2:13 am
Location: La Jolla
Contact:

Re: MM, Mythtv Trunk & MM_THEME* variables

Post by Pablo » Fri Oct 01, 2010 1:54 pm

Ok, I think I found the problem. MythTV trunk is still reporting itself to be 0.23 rather than 0.24. As a result, MiniMyth follows the 0.23 behavior during init. With commit 7235, I have patched MythTV trunk so that it reports itself as 0.24. Could you give it a try?
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.

pleeke
Contributor
Posts: 203
Joined: Thu Jun 30, 2005 10:25 pm

Re: MM, Mythtv Trunk & MM_THEME* variables

Post by pleeke » Wed Oct 06, 2010 11:25 am

Pablo,

Just had a chance to test this and it seems to work fine (I now have to remove the MM_THEMEOSD_NAME value from my minimyth.conf file and when doing so it only downloads the theme file once).

Many thanks
Peter

Pablo
Site Admin
Posts: 4182
Joined: Tue Dec 14, 2004 2:13 am
Location: La Jolla
Contact:

Re: MM, Mythtv Trunk & MM_THEME* variables

Post by Pablo » Thu Oct 07, 2010 1:49 am

Thank you for testing it.
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.

Post Reply