Skip to content

Commit

Permalink
fixed: yet another url nfo scraping bug since scraper abstraction merge
Browse files Browse the repository at this point in the history
  • Loading branch information
mkortstiege committed Jul 3, 2011
1 parent 1e1ff65 commit efd6f13
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion xbmc/addons/Scraper.cpp
Expand Up @@ -397,7 +397,9 @@ CScraperUrl CScraper::NfoUrl(const CStdString &sNfoContent)

if (doc.RootElement())
{
XMLUtils::GetString(doc.RootElement(), "id", scurlRet.strId);
TiXmlElement* pId = doc.FirstChildElement("id");
if (pId && pId->FirstChild())
scurlRet.strId = pId->FirstChild()->Value();

TiXmlElement* pxeUrl = doc.FirstChildElement("url");
if (pxeUrl)
Expand Down

0 comments on commit efd6f13

Please sign in to comment.