From 3be39ed76c743647873201942012c43acdcd89a8 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 5 Aug 2013 18:07:12 +0200 Subject: stream_radio: fix some things Using the radio set/step channel commands would have crashed (that was broken for about a year, nobody ever noticed). The "capture" part of a radio:// URI was incorrectly passed (this was broken quite recently). Still couldn't test it fully. I have no radio device. I suspect nobody uses this feature or will ever use it again. --- stream/stream_radio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'stream/stream_radio.c') diff --git a/stream/stream_radio.c b/stream/stream_radio.c index 56a01c7d7c..5fdf22ba9e 100644 --- a/stream/stream_radio.c +++ b/stream/stream_radio.c @@ -120,7 +120,7 @@ typedef struct radio_driver_s { #define OPT_BASE_STRUCT radio_param_t static const m_option_t stream_opts_fields[] = { OPT_FLOAT("title", freq_channel, 0), - OPT_STRING("device", capture, 0), + OPT_STRING("capture", capture, 0), {0} }; @@ -967,7 +967,7 @@ const stream_info_t stream_info_radio = { .options = stream_opts_fields, .url_options = { {"hostname", "freqchannel"}, - {"username", "capture"}, + {"filename", "capture"}, {0} }, }; -- cgit v1.2.3