From 50bed6a8c61c9ec793a35893ce0fa4a9bcffba45 Mon Sep 17 00:00:00 2001 From: Rolf Ahrenberg Date: Fri, 19 Oct 2007 17:49:35 +0000 Subject: [PATCH] Changed the default file location for EXT protocol in channel editor. --- setup.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/setup.c b/setup.c index 07b8049..93d2162 100644 --- a/setup.c +++ b/setup.c @@ -3,7 +3,7 @@ * * See the README file for copyright information and how to reach the author. * - * $Id: setup.c,v 1.36 2007/10/19 17:07:13 ajhseppa Exp $ + * $Id: setup.c,v 1.37 2007/10/19 17:49:35 rahrenbe Exp $ */ #include @@ -293,6 +293,10 @@ eOSState cIptvMenuEditChannel::ProcessKey(eKeys Key) } if ((Key != kNone) && (data.protocol != oldProtocol)) { switch (data.protocol) { + case eProtocolEXT: + strn0cpy(data.location, "/video/iptvstream.sh", sizeof(data.location)); + data.port = 0; + break; case eProtocolFILE: strn0cpy(data.location, "/tmp/video.ts", sizeof(data.location)); data.port = 0; @@ -302,7 +306,6 @@ eOSState cIptvMenuEditChannel::ProcessKey(eKeys Key) data.port = 3000; break; default: - case eProtocolEXT: case eProtocolUDP: strn0cpy(data.location, "127.0.0.1", sizeof(data.location)); data.port = 1234;