X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/24a93dcd3c096ef9a46d545c89050f0076911816..80058dea34aae48ed729986a65112f0096f5b2d5:/lib/service/servicedvb.cpp diff --git a/lib/service/servicedvb.cpp b/lib/service/servicedvb.cpp index fe9398cb..6c980c76 100644 --- a/lib/service/servicedvb.cpp +++ b/lib/service/servicedvb.cpp @@ -3,6 +3,7 @@ #include #include #include +#include #include #include #include // access to python config @@ -211,6 +212,8 @@ std::string eStaticServiceDVBPVRInformation::getInfoString(const eServiceReferen return m_parser.m_description; case iServiceInformation::sServiceref: return m_parser.m_ref.toString(); + case iServiceInformation::sTags: + return m_parser.m_tags; default: return ""; } @@ -1364,7 +1367,7 @@ std::string eDVBServicePlay::getRadioText(int x) switch(x) { case 0: - return m_radiotext_parser->getCurrentText(); + return convertLatin1UTF8(m_radiotext_parser->getCurrentText()); } return ""; } @@ -2061,7 +2064,7 @@ PyObject *eDVBServicePlay::getSubtitleList() { PyObject *tuple = PyTuple_New(2); char desc[20]; - sprintf(desc, "Page %x", *i); + sprintf(desc, "Page %d", *i); PyTuple_SetItem(tuple, 0, PyString_FromString(desc)); PyTuple_SetItem(tuple, 1, PyInt_FromLong(*i)); PyList_Append(l, tuple);