remote old pre-addons xml import code that wasn't ever going to work
authorJonathan Marshall <jmarshall@never.you.mind>
Sun, 1 May 2011 09:48:41 +0000 (21:48 +1200)
committerJonathan Marshall <jmarshall@never.you.mind>
Sun, 1 May 2011 09:48:41 +0000 (21:48 +1200)
xbmc/video/VideoDatabase.cpp

index 5eb0f84..56220ff 100644 (file)
@@ -7405,13 +7405,7 @@ void CVideoDatabase::ImportFromXML(const CStdString &path)
       { // check the scraper exists, if so store the path
         AddonPtr addon;
         CStdString uuid;
-
-        if (!XMLUtils::GetString(path,"scraperID",uuid))
-        { // support pre addons exports
-          XMLUtils::GetString(path, "scraperpath", uuid);
-          uuid = URIUtils::GetFileName(uuid);
-        }
-
+        XMLUtils::GetString(path,"scraperID",uuid);
         if (CAddonMgr::Get().GetAddon(uuid, addon))
         {
           SScanSettings settings;