Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Change default musicvideo scraper from the broken last.fm to theaudio…

…db.com. In case last.fm was still in use replace it with theaudiodb.com
  • Loading branch information...
commit aea93c367c6e898e1a0a5518dfd64e4d8dcc2372 1 parent 742d171
@MartijnKaijser MartijnKaijser authored davilla committed
Showing with 8 additions and 1 deletion.
  1. +8 −1 xbmc/settings/GUISettings.cpp
View
9 xbmc/settings/GUISettings.cpp
@@ -815,7 +815,7 @@ void CGUISettings::Initialize()
AddDefaultAddon(NULL, "scrapers.moviesdefault", 21413, "metadata.themoviedb.org", ADDON_SCRAPER_MOVIES);
AddDefaultAddon(NULL, "scrapers.tvshowsdefault", 21414, "metadata.tvdb.com", ADDON_SCRAPER_TVSHOWS);
- AddDefaultAddon(NULL, "scrapers.musicvideosdefault", 21415, "metadata.musicvideos.last.fm", ADDON_SCRAPER_MUSICVIDEOS);
+ AddDefaultAddon(NULL, "scrapers.musicvideosdefault", 21415, "metadata.musicvideos.theaudiodb.com", ADDON_SCRAPER_MUSICVIDEOS);
// service settings
AddGroup(SETTINGS_SERVICE, 14036);
@@ -1461,6 +1461,13 @@ void CGUISettings::LoadXML(TiXmlElement *pRootElement, bool hideSettings /* = fa
updated = true;
}
+ // replace broken last.fm musicvideo scraper with theaudiodb.com if it's still in use
+ if (GetString("scrapers.musicvideosdefault") == "metadata.musicvideos.last.fm")
+ {
+ SetString("scrapers.musicvideosdefault", "metadata.musicvideos.theaudiodb.com");
+ updated = true;
+ }
+
if (updated)
g_settings.Save();
}
Please sign in to comment.
Something went wrong with that request. Please try again.