[mythtv-users] Re: Long pause when launching mythfrontend

Greg Grotsky spikeygg at gmail.com
Fri Oct 14 02:00:28 EDT 2005


I know, it's been a long time but this problems been killin' me. I dug into
it a little where Paul suggested and I found out that if I comment out the
following lines it loads up very quickly like it should:

(section of code found in mythmusic/main.cpp)

int mythplugin_init(const char *libversion)
{
if (!gContext->TestPopupVersion("mythmusic", libversion,
MYTH_BINARY_VERSION))
return -1;

UpgradeMusicDatabaseSchema();

// MusicGeneralSettings general;
// general.load();
// general.save();
MusicPlayerSettings settings;
settings.load();
settings.save();
MusicRipperSettings ripper;
ripper.load();
ripper.save();

setupKeys();

Decoder::SetLocationFormatUseTags();

return 0;
}

I tried to understand what was going on in the MusicGeneralSettings function
or whatever it is, but I'm totally lost. I'm afraid if I comment something
out in there I'll bust the works. The commenting out of MusicGeneralSettings
makes sense because the pause also happens when I go into the "General
Settings" menu for mythmusic. It seems there's a problem with setting or
loading the General Settings on my system. I've tried changing my audio
device, directory for songs, CD device but without any luck. Any ideas for
further troubleshooting?

Thanks,
-Greg


On 9/6/05, Stutty <stutty at gmail.com> wrote:

> If scanbus completes straight away then it isn't that. It doesn't look
> like there is much logging in mythmusic, so I can only suggest you
> look through the 'mythplugin_init' code - I assume this is the bit
> that runs when the plugin registers? It is in mythmusic/main.cpp and
> see if there is anything that might be tripping up.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20051014/307465ae/attachment-0001.htm


More information about the mythtv-users mailing list