mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
- rename IS_WEBTV => IS_WEBCHAN
Conflicts: src/zapit/src/capmt.cpp Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -657,7 +657,7 @@ int CChannelList::show()
|
||||
}
|
||||
}
|
||||
else if(!edit_state && !empty && msg == (neutrino_msg_t) g_settings.key_record) { //start direct recording from channellist
|
||||
if((g_settings.recording_type != CNeutrinoApp::RECORDING_OFF) && SameTP() /* && !IS_WEBTV((*chanlist)[selected]->getChannelID()) */) {
|
||||
if((g_settings.recording_type != CNeutrinoApp::RECORDING_OFF) && SameTP() /* && !IS_WEBCHAN((*chanlist)[selected]->getChannelID()) */) {
|
||||
printf("[neutrino channellist] start direct recording...\n");
|
||||
hide();
|
||||
if (!CRecordManager::getInstance()->Record((*chanlist)[selected]->getChannelID())) {
|
||||
@@ -1550,7 +1550,7 @@ void CChannelList::paintDetails(int index)
|
||||
else
|
||||
p_event = &(*chanlist)[index]->currentEvent;
|
||||
|
||||
if (/* !IS_WEBTV((*chanlist)[index]->getChannelID()) && */ p_event && !p_event->description.empty()) {
|
||||
if (/* !IS_WEBCHAN((*chanlist)[index]->getChannelID()) && */ p_event && !p_event->description.empty()) {
|
||||
char cNoch[50] = {0}; // UTF-8
|
||||
char cSeit[50] = {0}; // UTF-8
|
||||
|
||||
@@ -1614,10 +1614,10 @@ void CChannelList::paintDetails(int index)
|
||||
g_Font[SNeutrinoSettings::FONT_TYPE_CHANNELLIST_DESCR]->RenderString(x+ full_width- OFFSET_INNER_MID- seit_len, ypos_a + fheight , seit_len, cSeit, colored_event_C ? COL_COLORED_EVENTS_TEXT : COL_MENUCONTENTDARK_TEXT);
|
||||
g_Font[SNeutrinoSettings::FONT_TYPE_CHANNELLIST_DESCR]->RenderString(x+ full_width- OFFSET_INNER_MID- noch_len, ypos_a + fdescrheight+ fheight, noch_len, cNoch, colored_event_C ? COL_COLORED_EVENTS_TEXT : COL_MENUCONTENTDARK_TEXT);
|
||||
}
|
||||
else if (IS_WEBTV((*chanlist)[index]->getChannelID())) {
|
||||
else if (IS_WEBCHAN((*chanlist)[index]->getChannelID())) {
|
||||
g_Font[SNeutrinoSettings::FONT_TYPE_CHANNELLIST]->RenderString(x+ OFFSET_INNER_MID, ypos_a + fheight, full_width - 3*OFFSET_INNER_MID, (*chanlist)[index]->getDesc(), colored_event_C ? COL_COLORED_EVENTS_TEXT : COL_MENUCONTENTDARK_TEXT, 0, true);
|
||||
}
|
||||
if (g_settings.channellist_foot == 0 && IS_WEBTV((*chanlist)[index]->getChannelID())) {
|
||||
if (g_settings.channellist_foot == 0 && IS_WEBCHAN((*chanlist)[index]->getChannelID())) {
|
||||
g_Font[SNeutrinoSettings::FONT_TYPE_CHANNELLIST]->RenderString(x+ OFFSET_INNER_MID, ypos_a + 2*fheight + fdescrheight, full_width - 3*OFFSET_INNER_MID, (*chanlist)[index]->getUrl(), COL_MENUCONTENTDARK_TEXT, 0, true);
|
||||
} else if(g_settings.channellist_foot == 0) {
|
||||
transponder t;
|
||||
@@ -1790,7 +1790,7 @@ void CChannelList::paintButtonBar(bool is_current)
|
||||
//manage record button
|
||||
if (g_settings.recording_type == RECORDING_OFF)
|
||||
continue;
|
||||
if (IS_WEBTV(channel_id))
|
||||
if (IS_WEBCHAN(channel_id))
|
||||
continue;
|
||||
if (!displayNext){
|
||||
if (do_record){
|
||||
@@ -1808,7 +1808,7 @@ void CChannelList::paintButtonBar(bool is_current)
|
||||
if (i == 5) {
|
||||
//manage pip button
|
||||
#ifdef ENABLE_PIP
|
||||
if (!is_current || IS_WEBTV(channel_id))
|
||||
if (!is_current || IS_WEBCHAN(channel_id))
|
||||
#endif
|
||||
continue;
|
||||
}
|
||||
@@ -2247,7 +2247,7 @@ bool CChannelList::SameTP(t_channel_id channel_id)
|
||||
bool iscurrent = true;
|
||||
|
||||
if(CNeutrinoApp::getInstance()->recordingstatus) {
|
||||
if (IS_WEBTV(channel_id))
|
||||
if (IS_WEBCHAN(channel_id))
|
||||
return true;
|
||||
|
||||
CZapitChannel * channel = CServiceManager::getInstance()->FindChannel(channel_id);
|
||||
@@ -2267,7 +2267,7 @@ bool CChannelList::SameTP(CZapitChannel * channel)
|
||||
if(channel == NULL)
|
||||
channel = (*chanlist)[selected];
|
||||
|
||||
if (IS_WEBTV(channel->getChannelID()))
|
||||
if (IS_WEBCHAN(channel->getChannelID()))
|
||||
return true;
|
||||
|
||||
iscurrent = CFEManager::getInstance()->canTune(channel);
|
||||
|
Reference in New Issue
Block a user