Changeset 46188 for titan


Ignore:
Timestamp:
08/18/22 13:43:16 (20 months ago)
Author:
obi
Message:

fix iptv

Location:
titan/titan
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/channellist.h

    r46097 r46188  
    8585                {
    8686                    tmpstr = ostrcat(tmpchannel->name, " (IpTV)", 0, 0);
     87                    if(tmpchannel->epgurl != NULL)
     88                        tmpstr = ostrcat(tmpstr, " (Ext-Epg)", 1, 0);
     89                    else
     90                        tmpstr = ostrcat(tmpstr, " (Sat-Epg)", 1, 0);
     91
    8792                                changetext(chnode, tmpstr);
    8893                    free(tmpstr), tmpstr = NULL;
     
    9499                                chnode->handle = (char*) tmpchannel;
    95100                                chnode->handle1 = (char*) tmpchannel;
    96                                 if(mode == 0 && channelnottunable(tmpchannel) == 1)
    97                                 {
    98                                         if(status.channellistview == 0)
    99                                                 chnode->hidden = YES;
    100                                         else
    101                                                 chnode->deaktivcol = deaktivcol;
     101                                if(tmpchannel->epgurl == NULL && mode == 0 && channelnottunable(tmpchannel) == 1)
     102                                {
     103                                    if(status.channellistview == 0)
     104                                            chnode->hidden = YES;
     105                                    else
     106                                            chnode->deaktivcol = deaktivcol;
    102107                                }
    103108                                if(status.showchanneltimeline == 1 && channeltimeline != status.skinerr)
     
    179184                                        chnode->handle = (char*) tmpbouquet->channel;
    180185                                        chnode->handle1 = (char*) tmpbouquet;
    181                                         if(mode == 0 && channelnottunable(tmpbouquet->channel) == 1)
     186                                        if(tmpbouquet->channel->epgurl == NULL && mode == 0 && channelnottunable(tmpbouquet->channel) == 1)
    182187                                        {
    183188                                                if(status.channellistview == 0)
     
    232237                                        chnode->handle = (char*) tmpchannel;
    233238                                        chnode->handle1 = (char*) tmpchannel;
    234                                         if(mode == 0 && channelnottunable(tmpchannel) == 1)
     239                                        if(tmpchannel->epgurl == NULL && mode == 0 && channelnottunable(tmpchannel) == 1)
    235240                                        {
    236241                                                if(status.channellistview == 0)
     
    330335                                        chnode->handle = (char*) tmpchannel;
    331336                                        chnode->handle1 = (char*) tmpchannel;
    332                                         if(mode == 0 && channelnottunable(tmpchannel) == 1)
     337                                        if(tmpchannel->epgurl == NULL && mode == 0 && channelnottunable(tmpchannel) == 1)
    333338                                        {
    334339                                                if(status.channellistview == 0)
     
    435440                                        chnode->handle = (char*) tmpchannel;
    436441                                        chnode->handle1 = (char*) tmpchannel;
    437                                         if(mode == 0 && channelnottunable(tmpchannel) == 1)
     442                                        if(tmpchannel->epgurl == NULL && mode == 0 && channelnottunable(tmpchannel) == 1)
    438443                                        {
    439444                                                if(status.channellistview == 0)
  • titan/titan/global.h

    r46185 r46188  
    87648764    {
    87658765        int count = 0, ret = 0;
    8766         char* tmpstr = 1;
    87678766
    87688767        while(count < 5)
Note: See TracChangeset for help on using the changeset viewer.