From: acid-burn Date: Wed, 22 Sep 2010 13:39:36 +0000 (+0200) Subject: Components/DreamInfoHandler.py: ignore old meta-xml index files. refs #578 X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=commitdiff_plain;h=f5ff68d184672add16da02cd34993c2d39b87c82 Components/DreamInfoHandler.py: ignore old meta-xml index files. refs #578 --- diff --git a/lib/python/Components/DreamInfoHandler.py b/lib/python/Components/DreamInfoHandler.py index dd140cb..4030567 100755 --- a/lib/python/Components/DreamInfoHandler.py +++ b/lib/python/Components/DreamInfoHandler.py @@ -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: