summaryrefslogtreecommitdiff
path: root/libre/kodi/libre.patch
blob: 693162e20b4019d9a4fe7244d9e4113b2b0124c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
diff -Nur xbmc-16.0-Jarvis.orig/addons/repository.xbmc.org/addon.xml xbmc-16.0-Jarvis/addons/repository.xbmc.org/addon.xml
--- xbmc-16.0-Jarvis.orig/addons/repository.xbmc.org/addon.xml	2016-02-20 12:21:19.000000000 -0300
+++ xbmc-16.0-Jarvis/addons/repository.xbmc.org/addon.xml	2016-02-24 13:21:20.431114069 -0300
@@ -9,9 +9,9 @@
 	<extension point="xbmc.addon.repository"
 		name="Official XBMC.org Add-on Repository">
 		<dir minversion="15.9.0">
-			<info>http://mirrors.kodi.tv/addons/jarvis/addons.xml.gz</info>
-			<checksum>http://mirrors.kodi.tv/addons/jarvis/addons.xml.gz.md5</checksum>
-			<datadir zip="true">http://mirrors.kodi.tv/addons/jarvis</datadir>
+			<info>http://repo.parabola.nu/other/kodi-libre/addons/jarvis/addons.xml.gz</info>
+			<checksum>http://repo.parabola.nu/other/kodi-libre/addons/jarvis/addons.xml.gz.md5</checksum>
+			<datadir zip="true">http://repo.parabola.nu/other/kodi-libre/addons/jarvis</datadir>
 			<hashes>true</hashes>
 		</dir>
 	</extension>
diff -Nur xbmc-16.0-Jarvis.orig/xbmc/interfaces/builtins/ApplicationBuiltins.cpp xbmc-16.0-Jarvis/xbmc/interfaces/builtins/ApplicationBuiltins.cpp
--- xbmc-16.0-Jarvis.orig/xbmc/interfaces/builtins/ApplicationBuiltins.cpp	2016-02-20 12:21:19.000000000 -0300
+++ xbmc-16.0-Jarvis/xbmc/interfaces/builtins/ApplicationBuiltins.cpp	2016-02-24 14:51:55.133088253 -0300
@@ -21,7 +21,6 @@
 #include "ApplicationBuiltins.h"
 
 #include "Application.h"
-#include "filesystem/RarManager.h"
 #include "filesystem/ZipManager.h"
 #include "messaging/ApplicationMessenger.h"
 #include "interfaces/AnnouncementManager.h"
@@ -46,7 +45,7 @@
  */
 static int Extract(const std::vector<std::string>& params)
 {
-    // Detects if file is zip or rar then extracts
+    // Detects if file is zip then extracts
     std::string strDestDirect;
     if (params.size() < 2)
       strDestDirect = URIUtils::GetDirectory(params[0]);
@@ -57,10 +56,6 @@
 
     if (URIUtils::IsZIP(params[0]))
       g_ZipManager.ExtractArchive(params[0],strDestDirect);
-#ifdef HAS_FILESYSTEM_RAR
-    else if (URIUtils::IsRAR(params[0]))
-      g_RarManager.ExtractArchive(params[0],strDestDirect);
-#endif
     else
       CLog::Log(LOGERROR, "Extract, No archive given");