RSS feeds not working after logging in to a custom profile?
#1
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) -

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
Reply
#2
Thanks for the detailed report and the ticket.
Fixed in svn

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. If you don't have the time to read them, please don't take the time to post in this forum!
For troubleshooting and bug reporting please make sure you read this first.
Reply
#3
thanks Maestro, noted that the same code is Util.cpp, not sure if this ever gets called, will you fix this with a services_up msg too?

Code:
{
    for (unsigned int i=0;i<g_settings.m_vecProfiles.size();++i )
    {
      if (g_settings.m_vecProfiles[i].getName().Equals(strParameterCaseIntact))
      {
        g_application.getNetwork().NetworkMessage(CNetwork::SERVICES_DOWN,1);
        g_settings.LoadProfile(i);
        g_application.StartEventServer(); // event server could be needed in some situations
      }
    }
  }
Reply
#4
xenu Wrote:thanks Maestro, noted that the same code is Util.cpp, not sure if this ever gets called, will you fix this with a services_up msg too?

Thanks! fixed in svn.

cheers,
DD

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. If you don't have the time to read them, please don't take the time to post in this forum!
For troubleshooting and bug reporting please make sure you read this first.
Reply

Logout Mark Read Team Forum Stats Members Help
RSS feeds not working after logging in to a custom profile?0