Changeset 34816 for titan


Ignore:
Timestamp:
07/15/15 21:11:35 (9 years ago)
Author:
gost
Message:

[titan] nemesis... TV<->HDMI switch with exit-key

Location:
titan/titan
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/infobar.h

    r34815 r34816  
    192192                        }
    193193                }
    194 
     194#ifdef MIPSEL
     195                if(rcret == getrcconfigint("rcexit", NULL) && checkchipset("BCM7424") == 1 && status.infobar == 0)
     196                {
     197                        if(status.aktservice->type == CHANNEL)
     198                                servicefullHDMIin_start();
     199                        else if(status.aktservice->type == HDMIIN)
     200                        {
     201                                if(status.lastservice->channel != NULL)
     202                                {
     203                                        tmpstr = ostrcat(status.lastservice->channellist, NULL, 0, 0);
     204                                        servicecheckret(servicestart(status.lastservice->channel, tmpstr, NULL, 0), 0);
     205                                        free(tmpstr); tmpstr = NULL;
     206                                }
     207                        }
     208                        infobartimeout = 0;
     209                        infobar = infobar1;
     210                        if(status.infobar == 0)
     211                                drawscreen(infobar, 0, 4);
     212                        else
     213                                drawscreen(infobar, 0, 0);
     214                        status.infobar = 1;
     215                        continue;
     216                }
     217#endif
    195218                //Plugin von aussen aufrufen
    196219                //if(rcret == RCTIMEOUT && status.extplugin != NULL)
     
    597620                        continue;
    598621                }
    599 //              if(rcret == getrcconfigint("rcrecord", NULL))
     622//      if(rcret == getrcconfigint("rcrecord", NULL))
    600623                if(rcret == getrcconfigint("rcrecord", NULL) && status.pvr == 1)
    601624                {
  • titan/titan/service.h

    r34801 r34816  
    10171017        status.aktservice->audiodev = audionode;
    10181018        status.aktservice->type = HDMIIN;
    1019         status.aktservice->channel = NULL;
     1019        delchannel(65535, 0, 1);
     1020        status.aktservice->channel = createchannel("HDMIIN", 0, 0, 65535, 99, 0, -1, -1, -1, -1, 0, -1);
    10201021}
    10211022#endif
  • titan/titan/skinfunc.h

    r34581 r34816  
    806806        char* tmpstr = NULL;
    807807
     808        if(status.aktservice->type == HDMIIN)
     809        {
     810                tmpstr = ostrcat(tmpstr, "HDMI-in", 1, 0);
     811                return tmpstr;
     812        }
     813
    808814        epgnode = getepgakt(status.aktservice->channel);
    809815        if(epgnode != NULL)
Note: See TracChangeset for help on using the changeset viewer.