]> git.vomp.tv Git - vompclient.git/commitdiff
clean up
authorChris Tallon <chris@vomp.tv>
Thu, 11 Aug 2005 23:25:51 +0000 (23:25 +0000)
committerChris Tallon <chris@vomp.tv>
Thu, 11 Aug 2005 23:25:51 +0000 (23:25 +0000)
vchannellist.cc

index b6207917b8d8328bf95752c0ed6507acb20601f2..4bbfdfc80f7e771f76d610cc883c7cf43b73eb64 100644 (file)
@@ -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);