Added support for accelerated fill (requires updated drivers)
[enigma2.git] / lib / python / Components / DreamInfoHandler.py
index dd140cbbab2c30d23ffc8d32fa9fb274039bd60d..03d52157c98f73b73033590a30bfda85541cc861 100755 (executable)
@@ -123,7 +123,7 @@ class InfoHandler(xml.sax.ContentHandler):
                if self.elements[-1] == "shortdescription":
                        self.attributes["shortdescription"] = str(data)
                if self.elements[-1] == "description":
-                       self.data += data
+                       self.data += data.strip()
                        self.attributes["description"] = str(self.data)
                #print "characters", data
 
@@ -222,6 +222,8 @@ class DreamInfoHandler:
                for indexfile in os.listdir(self.directory[0]):
                        if indexfile.startswith("index-"):
                                if indexfile.endswith(".xml"):
+                                       if indexfile[-7:-6] == "_":
+                                               continue
                                        indexfileList.append(indexfile)
                if len(indexfileList):
                        for file in indexfileList: