summaryrefslogtreecommitdiff
path: root/client/device.c
diff options
context:
space:
mode:
Diffstat (limited to 'client/device.c')
-rw-r--r--client/device.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/client/device.c b/client/device.c
index de0865f..3bc0dbd 100644
--- a/client/device.c
+++ b/client/device.c
@@ -88,6 +88,12 @@ bool cStreamdevDevice::IsTunedToTransponder(const cChannel *Channel)
Channel->Transponder() == m_Channel->Transponder();
}
+const cChannel *cStreamdevDevice::GetCurrentlyTunedTransponder(void) const {
+ if (m_ClientSocket->DataSocket(siLive) != NULL)
+ return m_Channel;
+ return NULL;
+}
+
bool cStreamdevDevice::ProvidesChannel(const cChannel *Channel, int Priority,
bool *NeedsDetachReceivers) const {
if (m_Disabled || Channel == m_DenyChannel)