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 | |
parent | fb91533bb1d293bdb0691bfcc1d15da9268782fe (diff) |
add possibility to query CAID/CAPID combination from python
refs bug #621
Diffstat (limited to 'lib/service')
-rw-r--r-- | lib/service/iservice.h | 1 | ||||
-rw-r--r-- | lib/service/servicedvb.cpp | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/lib/service/iservice.h b/lib/service/iservice.h index 2ba7cb4..7f58249 100644 --- a/lib/service/iservice.h +++ b/lib/service/iservice.h @@ -289,6 +289,7 @@ public: sFileSize, sCAIDs, + sCAIDPIDs, sVideoType, /* MPEG2 MPEG4 */ sTags, /* space seperated list of tags */ 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: |