From: Chris Tallon Date: Thu, 11 Aug 2005 23:25:51 +0000 (+0000) Subject: clean up X-Git-Url: https://git.vomp.tv/gitweb/?a=commitdiff_plain;h=ea9e0821106d886fe6f37ce42af4427a19ad1f8f;p=vompclient-marten.git clean up --- 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);