From 5e2be356b959c58169d0ce3e9f9c8e559a27db88 Mon Sep 17 00:00:00 2001 From: Christian Hewitt Date: Mon, 19 Nov 2012 20:34:47 +0400 Subject: [PATCH] mod connection-check patch URL to remove www. www.openelec.tv generates a 301 failure before redirecting to openelec.tv resulting in multiple http requests; this ensures we check the correct URL first-time --- .../patches/xbmc-25bb46a-457-fix_connection_check-0.1.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/mediacenter/xbmc/patches/xbmc-25bb46a-457-fix_connection_check-0.1.patch b/packages/mediacenter/xbmc/patches/xbmc-25bb46a-457-fix_connection_check-0.1.patch index 9488def289..f7c4f4a98f 100644 --- a/packages/mediacenter/xbmc/patches/xbmc-25bb46a-457-fix_connection_check-0.1.patch +++ b/packages/mediacenter/xbmc/patches/xbmc-25bb46a-457-fix_connection_check-0.1.patch @@ -6,10 +6,10 @@ diff -Naur a/xbmc/filesystem/CurlFile.cpp b/xbmc/filesystem/CurlFile.cpp bool CFileCurl::IsInternet(bool checkDNS /* = true */) { - CStdString strURL = "http://www.google.com"; -+ CStdString strURL = "http://www.openelec.tv"; ++ CStdString strURL = "http://openelec.tv"; if (!checkDNS) - strURL = "http://74.125.19.103"; // www.google.com ip -+ strURL = "http://212.101.13.10"; // www.openelec.tv ip ++ strURL = "http://212.101.13.10"; // openelec.tv ip bool found = Exists(strURL); Close();