From 62acd315ade4c95db5f88c9bda668677e9c6f438 Mon Sep 17 00:00:00 2001 From: Oliver Freyermuth Date: Fri, 8 Jan 2016 20:19:57 +0100 Subject: player, stream_dvb: implement dvb-channel-name property. On read, it returns the name of the current DVB program, on write, it triggers a channel-switch to the program if it is found in the channel list of the currently active card. Compared to the dvb-channel property which already exists and is a pair of integers (card + channel number) this has the limitation of not switching the card, but is probably of much more common use. --- stream/stream.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'stream/stream.h') diff --git a/stream/stream.h b/stream/stream.h index 28a6ba6bc9..11e70bcb7d 100644 --- a/stream/stream.h +++ b/stream/stream.h @@ -98,6 +98,8 @@ enum stream_ctrl { STREAM_CTRL_TV_STEP_CHAN, STREAM_CTRL_TV_LAST_CHAN, STREAM_CTRL_DVB_SET_CHANNEL, + STREAM_CTRL_DVB_SET_CHANNEL_NAME, + STREAM_CTRL_DVB_GET_CHANNEL_NAME, STREAM_CTRL_DVB_STEP_CHANNEL, // Optical discs -- cgit v1.2.3