mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 22:26:42 +00:00
xbmc: update to xbmc-a3c804b, syncing patches
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
28ec0bb02a
commit
63c6199725
@ -19,7 +19,7 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
PKG_NAME="xbmc-theme-Confluence"
|
PKG_NAME="xbmc-theme-Confluence"
|
||||||
PKG_VERSION="32d0382"
|
PKG_VERSION="a3c804b"
|
||||||
PKG_REV="1"
|
PKG_REV="1"
|
||||||
PKG_ARCH="any"
|
PKG_ARCH="any"
|
||||||
PKG_LICENSE="GPL"
|
PKG_LICENSE="GPL"
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
PKG_NAME="xbmc"
|
PKG_NAME="xbmc"
|
||||||
PKG_VERSION="32d0382"
|
PKG_VERSION="a3c804b"
|
||||||
PKG_REV="1"
|
PKG_REV="1"
|
||||||
PKG_ARCH="any"
|
PKG_ARCH="any"
|
||||||
PKG_LICENSE="GPL"
|
PKG_LICENSE="GPL"
|
||||||
|
@ -1,16 +0,0 @@
|
|||||||
diff -Naur xbmc-10.1-Dharma/xbmc/lib/libPython/XBPython.cpp xbmc-10.1-Dharma.patch/xbmc/lib/libPython/XBPython.cpp
|
|
||||||
--- xbmc-10.1-Dharma/xbmc/lib/libPython/XBPython.cpp 2011-03-08 02:49:15.000000000 +0100
|
|
||||||
+++ xbmc-10.1-Dharma.patch/xbmc/lib/libPython/XBPython.cpp 2011-08-16 04:04:59.808482717 +0200
|
|
||||||
@@ -381,10 +381,8 @@
|
|
||||||
CLog::Log(LOGDEBUG, "Python wrapper library linked with internal Python library");
|
|
||||||
#endif /* _LINUX */
|
|
||||||
#else
|
|
||||||
- /* PYTHONOPTIMIZE is set off intentionally when using external Python.
|
|
||||||
- Reason for this is because we cannot be sure what version of Python
|
|
||||||
- was used to compile the various Python object files (i.e. .pyo,
|
|
||||||
- .pyc, etc.). */
|
|
||||||
+ // Required for python to find optimized code (pyo) files
|
|
||||||
+ setenv("PYTHONOPTIMIZE", "1", 1);
|
|
||||||
setenv("PYTHONCASEOK", "1", 1); //This line should really be removed
|
|
||||||
CLog::Log(LOGDEBUG, "Python wrapper library linked with system Python library");
|
|
||||||
#endif /* USE_EXTERNAL_PYTHON */
|
|
@ -0,0 +1,39 @@
|
|||||||
|
diff -Naur xbmc-pvr-3513480/configure.in xbmc-pvr-3513480.patch/configure.in
|
||||||
|
--- xbmc-pvr-3513480/configure.in 2011-04-25 02:36:33.000000000 +0200
|
||||||
|
+++ xbmc-pvr-3513480.patch/configure.in 2011-04-25 03:05:04.609266887 +0200
|
||||||
|
@@ -380,6 +380,14 @@
|
||||||
|
esac
|
||||||
|
AC_SUBST([ARCH])
|
||||||
|
|
||||||
|
+AC_CHECK_PROG(HAVE_GIT,git,"yes","no",)
|
||||||
|
+if test "$HAVE_GIT" = "yes" -a "$GIT_REV" = ""; then
|
||||||
|
+ GIT_REV=$(git --no-pager log --abbrev=7 -n 1 --pretty=format:"%h %ci" HEAD | awk '{gsub("-", "");print $2"-"$1}')
|
||||||
|
+elif test "$GIT_REV" = ""; then
|
||||||
|
+ GIT_REV="Unknown"
|
||||||
|
+fi
|
||||||
|
+final_message="$final_message\n git Rev.:\t${GIT_REV}"
|
||||||
|
+
|
||||||
|
# platform debug flags
|
||||||
|
if test "$use_debug" = "yes"; then
|
||||||
|
final_message="$final_message\n Debugging:\tYes"
|
||||||
|
@@ -1090,7 +1098,6 @@
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
-AC_CHECK_PROG(HAVE_GIT,git,"yes","no",)
|
||||||
|
|
||||||
|
# Checks for header files.
|
||||||
|
AC_HEADER_DIRENT
|
||||||
|
@@ -1279,12 +1286,6 @@
|
||||||
|
final_message="$final_message\n Avahi:\tNo"
|
||||||
|
fi
|
||||||
|
|
||||||
|
-if test "$HAVE_GIT" = "yes"; then
|
||||||
|
- GIT_REV=$(git --no-pager log --abbrev=7 -n 1 --pretty=format:"%h %ci" HEAD | awk '{gsub("-", "");print $2"-"$1}')
|
||||||
|
-fi
|
||||||
|
-if test "$GIT_REV" = ""; then
|
||||||
|
- GIT_REV="Unknown"
|
||||||
|
-fi
|
||||||
|
if test "$host_vendor" = "apple"; then
|
||||||
|
echo "#define GIT_REV \"$GIT_REV\"" > git_revision.h
|
||||||
|
else
|
@ -0,0 +1,13 @@
|
|||||||
|
diff -Naur xbmc-eedceeb/xbmc/settings/GUISettings.cpp xbmc-eedceeb.patch/xbmc/settings/GUISettings.cpp
|
||||||
|
--- xbmc-eedceeb/xbmc/settings/GUISettings.cpp 2011-06-18 21:30:30.000000000 +0200
|
||||||
|
+++ xbmc-eedceeb.patch/xbmc/settings/GUISettings.cpp 2011-06-18 22:02:53.535611620 +0200
|
||||||
|
@@ -422,7 +422,8 @@
|
||||||
|
AddString(vs, "videoscreen.testpattern",226,"", BUTTON_CONTROL_STANDARD);
|
||||||
|
#endif
|
||||||
|
#if defined(_LINUX) && !defined(__APPLE__)
|
||||||
|
- AddBool(NULL, "videoscreen.haslcd", 4501, false);
|
||||||
|
+ AddSeparator(vs, "videoscreen.sep2");
|
||||||
|
+ AddBool(vs, "videoscreen.haslcd", 4501, false);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
CSettingsCategory* ao = AddCategory(4, "audiooutput", 772);
|
@ -0,0 +1,34 @@
|
|||||||
|
From 0c2185d62f858f7b41461b4141e731dc7ec01ca6 Mon Sep 17 00:00:00 2001
|
||||||
|
From: FernetMenta <fernetmenta@online.de>
|
||||||
|
Date: Thu, 11 Aug 2011 18:35:18 +0200
|
||||||
|
Subject: [PATCH] LinuxRendererGL: increase buffers to 3
|
||||||
|
|
||||||
|
---
|
||||||
|
xbmc/cores/VideoRenderers/LinuxRendererGL.cpp | 4 ++--
|
||||||
|
1 files changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/xbmc/cores/VideoRenderers/LinuxRendererGL.cpp b/xbmc/cores/VideoRenderers/LinuxRendererGL.cpp
|
||||||
|
index 18c6da4..79a9d90 100644
|
||||||
|
--- a/xbmc/cores/VideoRenderers/LinuxRendererGL.cpp
|
||||||
|
+++ b/xbmc/cores/VideoRenderers/LinuxRendererGL.cpp
|
||||||
|
@@ -223,7 +223,7 @@ bool CLinuxRendererGL::ValidateRenderer()
|
||||||
|
|
||||||
|
void CLinuxRendererGL::ManageTextures()
|
||||||
|
{
|
||||||
|
- m_NumYV12Buffers = 2;
|
||||||
|
+ m_NumYV12Buffers = 3;
|
||||||
|
//m_iYV12RenderBuffer = 0;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
@@ -720,7 +720,7 @@ unsigned int CLinuxRendererGL::PreInit()
|
||||||
|
m_resolution = RES_PAL_4x3;
|
||||||
|
|
||||||
|
m_iYV12RenderBuffer = 0;
|
||||||
|
- m_NumYV12Buffers = 2;
|
||||||
|
+ m_NumYV12Buffers = 3;
|
||||||
|
|
||||||
|
// setup the background colour
|
||||||
|
m_clearColour = (float)(g_advancedSettings.m_videoBlackBarColour & 0xff) / 0xff;
|
||||||
|
--
|
||||||
|
1.7.5.4
|
||||||
|
|
@ -4,13 +4,13 @@ Date: Sat, 13 Aug 2011 16:07:08 +0200
|
|||||||
Subject: [PATCH] ati: limit glxSwapBuffers going to far ahead
|
Subject: [PATCH] ati: limit glxSwapBuffers going to far ahead
|
||||||
|
|
||||||
---
|
---
|
||||||
xbmc/WinSystemX11GL.cpp | 23 +++++++++++++++++++++--
|
xbmc/windowing/X11/WinSystemX11GL.cpp | 23 +++++++++++++++++++++--
|
||||||
1 files changed, 21 insertions(+), 2 deletions(-)
|
1 files changed, 21 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
diff --git a/xbmc/WinSystemX11GL.cpp b/xbmc/WinSystemX11GL.cpp
|
diff --git a/xbmc/windowing/X11/WinSystemX11GL.cpp b/xbmc/windowing/X11/WinSystemX11GL.cpp
|
||||||
index 94f369e..870999e 100644
|
index 94f369e..870999e 100644
|
||||||
--- a/xbmc/WinSystemX11GL.cpp
|
--- a/xbmc/windowing/X11/WinSystemX11GL.cpp
|
||||||
+++ b/xbmc/WinSystemX11GL.cpp
|
+++ b/xbmc/windowing/X11/WinSystemX11GL.cpp
|
||||||
@@ -43,7 +43,27 @@ CWinSystemX11GL::~CWinSystemX11GL()
|
@@ -43,7 +43,27 @@ CWinSystemX11GL::~CWinSystemX11GL()
|
||||||
|
|
||||||
bool CWinSystemX11GL::PresentRenderImpl(const CDirtyRegionList& dirty)
|
bool CWinSystemX11GL::PresentRenderImpl(const CDirtyRegionList& dirty)
|
@ -0,0 +1,21 @@
|
|||||||
|
diff -Naur xbmc-pvr-3513480/configure.in xbmc-pvr-3513480.patch/configure.in
|
||||||
|
--- xbmc-pvr-3513480/configure.in 2011-04-25 02:36:33.000000000 +0200
|
||||||
|
+++ xbmc-pvr-3513480.patch/configure.in 2011-04-25 05:14:49.220848143 +0200
|
||||||
|
@@ -885,6 +885,9 @@
|
||||||
|
AC_MSG_NOTICE($external_ffmpeg_disabled)
|
||||||
|
USE_EXTERNAL_FFMPEG=0
|
||||||
|
AC_DEFINE([PIX_FMT_VDPAU_MPEG4_IN_AVUTIL], [1], [Whether AVUtil defines PIX_FMT_VDPAU_MPEG4.])
|
||||||
|
+
|
||||||
|
+ # check for yasm
|
||||||
|
+ AC_CHECK_PROG(HAVE_YASM,yasm,"yes","no",)
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Python
|
||||||
|
@@ -1547,6 +1550,7 @@
|
||||||
|
`if test "$use_arch" != "no"; then echo --arch=$use_arch; fi`\
|
||||||
|
`if test "$use_cpu" != "no"; then echo --cpu=$use_cpu; fi`\
|
||||||
|
--target-os=$(tolower $(uname -s)) \
|
||||||
|
+ `if test "$HAVE_YASM" = "yes"; then echo --enable-yasm; fi` \
|
||||||
|
--disable-muxers \
|
||||||
|
--enable-muxer=spdif \
|
||||||
|
--enable-muxer=adts \
|
@ -0,0 +1,125 @@
|
|||||||
|
diff -Naur xbmc-pvr-3513480/configure.in xbmc-pvr-3513480.patch/configure.in
|
||||||
|
--- xbmc-pvr-3513480/configure.in 2011-04-25 05:46:35.000000000 +0200
|
||||||
|
+++ xbmc-pvr-3513480.patch/configure.in 2011-04-25 05:50:02.982401390 +0200
|
||||||
|
@@ -72,6 +72,8 @@
|
||||||
|
rsxs_disabled="== RSXS disabled. =="
|
||||||
|
pulse_not_found="== Could not find libpulse. PulseAudio support disabled. =="
|
||||||
|
pulse_disabled="== PulseAudio support manually disabled. =="
|
||||||
|
+lame_not_found="== Could not find libmp3lame. LAME support disabled. =="
|
||||||
|
+lame_disabled="== LAME support manually disabled. =="
|
||||||
|
dvdcss_enabled="== DVDCSS support enabled. =="
|
||||||
|
dvdcss_disabled="== DVDCSS support disabled. =="
|
||||||
|
hal_not_found="== Could not find hal. HAL support disabled. =="
|
||||||
|
@@ -244,6 +246,12 @@
|
||||||
|
[use_ffmpeg_libvorbis=$enableval],
|
||||||
|
[use_ffmpeg_libvorbis=no])
|
||||||
|
|
||||||
|
+AC_ARG_ENABLE([lame],
|
||||||
|
+ [AS_HELP_STRING([--enable-lame],
|
||||||
|
+ [enable lame support (default is yes)])],
|
||||||
|
+ [use_lame=$enableval],
|
||||||
|
+ [use_lame=yes])
|
||||||
|
+
|
||||||
|
AC_ARG_ENABLE([dvdcss],
|
||||||
|
[AS_HELP_STRING([--enable-dvdcss],
|
||||||
|
[enable DVDCSS support (default is yes)])],
|
||||||
|
@@ -758,6 +766,20 @@
|
||||||
|
USE_PULSE=0
|
||||||
|
fi
|
||||||
|
|
||||||
|
+# LAME
|
||||||
|
+if test "$use_lame" = "yes"; then
|
||||||
|
+ AC_CHECK_LIB([mp3lame], [main],
|
||||||
|
+ AC_DEFINE([HAVE_LIBMP3LAME], [1], [Define to 1 if you have the 'libmp3lame' library (-lmp3lame).]),
|
||||||
|
+ use_lame=no;AC_MSG_RESULT($lame_not_found))
|
||||||
|
+else
|
||||||
|
+ AC_MSG_RESULT($lame_disabled)
|
||||||
|
+fi
|
||||||
|
+if test "$use_lame" = "yes"; then
|
||||||
|
+ AC_SUBST([HAVE_LIBMP3LAME], 1)
|
||||||
|
+else
|
||||||
|
+ AC_SUBST([HAVE_LIBMP3LAME], 0)
|
||||||
|
+fi
|
||||||
|
+
|
||||||
|
# HAL
|
||||||
|
if test "$host_vendor" = "apple" ; then
|
||||||
|
use_hal="no"
|
||||||
|
@@ -1311,6 +1333,12 @@
|
||||||
|
final_message="$final_message\n HAL Support:\tNo"
|
||||||
|
fi
|
||||||
|
|
||||||
|
+if test "$use_lame" = "yes"; then
|
||||||
|
+ final_message="$final_message\n LAME:\t\tYes"
|
||||||
|
+else
|
||||||
|
+ final_message="$final_message\n LAME:\t\tNo"
|
||||||
|
+fi
|
||||||
|
+
|
||||||
|
# DVDCSS
|
||||||
|
if test "$use_dvdcss" = "yes"; then
|
||||||
|
AC_MSG_NOTICE($dvdcss_enabled)
|
||||||
|
diff -Naur xbmc-pvr-3513480/configure.in.orig xbmc-pvr-3513480.patch/configure.in.orig
|
||||||
|
diff -Naur xbmc-pvr-3513480/Makefile.in.orig xbmc-pvr-3513480.patch/Makefile.in.orig
|
||||||
|
diff -Naur xbmc-pvr-3513480/xbmc/cdrip/CDDARipper.cpp xbmc-pvr-3513480.patch/xbmc/cdrip/CDDARipper.cpp
|
||||||
|
--- xbmc-pvr-3513480/xbmc/cdrip/CDDARipper.cpp 2011-04-25 02:36:33.000000000 +0200
|
||||||
|
+++ xbmc-pvr-3513480.patch/xbmc/cdrip/CDDARipper.cpp 2011-04-25 05:48:10.487548571 +0200
|
||||||
|
@@ -27,7 +27,11 @@
|
||||||
|
#include "CDDAReader.h"
|
||||||
|
#include "utils/StringUtils.h"
|
||||||
|
#include "Util.h"
|
||||||
|
+
|
||||||
|
+#ifdef HAVE_LIBMP3LAME
|
||||||
|
#include "EncoderLame.h"
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
#include "EncoderWav.h"
|
||||||
|
#include "EncoderVorbis.h"
|
||||||
|
#include "EncoderFFmpeg.h"
|
||||||
|
@@ -78,9 +82,16 @@
|
||||||
|
case CDDARIP_ENCODER_FLAC:
|
||||||
|
m_pEncoder = new CEncoderFlac();
|
||||||
|
break;
|
||||||
|
- default:
|
||||||
|
+#ifdef HAVE_LIBMP3LAME
|
||||||
|
+ case CDDARIP_ENCODER_LAME:
|
||||||
|
m_pEncoder = new CEncoderLame();
|
||||||
|
break;
|
||||||
|
+#else
|
||||||
|
+ default:
|
||||||
|
+ CLog::Log(LOGERROR,"invalid encoder selected");
|
||||||
|
+ return false;
|
||||||
|
+ break;
|
||||||
|
+#endif
|
||||||
|
}
|
||||||
|
|
||||||
|
// we have to set the tags before we init the Encoder
|
||||||
|
diff -Naur xbmc-pvr-3513480/xbmc/cdrip/Makefile.in xbmc-pvr-3513480.patch/xbmc/cdrip/Makefile.in
|
||||||
|
--- xbmc-pvr-3513480/xbmc/cdrip/Makefile.in 2011-04-25 02:36:33.000000000 +0200
|
||||||
|
+++ xbmc-pvr-3513480.patch/xbmc/cdrip/Makefile.in 2011-04-25 05:51:13.013064387 +0200
|
||||||
|
@@ -3,10 +3,13 @@
|
||||||
|
Encoder.cpp \
|
||||||
|
EncoderFFmpeg.cpp \
|
||||||
|
EncoderFlac.cpp \
|
||||||
|
- EncoderLame.cpp \
|
||||||
|
EncoderVorbis.cpp \
|
||||||
|
EncoderWav.cpp \
|
||||||
|
|
||||||
|
+ifeq (@HAVE_LIBMP3LAME@,1)
|
||||||
|
+ SRCS+=EncoderLame.cpp
|
||||||
|
+endif
|
||||||
|
+
|
||||||
|
LIB=cdrip.a
|
||||||
|
|
||||||
|
include @abs_top_srcdir@/Makefile.include
|
||||||
|
diff -Naur xbmc-pvr-3513480/xbmc/settings/GUISettings.cpp xbmc-pvr-3513480.patch/xbmc/settings/GUISettings.cpp
|
||||||
|
--- xbmc-pvr-3513480/xbmc/settings/GUISettings.cpp 2011-04-25 05:47:12.000000000 +0200
|
||||||
|
+++ xbmc-pvr-3513480.patch/xbmc/settings/GUISettings.cpp 2011-04-25 05:48:47.956833472 +0200
|
||||||
|
@@ -324,7 +324,9 @@
|
||||||
|
AddPath(acd,"audiocds.recordingpath",20000,"select writable folder",BUTTON_CONTROL_PATH_INPUT,false,657);
|
||||||
|
AddString(acd, "audiocds.trackpathformat", 13307, "%A - %B/[%N. ][%A - ]%T", EDIT_CONTROL_INPUT, false, 16016);
|
||||||
|
map<int,int> encoders;
|
||||||
|
+#ifdef HAVE_LIBMP3LAME
|
||||||
|
encoders.insert(make_pair(34000,CDDARIP_ENCODER_LAME));
|
||||||
|
+#endif
|
||||||
|
encoders.insert(make_pair(34001,CDDARIP_ENCODER_VORBIS));
|
||||||
|
encoders.insert(make_pair(34002,CDDARIP_ENCODER_WAV));
|
||||||
|
encoders.insert(make_pair(34005,CDDARIP_ENCODER_FLAC));
|
@ -0,0 +1,18 @@
|
|||||||
|
diff -Naur xbmc-a3c804b/xbmc/interfaces/python/XBPython.cpp xbmc-a3c804b.patch/xbmc/interfaces/python/XBPython.cpp
|
||||||
|
--- xbmc-a3c804b/xbmc/interfaces/python/XBPython.cpp 2011-08-17 23:40:00.000000000 +0200
|
||||||
|
+++ xbmc-a3c804b.patch/xbmc/interfaces/python/XBPython.cpp 2011-08-18 03:50:49.652475572 +0200
|
||||||
|
@@ -335,11 +335,9 @@
|
||||||
|
// at http://docs.python.org/using/cmdline.html#environment-variables
|
||||||
|
|
||||||
|
#if !defined(_WIN32)
|
||||||
|
- /* PYTHONOPTIMIZE is set off intentionally when using external Python.
|
||||||
|
- Reason for this is because we cannot be sure what version of Python
|
||||||
|
- was used to compile the various Python object files (i.e. .pyo,
|
||||||
|
- .pyc, etc.). */
|
||||||
|
- // check if we are running as real xbmc.app or just binary
|
||||||
|
+ // Required for python to find optimized code (pyo) files
|
||||||
|
+ setenv("PYTHONOPTIMIZE", "1", 1);
|
||||||
|
+ // check if we are running as real xbmc.app or just binary
|
||||||
|
if (!CUtil::GetFrameworksPath(true).IsEmpty())
|
||||||
|
{
|
||||||
|
// using external python, it's build looking for xxx/lib/python2.6
|
@ -0,0 +1,12 @@
|
|||||||
|
diff -Naur xbmc-pvr-3513480/userdata/LCD.xml xbmc-pvr-3513480.patch/userdata/LCD.xml
|
||||||
|
--- xbmc-pvr-3513480/userdata/LCD.xml 2011-04-25 02:36:33.000000000 +0200
|
||||||
|
+++ xbmc-pvr-3513480.patch/userdata/LCD.xml 2011-04-25 05:27:34.956125133 +0200
|
||||||
|
@@ -21,7 +21,7 @@
|
||||||
|
<line>Freemem: $INFO[System.FreeMemory]</line>
|
||||||
|
</video>
|
||||||
|
<general>
|
||||||
|
- <line>XBMC running...</line>
|
||||||
|
+ <line>*** OpenELEC ***</line>
|
||||||
|
<line>$INFO[System.Time] $INFO[System.Date]</line>
|
||||||
|
<line>Freemem: $INFO[System.FreeMemory]</line>
|
||||||
|
<line>$INFO[System.ScreenWidth]x$INFO[System.ScreenHeight] $INFO[System.ScreenMode]</line>
|
@ -0,0 +1,11 @@
|
|||||||
|
diff -Naur xbmc-10.1-Dharma/userdata/RssFeeds.xml xbmc-10.1-Dharma.patch/userdata/RssFeeds.xml
|
||||||
|
--- xbmc-10.1-Dharma/userdata/RssFeeds.xml 2011-03-08 02:49:24.000000000 +0100
|
||||||
|
+++ xbmc-10.1-Dharma.patch/userdata/RssFeeds.xml 2011-06-14 17:07:08.450880123 +0200
|
||||||
|
@@ -3,6 +3,7 @@
|
||||||
|
<!-- RSS feeds. To have multiple feeds, just add a feed to the set. You can also have multiple sets. !-->
|
||||||
|
<!-- To use different sets in your skin, each must be called from skin with a unique id. !-->
|
||||||
|
<set id="1">
|
||||||
|
+ <feed updateinterval="30">http://openelec.tv/news?format=feed&type=rss</feed>
|
||||||
|
<feed updateinterval="30">http://feeds.feedburner.com/xbmc</feed>
|
||||||
|
</set>
|
||||||
|
</rssfeeds>
|
@ -0,0 +1,29 @@
|
|||||||
|
diff -Naur xbmc-pvr-3513480/tools/EventClients/Clients/PS3 BD Remote/ps3_remote.py xbmc-pvr-3513480.patch/tools/EventClients/Clients/PS3 BD Remote/ps3_remote.py
|
||||||
|
--- xbmc-pvr-3513480/tools/EventClients/Clients/PS3 BD Remote/ps3_remote.py 2011-04-25 02:36:33.000000000 +0200
|
||||||
|
+++ xbmc-pvr-3513480.patch/tools/EventClients/Clients/PS3 BD Remote/ps3_remote.py 2011-04-25 05:30:03.870260596 +0200
|
||||||
|
@@ -59,9 +59,6 @@
|
||||||
|
target_connected = False
|
||||||
|
target_address = None
|
||||||
|
while target_connected is False:
|
||||||
|
- xbmc.send_notification("Action Required!",
|
||||||
|
- "Hold Start+Enter on your remote.",
|
||||||
|
- bticon)
|
||||||
|
print "Searching for %s" % target_name
|
||||||
|
print "(Hold Start + Enter on remote to make it discoverable)"
|
||||||
|
time.sleep(2)
|
||||||
|
@@ -72,7 +69,6 @@
|
||||||
|
except Exception, e:
|
||||||
|
print "Error performing bluetooth discovery"
|
||||||
|
print str(e)
|
||||||
|
- xbmc.send_notification("Error", "Unable to find devices.", bticon)
|
||||||
|
time.sleep(5)
|
||||||
|
continue
|
||||||
|
|
||||||
|
@@ -109,7 +105,6 @@
|
||||||
|
print "ERROR - Could Not Connect. Trying again..."
|
||||||
|
time.sleep(2)
|
||||||
|
else:
|
||||||
|
- xbmc.send_notification("Error", "No remotes were found.", bticon)
|
||||||
|
print "Could not find BD Remote Control. Trying again..."
|
||||||
|
time.sleep(2)
|
||||||
|
return (remote,target_address)
|
@ -0,0 +1,52 @@
|
|||||||
|
diff -Naur xbmc-pvr-3513480/system/Lircmap.xml xbmc-pvr-3513480.patch/system/Lircmap.xml
|
||||||
|
--- xbmc-pvr-3513480/system/Lircmap.xml 2011-04-25 02:36:33.000000000 +0200
|
||||||
|
+++ xbmc-pvr-3513480.patch/system/Lircmap.xml 2011-04-25 05:31:39.632429078 +0200
|
||||||
|
@@ -409,4 +409,48 @@
|
||||||
|
<yellow>KEY_YELLOW</yellow>
|
||||||
|
<blue>KEY_BLUE</blue>
|
||||||
|
</remote>
|
||||||
|
+ <remote device="mediacenter">
|
||||||
|
+ <pause>pause</pause>
|
||||||
|
+ <stop>stop</stop>
|
||||||
|
+ <forward>fwd</forward>
|
||||||
|
+ <reverse>rew</reverse>
|
||||||
|
+ <left>left</left>
|
||||||
|
+ <right>right</right>
|
||||||
|
+ <up>up</up>
|
||||||
|
+ <down>down</down>
|
||||||
|
+ <select>ok</select>
|
||||||
|
+ <pageplus>ch+</pageplus>
|
||||||
|
+ <pageminus>ch-</pageminus>
|
||||||
|
+ <back>back</back>
|
||||||
|
+ <menu>clear</menu>
|
||||||
|
+ <title>play</title>
|
||||||
|
+ <info>info</info>
|
||||||
|
+ <skipplus>next</skipplus>
|
||||||
|
+ <skipminus>prev</skipminus>
|
||||||
|
+ <display>teletext</display>
|
||||||
|
+ <start>ehome</start>
|
||||||
|
+ <record>rec</record>
|
||||||
|
+ <volumeplus>vol+</volumeplus>
|
||||||
|
+ <volumeminus>vol-</volumeminus>
|
||||||
|
+ <mute>mute</mute>
|
||||||
|
+ <power>power</power>
|
||||||
|
+ <myvideo>video</myvideo>
|
||||||
|
+ <mymusic>music</mymusic>
|
||||||
|
+ <mypictures>pictures</mypictures>
|
||||||
|
+ <mytv>tv</mytv>
|
||||||
|
+ <one>1</one>
|
||||||
|
+ <two>2</two>
|
||||||
|
+ <three>3</three>
|
||||||
|
+ <four>4</four>
|
||||||
|
+ <five>5</five>
|
||||||
|
+ <six>6</six>
|
||||||
|
+ <seven>7</seven>
|
||||||
|
+ <eight>8</eight>
|
||||||
|
+ <nine>9</nine>
|
||||||
|
+ <zero>0</zero>
|
||||||
|
+ <mytv>red</mytv>
|
||||||
|
+ <mymusic>green</mymusic>
|
||||||
|
+ <mypictures>yellow</mypictures>
|
||||||
|
+ <myvideo>blue</myvideo>
|
||||||
|
+ </remote>
|
||||||
|
</lircmap>
|
@ -0,0 +1,71 @@
|
|||||||
|
diff -Naur xbmc-10.1-Dharma/system/Lircmap.xml xbmc-10.1-Dharma.patch/system/Lircmap.xml
|
||||||
|
--- xbmc-10.1-Dharma/system/Lircmap.xml 2011-06-18 01:43:43.132101246 +0200
|
||||||
|
+++ xbmc-10.1-Dharma.patch/system/Lircmap.xml 2011-06-18 01:44:53.777025290 +0200
|
||||||
|
@@ -365,7 +365,6 @@
|
||||||
|
|
||||||
|
<remote device="linux-input-layer">
|
||||||
|
<altname>cx23885_remote</altname>
|
||||||
|
- <altname>devinput</altname>
|
||||||
|
<left>KEY_LEFT</left>
|
||||||
|
<right>KEY_RIGHT</right>
|
||||||
|
<up>KEY_UP</up>
|
||||||
|
@@ -452,4 +451,59 @@
|
||||||
|
<mypictures>yellow</mypictures>
|
||||||
|
<myvideo>blue</myvideo>
|
||||||
|
</remote>
|
||||||
|
+
|
||||||
|
+ <remote device="devinput">
|
||||||
|
+ <left>KEY_LEFT</left>
|
||||||
|
+ <right>KEY_RIGHT</right>
|
||||||
|
+ <up>KEY_UP</up>
|
||||||
|
+ <down>KEY_DOWN</down>
|
||||||
|
+ <select>KEY_OK</select>
|
||||||
|
+ <enter>KEY_ENTER</enter>
|
||||||
|
+ <clear>KEY_DELETE</clear>
|
||||||
|
+ <start>KEY_PROG1</start>
|
||||||
|
+ <back>KEY_EXIT</back>
|
||||||
|
+ <record>KEY_RECORD</record>
|
||||||
|
+ <play>KEY_PLAY</play>
|
||||||
|
+ <pause>KEY_PAUSE</pause>
|
||||||
|
+ <stop>KEY_STOP</stop>
|
||||||
|
+ <forward>KEY_FASTFORWARD</forward>
|
||||||
|
+ <reverse>KEY_REWIND</reverse>
|
||||||
|
+ <volumeplus>KEY_VOLUMEUP</volumeplus>
|
||||||
|
+ <volumeminus>KEY_VOLUMEDOWN</volumeminus>
|
||||||
|
+ <channelplus>KEY_CHANNELUP</channelplus>
|
||||||
|
+ <channelminus>KEY_CHANNELDOWN</channelminus>
|
||||||
|
+ <skipplus>KEY_NEXT</skipplus>
|
||||||
|
+ <skipminus>KEY_PREVIOUS</skipminus>
|
||||||
|
+ <title>KEY_EPG</title>
|
||||||
|
+ <subtitle>KEY_SUBTITLE</subtitle>
|
||||||
|
+ <language>KEY_LANGUAGE</language>
|
||||||
|
+ <info>KEY_INFO</info>
|
||||||
|
+ <display>KEY_ZOOM</display>
|
||||||
|
+ <mute>KEY_MUTE</mute>
|
||||||
|
+ <power>KEY_POWER</power>
|
||||||
|
+ <eject>KEY_EJECT</eject>
|
||||||
|
+ <menu>KEY_DVD</menu>
|
||||||
|
+ <menu>KEY_MENU</menu>
|
||||||
|
+ <myvideo>KEY_VIDEO</myvideo>
|
||||||
|
+ <mymusic>KEY_AUDIO</mymusic>
|
||||||
|
+ <mypictures>KEY_CAMERA</mypictures>
|
||||||
|
+ <mytv>KEY_TUNER</mytv>
|
||||||
|
+ <teletext>KEY_TEXT</teletext>
|
||||||
|
+ <one>KEY_NUMERIC_1</one>
|
||||||
|
+ <two>KEY_NUMERIC_2</two>
|
||||||
|
+ <three>KEY_NUMERIC_3</three>
|
||||||
|
+ <four>KEY_NUMERIC_4</four>
|
||||||
|
+ <five>KEY_NUMERIC_5</five>
|
||||||
|
+ <six>KEY_NUMERIC_6</six>
|
||||||
|
+ <seven>KEY_NUMERIC_7</seven>
|
||||||
|
+ <eight>KEY_NUMERIC_8</eight>
|
||||||
|
+ <nine>KEY_NUMERIC_9</nine>
|
||||||
|
+ <zero>KEY_NUMERIC_0</zero>
|
||||||
|
+ <star>KEY_NUMERIC_STAR</star>
|
||||||
|
+ <hash>KEY_NUMERIC_POUND</hash>
|
||||||
|
+ <red>KEY_RED</red>
|
||||||
|
+ <green>KEY_GREEN</green>
|
||||||
|
+ <yellow>KEY_YELLOW</yellow>
|
||||||
|
+ <blue>KEY_BLUE</blue>
|
||||||
|
+ </remote>
|
||||||
|
</lircmap>
|
@ -0,0 +1,11 @@
|
|||||||
|
diff -Naur xbmc-10.1-Dharma/system/keymaps/remote.xml xbmc-10.1-Dharma.patch/system/keymaps/remote.xml
|
||||||
|
--- xbmc-10.1-Dharma/system/keymaps/remote.xml 2011-03-08 02:49:23.000000000 +0100
|
||||||
|
+++ xbmc-10.1-Dharma.patch/system/keymaps/remote.xml 2011-06-18 01:48:26.887811969 +0200
|
||||||
|
@@ -63,6 +63,7 @@
|
||||||
|
<volumeminus>VolumeDown</volumeminus>
|
||||||
|
<mute>Mute</mute>
|
||||||
|
<power>XBMC.ShutDown()</power>
|
||||||
|
+ <eject>XBMC.EjectTray()</eject>
|
||||||
|
<myvideo>XBMC.ActivateWindow(MyVideos)</myvideo>
|
||||||
|
<mymusic>XBMC.ActivateWindow(MyMusic)</mymusic>
|
||||||
|
<mypictures>XBMC.ActivateWindow(MyPictures)</mypictures>
|
@ -0,0 +1,23 @@
|
|||||||
|
diff -Naur xbmc-a8d22f6/xbmc/settings/GUISettings.cpp xbmc-a8d22f6.patch/xbmc/settings/GUISettings.cpp
|
||||||
|
--- xbmc-a8d22f6/xbmc/settings/GUISettings.cpp 2011-08-02 15:01:17.000000000 +0200
|
||||||
|
+++ xbmc-a8d22f6.patch/xbmc/settings/GUISettings.cpp 2011-08-02 15:25:47.205925050 +0200
|
||||||
|
@@ -654,6 +654,7 @@
|
||||||
|
AddInt(vid, "myvideos.selectaction", 22079, SELECT_ACTION_PLAY_OR_RESUME, SELECT_ACTION_CHOOSE, 1, SELECT_ACTION_INFO, SPIN_CONTROL_TEXT);
|
||||||
|
AddBool(NULL, "myvideos.treatstackasfile", 20051, true);
|
||||||
|
AddBool(vid, "myvideos.extractflags",20433, true);
|
||||||
|
+ AddBool(vid, "myvideos.alwaysextractflags",20433, false);
|
||||||
|
AddBool(vid, "myvideos.filemetadata", 20419, true);
|
||||||
|
AddBool(NULL, "myvideos.extractthumb",20433, true);
|
||||||
|
|
||||||
|
diff -Naur xbmc-a8d22f6/xbmc/ThumbLoader.cpp xbmc-a8d22f6.patch/xbmc/ThumbLoader.cpp
|
||||||
|
--- xbmc-a8d22f6/xbmc/ThumbLoader.cpp 2011-08-02 15:01:19.000000000 +0200
|
||||||
|
+++ xbmc-a8d22f6.patch/xbmc/ThumbLoader.cpp 2011-08-02 15:24:54.831265675 +0200
|
||||||
|
@@ -146,7 +146,7 @@
|
||||||
|
m_item.SetThumbnailImage(m_target);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
- else if (m_item.HasVideoInfoTag() && !m_item.GetVideoInfoTag()->HasStreamDetails())
|
||||||
|
+ else if (m_item.HasVideoInfoTag() && (!m_item.GetVideoInfoTag()->HasStreamDetails() || g_guiSettings.GetBool("myvideos.alwaysextractflags")))
|
||||||
|
{
|
||||||
|
CLog::Log(LOGDEBUG,"%s - trying to extract filestream details from video file %s", __FUNCTION__, m_path.c_str());
|
||||||
|
result = CDVDFileInfo::GetFileStreamDetails(&m_item);
|
Loading…
x
Reference in New Issue
Block a user