diff options
author | ghost <andreas.monzner@multimedia-labs.de> | 2010-11-22 15:19:51 (GMT) |
---|---|---|
committer | ghost <andreas.monzner@multimedia-labs.de> | 2010-11-22 15:19:51 (GMT) |
commit | 75a14a64a63132874f26b4715cde33e69dbf4b34 (patch) | |
tree | bed899e3a6640f7a915faae2ba4ed9d873565370 /lib/service/servicedvb.cpp | |
parent | fb91533bb1d293bdb0691bfcc1d15da9268782fe (diff) |
add possibility to query CAID/CAPID combination from python
refs bug #621
Diffstat (limited to 'lib/service/servicedvb.cpp')
-rw-r--r-- | lib/service/servicedvb.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/service/servicedvb.cpp b/lib/service/servicedvb.cpp index e498dd4..2332e36 100644 --- a/lib/service/servicedvb.cpp +++ b/lib/service/servicedvb.cpp @@ -1585,7 +1585,7 @@ int eDVBServicePlay::getInfo(int w) { eDVBServicePMTHandler::program program; - if (w == sCAIDs) + if (w == sCAIDs || w == sCAIDPIDs) return resIsPyObject; eDVBServicePMTHandler &h = m_timeshift_active ? m_service_handler_timeshift : m_service_handler; @@ -1726,6 +1726,8 @@ PyObject *eDVBServicePlay::getInfoObject(int w) { case sCAIDs: return m_service_handler.getCaIds(); + case sCAIDPIDs: + return m_service_handler.getCaIds(true); case sTransponderData: return eStaticServiceDVBInformation().getInfoObject(m_reference, w); default: |