diff options
author | Jonathan Marshall <jmarshall@never.you.mind> | 2011-05-31 09:21:06 +1200 |
---|---|---|
committer | Jonathan Marshall <jmarshall@never.you.mind> | 2011-05-31 09:21:28 +1200 |
commit | 6e034d878bfbb5ae6db649758b7370a1efb65e56 (patch) | |
tree | 034bd5372b8087062188073b54e47bfca35967fe | |
parent | a5ea97cb1459fdf9cdfb6a19e87290a8779753de (diff) |
scraper id is stored in XML export as <scraperpath>
-rw-r--r-- | xbmc/video/VideoDatabase.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xbmc/video/VideoDatabase.cpp b/xbmc/video/VideoDatabase.cpp index b1e2dd1df9..b05150ffe3 100644 --- a/xbmc/video/VideoDatabase.cpp +++ b/xbmc/video/VideoDatabase.cpp @@ -7441,9 +7441,9 @@ void CVideoDatabase::ImportFromXML(const CStdString &path) if (XMLUtils::GetString(path,"content", content)) { // check the scraper exists, if so store the path AddonPtr addon; - CStdString uuid; - XMLUtils::GetString(path,"scraperID",uuid); - if (CAddonMgr::Get().GetAddon(uuid, addon)) + CStdString id; + XMLUtils::GetString(path,"scraperpath",id); + if (CAddonMgr::Get().GetAddon(id, addon)) { SScanSettings settings; ScraperPtr scraper = boost::dynamic_pointer_cast<CScraper>(addon); |