aboutsummaryrefslogtreecommitdiff
path: root/lib/dvb/epgcache.cpp
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-03-07 20:36:40 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-03-07 20:36:40 +0000
commitdf8830e6f19c5557fd52b1a9ac4fbf23c1afcdf2 (patch)
tree1bc69dd8b0e7349340f0273e6fc4e6244ccf3a7a /lib/dvb/epgcache.cpp
parentdb676dd52192447dd3204739ebb081b4b713ad28 (diff)
downloadenigma2-df8830e6f19c5557fd52b1a9ac4fbf23c1afcdf2.tar.gz
enigma2-df8830e6f19c5557fd52b1a9ac4fbf23c1afcdf2.zip
add ability to set a callback build function in listbox multicontent
Diffstat (limited to 'lib/dvb/epgcache.cpp')
-rw-r--r--lib/dvb/epgcache.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/dvb/epgcache.cpp b/lib/dvb/epgcache.cpp
index 189fcfc4..b5f519e9 100644
--- a/lib/dvb/epgcache.cpp
+++ b/lib/dvb/epgcache.cpp
@@ -1376,6 +1376,9 @@ void fillTuple(PyObject *tuple, char *argstring, int argcount, PyObject *service
bool inc_refcount=false;
switch(argstring[pos])
{
+ case '0': // PyLong 0
+ tmp = PyLong_FromLong(0);
+ break;
case 'I': // Event Id
tmp = ptr ? PyLong_FromLong(ptr->getEventId()) : NULL;
break;
@@ -1448,6 +1451,7 @@ PyObject *handleEvent(ePtr<eServiceEvent> &ptr, PyObject *dest_list, char* argst
// here we get a python list
// the first entry in the list is a python string to specify the format of the returned tuples (in a list)
+// 0 = PyLong(0)
// I = Event Id
// B = Event Begin Time
// D = Event Duration