mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 00:11:08 +02:00
show with cool rc current transponder list
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@782 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Branch: ni/coolstream
Commit: 953b1d8010
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2010-09-19 (Sun, 19 Sep 2010)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1104,13 +1104,14 @@ int CChannelList::numericZap(int key)
|
|||||||
}
|
}
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
if ((key == g_settings.key_zaphistory) || (key == CRCInput::RC_games)) {
|
||||||
if (key == g_settings.key_zaphistory) {
|
if((!autoshift && CNeutrinoApp::getInstance()->recordingstatus) || (key == CRCInput::RC_games)) {
|
||||||
if(!autoshift && CNeutrinoApp::getInstance()->recordingstatus) {
|
|
||||||
//CChannelList * orgList = bouquetList->orgChannelList;
|
//CChannelList * orgList = bouquetList->orgChannelList;
|
||||||
CChannelList * orgList = CNeutrinoApp::getInstance()->channelList;
|
CChannelList * orgList = CNeutrinoApp::getInstance()->channelList;
|
||||||
CChannelList * channelList = new CChannelList(g_Locale->getText(LOCALE_CHANNELLIST_CURRENT_TP), false, true);
|
CChannelList * channelList = new CChannelList(g_Locale->getText(LOCALE_CHANNELLIST_CURRENT_TP), false, true);
|
||||||
t_channel_id recid = rec_channel_id >> 16;
|
t_channel_id recid = rec_channel_id >> 16;
|
||||||
|
if(key == CRCInput::RC_games)
|
||||||
|
recid = chanlist[selected]->channel_id >> 16;
|
||||||
for ( unsigned int i = 0 ; i < orgList->chanlist.size(); i++) {
|
for ( unsigned int i = 0 ; i < orgList->chanlist.size(); i++) {
|
||||||
if((orgList->chanlist[i]->channel_id >> 16) == recid) {
|
if((orgList->chanlist[i]->channel_id >> 16) == recid) {
|
||||||
channelList->addChannel(orgList->chanlist[i]);
|
channelList->addChannel(orgList->chanlist[i]);
|
||||||
|
@@ -2840,6 +2840,12 @@ void CNeutrinoApp::RealRun(CMenuWidget &mainMenu)
|
|||||||
StartSubtitles();
|
StartSubtitles();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else if (msg == CRCInput::RC_games){
|
||||||
|
StopSubtitles();
|
||||||
|
int res = channelList->numericZap( msg );
|
||||||
|
if(res < 0)
|
||||||
|
StartSubtitles();
|
||||||
|
}
|
||||||
else if( msg == (neutrino_msg_t) g_settings.key_lastchannel ) {
|
else if( msg == (neutrino_msg_t) g_settings.key_lastchannel ) {
|
||||||
// Quick Zap
|
// Quick Zap
|
||||||
StopSubtitles();
|
StopSubtitles();
|
||||||
|
Reference in New Issue
Block a user