2009-03-21, 07:24
RSS feeds do not appear to work when logging into custom profiles - I have an RSSfeeds.xml file in each of my 2 custom profile dirs and top level profile dir that does not appear to be read.
Looking at the code this seems to be a consequence of GUIWindowLoginScreen.cpp shutting down network services before loading the selected profile and not starting them back up (other than the event server) -
as the SERVICES_DOWN message seems to shut down the rss manager
Am using Windows XPsp3, XBMC svn#18257. Please advise if there are alternate settings I should be using or if I should post a bug on trac
Looking at the code this seems to be a consequence of GUIWindowLoginScreen.cpp shutting down network services before loading the selected profile and not starting them back up (other than the event server) -
Code:
if (iItem != 0 || g_settings.m_iLastLoadedProfileIndex != 0)
{
g_application.getNetwork().NetworkMessage(CNetwork::SERVICES_DOWN,1);
g_settings.LoadProfile(m_viewControl.GetSelectedItem());
g_application.StartEventServer(); // event server could be needed in some situations
}
as the SERVICES_DOWN message seems to shut down the rss manager
Code:
case SERVICES_DOWN:
{
CLog::Log(LOGDEBUG, "%s - Stopping network services",__FUNCTION__);
#ifdef HAS_TIME_SERVER
g_application.StopTimeServer();
#endif
#ifdef HAS_WEB_SERVER
g_application.StopWebServer();
#endif
#ifdef HAS_FTP_SERVER
g_application.StopFtpServer();
#endif
#ifdef HAS_UPNP
g_application.StopUPnP();
#endif
#ifdef HAS_EVENT_SERVER
g_application.StopEventServer();
#endif
CScrobbler::GetInstance()->Term();
// smb.Deinit(); if any file is open over samba this will break.
g_rssManager.Stop();
}
Am using Windows XPsp3, XBMC svn#18257. Please advise if there are alternate settings I should be using or if I should post a bug on trac