<description>BER value</description>
<left>220</left>
<top>165</top>
- <width>1000</width>
+ <width>165</width>
<height>25</height>
<label>$INFO[PVR.ActStreamBER]</label>
<align>left</align>
</control>
<control type="label">
<description>UNC</description>
- <left>430</left>
+ <left>390</left>
<top>165</top>
<width>165</width>
<height>25</height>
</control>
<control type="label">
<description>UNC value</description>
- <left>600</left>
+ <left>560</left>
<top>165</top>
- <width>1000</width>
+ <width>165</width>
<height>25</height>
<label>$INFO[PVR.ActStreamUNC]</label>
<align>left</align>
<textcolor>white</textcolor>
</control>
<control type="label">
+ <description>Service</description>
+ <left>730</left>
+ <top>165</top>
+ <width>165</width>
+ <height>25</height>
+ <label>$LOCALIZE[19099]:</label>
+ <align>left</align>
+ <aligny>center</aligny>
+ <font>font12</font>
+ <textcolor>grey2</textcolor>
+ </control>
+ <control type="label">
+ <description>Service value</description>
+ <left>900</left>
+ <top>165</top>
+ <width>330</width>
+ <height>25</height>
+ <label>$INFO[PVR.ActStreamServiceName]</label>
+ <align>left</align>
+ <aligny>center</aligny>
+ <font>font12</font>
+ <textcolor>white</textcolor>
+ </control>
+ <control type="label">
<description>Encryption</description>
<left>50</left>
<top>190</top>
<description>Encryption value</description>
<left>220</left>
<top>190</top>
- <width>1000</width>
+ <width>165</width>
<height>25</height>
<label>$INFO[PVR.ActStreamEncryptionName]</label>
<align>left</align>
<font>font12</font>
<textcolor>white</textcolor>
</control>
+ <control type="label">
+ <description>Provider</description>
+ <left>390</left>
+ <top>190</top>
+ <width>165</width>
+ <height>25</height>
+ <label>$LOCALIZE[19101]:</label>
+ <align>left</align>
+ <aligny>center</aligny>
+ <font>font12</font>
+ <textcolor>grey2</textcolor>
+ </control>
+ <control type="label">
+ <description>Provider value</description>
+ <left>560</left>
+ <top>190</top>
+ <width>165</width>
+ <height>25</height>
+ <label>$INFO[PVR.ActStreamProviderName]</label>
+ <align>left</align>
+ <aligny>center</aligny>
+ <font>font12</font>
+ <textcolor>white</textcolor>
+ </control>
+ <control type="label">
+ <description>Mux</description>
+ <left>730</left>
+ <top>190</top>
+ <width>165</width>
+ <height>25</height>
+ <label>$LOCALIZE[19100]:</label>
+ <align>left</align>
+ <aligny>center</aligny>
+ <font>font12</font>
+ <textcolor>grey2</textcolor>
+ </control>
+ <control type="label">
+ <description>Mux value</description>
+ <left>900</left>
+ <top>190</top>
+ <width>330</width>
+ <height>25</height>
+ <label>$INFO[PVR.ActStreamMux]</label>
+ <align>left</align>
+ <aligny>center</aligny>
+ <font>font12</font>
+ <textcolor>white</textcolor>
+ </control>
</control>
</controls>
</window>
msgid "Warning"
msgstr ""
-#empty strings from id 19099 to 19101
+#: xbmc/pvr/PVRGUIInfo.cpp
+msgctxt "#19099"
+msgid "Service"
+msgstr ""
+
+#: xbmc/pvr/PVRGUIInfo.cpp
+msgctxt "#19100"
+msgid "Mux"
+msgstr ""
+
+#: xbmc/pvr/PVRGUIInfo.cpp
+msgctxt "#19101"
+msgid "Provider"
+msgstr ""
msgctxt "#19102"
msgid "Please switch to another channel."
{ "actstreamprogrsignal", PVR_ACTUAL_STREAM_SIG_PROGR },
{ "actstreamprogrsnr", PVR_ACTUAL_STREAM_SNR_PROGR },
{ "actstreamisencrypted", PVR_ACTUAL_STREAM_ENCRYPTED },
- { "actstreamencryptionname", PVR_ACTUAL_STREAM_CRYPTION }};
+ { "actstreamencryptionname", PVR_ACTUAL_STREAM_CRYPTION },
+ { "actstreamservicename", PVR_ACTUAL_STREAM_SERVICE },
+ { "actstreammux", PVR_ACTUAL_STREAM_MUX },
+ { "actstreamprovidername", PVR_ACTUAL_STREAM_PROVIDER }};
const infomap slideshow[] = {{ "ispaused", SLIDESHOW_ISPAUSED },
{ "isactive", SLIDESHOW_ISACTIVE },
case PVR_ACTUAL_STREAM_AUDIO_BR:
case PVR_ACTUAL_STREAM_DOLBY_BR:
case PVR_ACTUAL_STREAM_CRYPTION:
+ case PVR_ACTUAL_STREAM_SERVICE:
+ case PVR_ACTUAL_STREAM_MUX:
+ case PVR_ACTUAL_STREAM_PROVIDER:
g_PVRManager.TranslateCharInfo(info, strLabel);
break;
case WEATHER_CONDITIONS:
#define PVR_ACTUAL_STREAM_AUDIO_BR (PVR_STRINGS_START + 31)
#define PVR_ACTUAL_STREAM_DOLBY_BR (PVR_STRINGS_START + 32)
#define PVR_ACTUAL_STREAM_CRYPTION (PVR_STRINGS_START + 33)
-#define PVR_STRINGS_END PVR_ACTUAL_STREAM_CRYPTION
+#define PVR_ACTUAL_STREAM_SERVICE (PVR_STRINGS_START + 34)
+#define PVR_ACTUAL_STREAM_MUX (PVR_STRINGS_START + 35)
+#define PVR_ACTUAL_STREAM_PROVIDER (PVR_STRINGS_START + 36)
+#define PVR_STRINGS_END PVR_ACTUAL_STREAM_PROVIDER
#define WINDOW_PROPERTY 9993
#define WINDOW_IS_TOPMOST 9994
{
char strAdapterName[PVR_ADDON_NAME_STRING_LENGTH]; /*!< @brief (optional) name of the adapter that's being used */
char strAdapterStatus[PVR_ADDON_NAME_STRING_LENGTH]; /*!< @brief (optional) status of the adapter that's being used */
+ char strServiceName[PVR_ADDON_NAME_STRING_LENGTH]; /*!< @brief (optional) name of the current service */
+ char strProviderName[PVR_ADDON_NAME_STRING_LENGTH]; /*!< @brief (optional) name of the current service's provider */
+ char strMuxName[PVR_ADDON_NAME_STRING_LENGTH]; /*!< @brief (optional) name of the current mux */
int iSNR; /*!< @brief (optional) signal/noise ratio */
int iSignal; /*!< @brief (optional) signal strength */
long iBER; /*!< @brief (optional) bit error rate */
case PVR_ACTUAL_STREAM_CRYPTION:
CharInfoEncryption(strValue);
break;
+ case PVR_ACTUAL_STREAM_SERVICE:
+ CharInfoService(strValue);
+ break;
+ case PVR_ACTUAL_STREAM_MUX:
+ CharInfoMux(strValue);
+ break;
+ case PVR_ACTUAL_STREAM_PROVIDER:
+ CharInfoProvider(strValue);
+ break;
case PVR_BACKEND_NAME:
CharInfoBackendName(strValue);
break;
strValue = StringUtils::EmptyString;
}
+void CPVRGUIInfo::CharInfoService(CStdString &strValue) const
+{
+ if (!strcmp(m_qualityInfo.strServiceName, StringUtils::EmptyString))
+ strValue.Format("%s", g_localizeStrings.Get(13205));
+ else
+ strValue.Format("%s", m_qualityInfo.strServiceName);
+}
+
+void CPVRGUIInfo::CharInfoMux(CStdString &strValue) const
+{
+ if (!strcmp(m_qualityInfo.strMuxName, StringUtils::EmptyString))
+ strValue.Format("%s", g_localizeStrings.Get(13205));
+ else
+ strValue.Format("%s", m_qualityInfo.strMuxName);
+}
+
+void CPVRGUIInfo::CharInfoProvider(CStdString &strValue) const
+{
+ if (!strcmp(m_qualityInfo.strProviderName, StringUtils::EmptyString))
+ strValue.Format("%s", g_localizeStrings.Get(13205));
+ else
+ strValue.Format("%s", m_qualityInfo.strProviderName);
+}
+
void CPVRGUIInfo::UpdateBackendCache(void)
{
CStdString strBackendName;
void CharInfoBackendRecordings(CStdString &strValue) const;
void CharInfoPlayingClientName(CStdString &strValue) const;
void CharInfoEncryption(CStdString &strValue) const;
+ void CharInfoService(CStdString &strValue) const;
+ void CharInfoMux(CStdString &strValue) const;
+ void CharInfoProvider(CStdString &strValue) const;
/** @name GUIInfoManager data */
//@{