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 3c9457e1b5916751f652502bd1f1386dbb4f5f55..e05da215913fc121cd4abc7d3dc3e4f39abfb600 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 c69dd28eaa7c0eda63abfb08be2ee07e8526c89e..42800b5c2e86babe74ced458da7aa90095efa7ad 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 18d71d3912e7ba059515cdb78940b7458c59063d..6a9379bc63c70bd04ef016e026f7c9c8e8c9c19f 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)