Merge branch 'master' of git.opendreambox.org:/git/enigma2
authorghost <andreas.monzner@multimedia-labs.de>
Tue, 30 Jun 2009 07:34:05 +0000 (09:34 +0200)
committerghost <andreas.monzner@multimedia-labs.de>
Tue, 30 Jun 2009 07:34:05 +0000 (09:34 +0200)
lib/gui/elistboxcontent.cpp
lib/python/Plugins/Extensions/MediaPlayer/plugin.py
lib/python/Screens/SessionGlobals.py

index 3c9457e..e05da21 100644 (file)
@@ -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)
index c69dd28..42800b5 100644 (file)
@@ -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()
index 18d71d3..6a9379b 100644 (file)
@@ -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)