aboutsummaryrefslogtreecommitdiff
path: root/lib/dvb/db.cpp
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2009-03-03 18:57:46 +0100
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2009-03-03 18:57:46 +0100
commita5b628b1eb1c2ccdd68d7ea0f57bbb4a31c25c83 (patch)
tree99c2076d9722b68a8b8fe2ee110f633e38c1f0ce /lib/dvb/db.cpp
parentf8399204b2ce53dfd2c394f9d67b204356f2d40a (diff)
downloadenigma2-a5b628b1eb1c2ccdd68d7ea0f57bbb4a31c25c83.tar.gz
enigma2-a5b628b1eb1c2ccdd68d7ea0f57bbb4a31c25c83.zip
- properly ignore transponders without values for tsid/onid in the diseqc tester
- add some log file output for pids_failed case (real tsid/onid and expected tsid/onid)
Diffstat (limited to 'lib/dvb/db.cpp')
-rw-r--r--lib/dvb/db.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/dvb/db.cpp b/lib/dvb/db.cpp
index 110cedd8..e4d9ad22 100644
--- a/lib/dvb/db.cpp
+++ b/lib/dvb/db.cpp
@@ -839,7 +839,7 @@ PyObject *eDVBDB::readSatellites(ePyObject sat_list, ePyObject sat_dict, ePyObje
PyDict_SetItem(tp_dict, sat_pos, tplist);
for (ElementConstIterator it(sat_elements.begin()); it != sat_elements.end(); ++it)
{
-// eDebug("\telement: %s", (*it)->name().c_str());
+ //eDebug("\telement: %s", (*it)->name().c_str());
const AttributeList &tp_attributes = (*it)->getAttributeList();
AttributeConstIterator end = tp_attributes.end();
modulation = eDVBFrontendParametersSatellite::Modulation_QPSK;
@@ -856,8 +856,8 @@ PyObject *eDVBDB::readSatellites(ePyObject sat_list, ePyObject sat_dict, ePyObje
for (AttributeConstIterator it(tp_attributes.begin()); it != end; ++it)
{
- //eDebug("\t\tattr: %s", at->name().c_str());
at = *it;
+ //eDebug("\t\tattr: %s", at->name().c_str());
name = at->name();
if (name == "modulation") dest = &modulation;
else if (name == "system") dest = &system;
@@ -872,6 +872,7 @@ PyObject *eDVBDB::readSatellites(ePyObject sat_list, ePyObject sat_dict, ePyObje
else if (name == "onid") dest = &onid;
if (dest)
{
+ //eDebug("\t\t\tvalue: %s", at->value().c_str());
tmp = strtol(at->value().c_str(), &end_ptr, 10);
if (!*end_ptr)
*dest = tmp;