aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2009-06-30 09:34:05 +0200
committerghost <andreas.monzner@multimedia-labs.de>2009-06-30 09:34:05 +0200
commit9b8c07c78ce40cbaed2f9cb7e35d23a2502d4638 (patch)
treeb5c292f27acb62f8a51f608681df5c16fcb1d16d /lib
parent7f2b4f4768792a8245b998812e7cb16678eb4ffb (diff)
parent0c2e529601f9931dc808388dfb8ec0a5fb96f06f (diff)
downloadenigma2-9b8c07c78ce40cbaed2f9cb7e35d23a2502d4638.tar.gz
enigma2-9b8c07c78ce40cbaed2f9cb7e35d23a2502d4638.zip
Merge branch 'master' of git.opendreambox.org:/git/enigma2
Diffstat (limited to 'lib')
-rw-r--r--lib/gui/elistboxcontent.cpp4
-rw-r--r--lib/python/Plugins/Extensions/MediaPlayer/plugin.py2
-rw-r--r--lib/python/Screens/SessionGlobals.py2
3 files changed, 4 insertions, 4 deletions
diff --git a/lib/gui/elistboxcontent.cpp b/lib/gui/elistboxcontent.cpp
index 3c9457e1..e05da215 100644
--- a/lib/gui/elistboxcontent.cpp
+++ b/lib/gui/elistboxcontent.cpp
@@ -49,7 +49,7 @@ int iListboxContent::currentCursorSelectable()
DEFINE_REF(eListboxPythonStringContent);
-eListboxPythonStringContent::eListboxPythonStringContent(): m_itemheight(25)
+eListboxPythonStringContent::eListboxPythonStringContent(): m_itemheight(25), m_cursor(0)
{
}
@@ -81,7 +81,7 @@ int eListboxPythonStringContent::cursorMove(int count)
int eListboxPythonStringContent::cursorValid()
{
- return m_cursor < size();
+ return ((unsigned int)m_cursor) < size();
}
int eListboxPythonStringContent::cursorSet(int n)
diff --git a/lib/python/Plugins/Extensions/MediaPlayer/plugin.py b/lib/python/Plugins/Extensions/MediaPlayer/plugin.py
index c69dd28e..42800b5c 100644
--- a/lib/python/Plugins/Extensions/MediaPlayer/plugin.py
+++ b/lib/python/Plugins/Extensions/MediaPlayer/plugin.py
@@ -110,7 +110,7 @@ class MediaPlayer(Screen, InfoBarBase, InfoBarSeek, InfoBarAudioSelection, InfoB
# 'None' is magic to start at the list of mountpoints
defaultDir = config.mediaplayer.defaultDir.getValue()
- self.filelist = FileList(defaultDir, matchingPattern = "(?i)^.*\.(mp2|mp3|ogg|ts|wav|wave|m3u|pls|e2pls|mpg|vob|avi|divx|mkv|mp4|m4a|dat|flac|mov|flv)", useServiceRef = True, additionalExtensions = "4098:m3u 4098:e2pls 4098:pls")
+ self.filelist = FileList(defaultDir, matchingPattern = "(?i)^.*\.(mp2|mp3|ogg|ts|wav|wave|m3u|pls|e2pls|mpg|vob|avi|divx|mkv|mp4|m4a|dat|flac|mov)", useServiceRef = True, additionalExtensions = "4098:m3u 4098:e2pls 4098:pls")
self["filelist"] = self.filelist
self.playlist = MyPlayList()
diff --git a/lib/python/Screens/SessionGlobals.py b/lib/python/Screens/SessionGlobals.py
index 18d71d39..6a9379bc 100644
--- a/lib/python/Screens/SessionGlobals.py
+++ b/lib/python/Screens/SessionGlobals.py
@@ -38,7 +38,7 @@ class SessionGlobals(Screen):
PATTERN_ON = (20, 0xffffffff, 0xffffffff)
PATTERN_OFF = (20, 0, 0)
- PATTERN_BLINK = (20, 0x55555555, 0x84fc8c04)
+ PATTERN_BLINK = (20, 0x55555555, 0xa7fccf7a)
nr_leds = SystemInfo.get("NumFrontpanelLEDs", 0)