db: remove recursive loading of bouquets
authorAndreas Oberritter <obi@opendreambox.org>
Fri, 25 Mar 2011 15:34:11 +0000 (16:34 +0100)
committerAndreas Oberritter <obi@opendreambox.org>
Tue, 29 Mar 2011 13:43:58 +0000 (15:43 +0200)
lib/dvb/db.cpp

index ccaecd4f682798d62fc9315d0f923934aa863d3c..47b5427eca1c65933d68845c499c0323d82ea059 100644 (file)
@@ -618,14 +618,7 @@ void eDVBDB::loadBouquet(const char *path)
        int entries=0;
        if (!fp)
        {
-               struct stat s;
-               if ( !stat(path, &s) )
-               {
-                       rename(path, p.c_str() );
-                       loadBouquet(path);
-                       return;
-               }
-               eDebug("failed to open.");
+               eDebug("can't open %s: %m", p.c_str());
                if ( strstr(path, "bouquets.tv") )
                {
                        eDebug("recreate bouquets.tv");