X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/ff84dc4ee5f57e24a0777930d5482ee4ff53da0e..ff00cc62b92da0226e4147cca49bbbb39d248e92:/lib/dvb/db.cpp diff --git a/lib/dvb/db.cpp b/lib/dvb/db.cpp index 7ed27d6b..25b0fb94 100644 --- a/lib/dvb/db.cpp +++ b/lib/dvb/db.cpp @@ -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; - eDebug("read bouquet %s", tmp.toString().c_str()); } 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); - eDebug("str now %s", str.c_str()); pos = str.find('"'); if ( pos != std::string::npos ) str.erase(pos); else str.clear(); - eDebug("str now %s", str.c_str()); } if (str.empty()) { @@ -541,10 +538,7 @@ RESULT eDVBDB::getBouquet(const eServiceReference &ref, const eBouquet* &bouquet RESULT eDVBDB::startQuery(ePtr &query, eDVBChannelQuery *q, const eServiceReference &source) { if ( q && q->m_bouquet_name.length() ) - { - eDebug("bouquet"); query = new eDVBDBBouquetQuery(this, source, q); - } else query = new eDVBDBQuery(this, source, q); return 0; @@ -691,7 +685,7 @@ RESULT parseExpression(ePtr &res, std::list::cons /* we had only one sub expression */ if (end_of_exp == end) { - eDebug("only one sub expression"); +// eDebug("only one sub expression"); return 0; } @@ -789,7 +783,7 @@ RESULT eDVBChannelQuery::compile(ePtr &res, std::string query) 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; @@ -873,7 +867,7 @@ RESULT eDVBChannelQuery::compile(ePtr &res, std::string query) 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()); @@ -884,7 +878,7 @@ RESULT eDVBChannelQuery::compile(ePtr &res, std::string query) res->m_bouquet_name = bouquet_name; } - eDebug("return: %d", r); +// eDebug("return: %d", r); return r; }