remove some debug messages
[enigma2.git] / lib / dvb / db.cpp
index 7ed27d6b28e7cd563d3656dfcfcccb8086ae8129..25b0fb9446a4ca4714db861ae2ebefd0c0313846 100644 (file)
@@ -408,7 +408,6 @@ void eDVBDB::loadBouquet(const char *path)
                                        char buf[256];
                                        snprintf(buf, 256, "(type == %d) FROM BOUQUET \"%s\" ORDER BY bouquet", tmp.data[0], str.c_str());
                                        tmp.path = buf;
                                        char buf[256];
                                        snprintf(buf, 256, "(type == %d) FROM BOUQUET \"%s\" ORDER BY bouquet", tmp.data[0], str.c_str());
                                        tmp.path = buf;
-                                       eDebug("read bouquet %s", tmp.toString().c_str());
                                }
                                list.push_back(tmp);
                                e = &list.back();
                                }
                                list.push_back(tmp);
                                e = &list.back();
@@ -514,13 +513,11 @@ RESULT eDVBDB::getBouquet(const eServiceReference &ref, const eBouquet* &bouquet
        if ( pos != std::string::npos )
        {
                str.erase(0, pos+14);
        if ( pos != std::string::npos )
        {
                str.erase(0, pos+14);
-               eDebug("str now %s", str.c_str());
                pos = str.find('"');
                if ( pos != std::string::npos )
                        str.erase(pos);
                else
                        str.clear();
                pos = str.find('"');
                if ( pos != std::string::npos )
                        str.erase(pos);
                else
                        str.clear();
-               eDebug("str now %s", str.c_str());
        }
        if (str.empty())
        {
        }
        if (str.empty())
        {
@@ -541,10 +538,7 @@ RESULT eDVBDB::getBouquet(const eServiceReference &ref, const eBouquet* &bouquet
 RESULT eDVBDB::startQuery(ePtr<iDVBChannelListQuery> &query, eDVBChannelQuery *q, const eServiceReference &source)
 {
        if ( q && q->m_bouquet_name.length() )
 RESULT eDVBDB::startQuery(ePtr<iDVBChannelListQuery> &query, eDVBChannelQuery *q, const eServiceReference &source)
 {
        if ( q && q->m_bouquet_name.length() )
-       {
-               eDebug("bouquet");
                query = new eDVBDBBouquetQuery(this, source, q);
                query = new eDVBDBBouquetQuery(this, source, q);
-       }
        else
                query = new eDVBDBQuery(this, source, q);
        return 0;
        else
                query = new eDVBDBQuery(this, source, q);
        return 0;
@@ -691,7 +685,7 @@ RESULT parseExpression(ePtr<eDVBChannelQuery> &res, std::list<std::string>::cons
                        /* we had only one sub expression */
                if (end_of_exp == end)
                {
                        /* we had only one sub expression */
                if (end_of_exp == end)
                {
-                       eDebug("only one sub expression");
+//                     eDebug("only one sub expression");
                        return 0;
                }
                
                        return 0;
                }
                
@@ -789,7 +783,7 @@ RESULT eDVBChannelQuery::compile(ePtr<eDVBChannelQuery> &res, std::string query)
        std::string current_token;
        std::string bouquet_name;
 
        std::string current_token;
        std::string bouquet_name;
 
-       eDebug("splitting %s....", query.c_str());
+//     eDebug("splitting %s....", query.c_str());
        unsigned int i = 0;
        const char *splitchars="()";
        int quotemode = 0, lastsplit = 0, lastalnum = 0;
        unsigned int i = 0;
        const char *splitchars="()";
        int quotemode = 0, lastsplit = 0, lastalnum = 0;
@@ -873,7 +867,7 @@ RESULT eDVBChannelQuery::compile(ePtr<eDVBChannelQuery> &res, std::string query)
                return -1;
        }
        
                return -1;
        }
        
-       eDebug("sort by %d", sort);
+//     eDebug("sort by %d", sort);
        
                /* now we recursivly parse that. */
        int r = parseExpression(res, tokens.begin(), tokens.end());
        
                /* now we recursivly parse that. */
        int r = parseExpression(res, tokens.begin(), tokens.end());
@@ -884,7 +878,7 @@ RESULT eDVBChannelQuery::compile(ePtr<eDVBChannelQuery> &res, std::string query)
                res->m_bouquet_name = bouquet_name;
        }
 
                res->m_bouquet_name = bouquet_name;
        }
 
-       eDebug("return: %d", r);
+//     eDebug("return: %d", r);
        return r;
 }
 
        return r;
 }