From ea9e0821106d886fe6f37ce42af4427a19ad1f8f Mon Sep 17 00:00:00 2001 From: Chris Tallon Date: Thu, 11 Aug 2005 23:25:51 +0000 Subject: [PATCH] clean up --- vchannellist.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vchannellist.cc b/vchannellist.cc index b620791..4bbfdfc 100644 --- a/vchannellist.cc +++ b/vchannellist.cc @@ -175,6 +175,7 @@ int VChannelList::handleCommand(int command) return 2; } case Remote::OK: + case Remote::PLAY: { Channel* chan = NULL; if (chanList) @@ -191,6 +192,8 @@ int VChannelList::handleCommand(int command) if (chan == NULL) return 2; + if (chan->type == VDR::RADIO) return 2; + VVideoLive* v = new VVideoLive(chanList, chan->type); v->setChannel(chan->number); -- 2.39.5