mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
xbmc: add some patches, thanks to held
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
569e5ed5c4
commit
5fbd781738
@ -0,0 +1,23 @@
|
|||||||
|
diff -Naur xbmc-dharma-35003/xbmc/GUISettings.cpp xbmc-dharma-35003.patch/xbmc/GUISettings.cpp
|
||||||
|
--- xbmc-dharma-35003/xbmc/GUISettings.cpp 2010-10-25 15:36:18.000000000 +0200
|
||||||
|
+++ xbmc-dharma-35003.patch/xbmc/GUISettings.cpp 2010-10-25 23:34:14.131974258 +0200
|
||||||
|
@@ -618,6 +618,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.cleanstrings", 20418, false);
|
||||||
|
AddBool(NULL, "myvideos.extractthumb",20433, true);
|
||||||
|
|
||||||
|
diff -Naur xbmc-dharma-35003/xbmc/ThumbLoader.cpp xbmc-dharma-35003.patch/xbmc/ThumbLoader.cpp
|
||||||
|
--- xbmc-dharma-35003/xbmc/ThumbLoader.cpp 2010-10-25 15:37:06.000000000 +0200
|
||||||
|
+++ xbmc-dharma-35003.patch/xbmc/ThumbLoader.cpp 2010-10-25 23:34:04.223857821 +0200
|
||||||
|
@@ -148,7 +148,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);
|
@ -0,0 +1,24 @@
|
|||||||
|
diff -Naur xbmc-dharma-35003/xbmc/GUISettings.cpp xbmc-dharma-35003.patch/xbmc/GUISettings.cpp
|
||||||
|
--- xbmc-dharma-35003/xbmc/GUISettings.cpp 2010-10-25 23:37:10.165043528 +0200
|
||||||
|
+++ xbmc-dharma-35003.patch/xbmc/GUISettings.cpp 2010-10-25 23:37:27.888251923 +0200
|
||||||
|
@@ -528,6 +528,7 @@
|
||||||
|
AddBool(NULL, "videolibrary.seasonthumbs", 20382, true);
|
||||||
|
AddBool(vdl, "videolibrary.actorthumbs", 20402, true);
|
||||||
|
AddInt(vdl, "videolibrary.flattentvshows", 20412, 1, 0, 1, 2, SPIN_CONTROL_TEXT);
|
||||||
|
+ AddBool(NULL, "videolibrary.flattenmoviesets", 22002, false);
|
||||||
|
AddBool(vdl, "videolibrary.updateonstartup", 22000, false);
|
||||||
|
AddBool(vdl, "videolibrary.backgroundupdate", 22001, false);
|
||||||
|
AddSeparator(vdl, "videolibrary.sep3");
|
||||||
|
diff -Naur xbmc-dharma-35003/xbmc/VideoDatabase.cpp xbmc-dharma-35003.patch/xbmc/VideoDatabase.cpp
|
||||||
|
--- xbmc-dharma-35003/xbmc/VideoDatabase.cpp 2010-10-25 15:36:19.000000000 +0200
|
||||||
|
+++ xbmc-dharma-35003.patch/xbmc/VideoDatabase.cpp 2010-10-25 23:37:27.887251911 +0200
|
||||||
|
@@ -4394,7 +4394,7 @@
|
||||||
|
if (NULL == m_pDS.get()) return false;
|
||||||
|
|
||||||
|
CStdString strSQL = "select * from movieview ";
|
||||||
|
- if (fetchSets)
|
||||||
|
+ if (fetchSets && !g_guiSettings.GetBool("videolibrary.flattenmoviesets"))
|
||||||
|
{
|
||||||
|
// not getting a set, so grab all sets that match this where clause first
|
||||||
|
CStdString setsWhere;
|
||||||
|
diff -Naur xbmc-dharma-35003/xbmc/VideoDatabase.cpp.orig xbmc-dharma-35003.patch/xbmc/VideoDatabase.cpp.orig
|
@ -0,0 +1,4 @@
|
|||||||
|
<held> bei openelec fehlt mir eigentlich nur noch die bluetooth ps3 remote und mein metadata patch :)
|
||||||
|
<sraue> wo find ich den patch nochmal?
|
||||||
|
<held> http://trac.xbmc.org/ticket/10292 und http://trac.xbmc.org/ticket/10298
|
||||||
|
<held> http://trac.xbmc.org/attachment/ticket/10292/advancedsettings-alwaysextractflags.diff und http://trac.xbmc.org/attachment/ticket/10298/advancedsettings-videolibrary.flattenmoviesets.diff
|
Loading…
x
Reference in New Issue
Block a user