skip path prefix from .pyc compilation
[enigma2.git] / lib / python / enigma_python.i
index 7de05d2b848b8a3e7622bf9ec24790870197d64c..bdf1b1441e68a566ec5c8f9513ffbbcdf7fd9d9d 100644 (file)
@@ -141,6 +141,7 @@ typedef long time_t;
 %include <lib/service/service.h>
 
 // TODO: embed these...
+%immutable ePicLoad::PictureData;
 %immutable eButton::selected;
 %immutable eInput::changed;
 %immutable eComponentScan::statusChanged;
@@ -287,7 +288,7 @@ PyObject *getBestPlayableServiceReference(const eServiceReference &bouquet_ref,
 PyObject *getBestPlayableServiceReference(const eServiceReference &bouquet_ref, const eServiceReference &ignore, bool simulate=false)
 {
        eStaticServiceDVBBouquetInformation info;
-       if (info.isPlayable(bouquet_ref, ignore))
+       if (info.isPlayable(bouquet_ref, ignore, simulate))
                return New_eServiceReference(info.getPlayableService());
        Py_INCREF(Py_None);
        return Py_None;