Changeset 41783 for titan/titan


Ignore:
Timestamp:
01/20/18 20:31:08 (6 years ago)
Author:
obi
Message:

add dm920 / wetek step 2

Location:
titan/titan
Files:
19 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/adjust.h

    r40908 r41783  
    175175        addchoicebox(screenanim, "4", _("left to right"));
    176176        addchoicebox(screenanim, "5", _("top to bottom"));
    177         if(checkbox("DM7020HD") == 1 || checkbox("DM7020HDV2") == 1 || checkbox("DM900") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1)
     177        if(checkbox("DM7020HD") == 1 || checkbox("DM7020HDV2") == 1 || checkbox("DM900") == 1 || checkbox("DM920") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1)
    178178        {
    179179                addchoicebox(screenanim, "11", _("slide from left"));
  • titan/titan/avsettings.h

    r41616 r41783  
    199199                aacmode->hidden = YES;
    200200       
    201         if((checkbox("DM900") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1) && ac3plusmode != NULL)
     201        if((checkbox("DM900") == 1 || checkbox("DM920") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1) && ac3plusmode != NULL)
    202202        {
    203203                ac3plusmode->hidden = NO;
  • titan/titan/ca.h

    r41616 r41783  
    152152                sleep(1);
    153153        }
    154         if(checkbox("DM7020HD") == 1 || checkbox("DM7020HDV2") == 1 || checkbox("DM900") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1 || checkrealbox("HD51") == 1)
     154        if(checkbox("DM7020HD") == 1 || checkbox("DM7020HDV2") == 1 || checkbox("DM900") == 1 || checkbox("DM920") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1 || checkrealbox("HD51") == 1)
    155155                usleep(150000);
    156156        if(ret >= 0 && ret == count && dvbnode != NULL && dvbnode->caslot != NULL) dvbnode->caslot->poll = 0;
     
    19021902        free(buf); buf = NULL;
    19031903        dvbnode->caslot->poll = 0;
    1904         if(checkbox("DM7020HD") == 1 || checkbox("DM7020HDV2") == 1 || checkbox("DM900") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1 || checkrealbox("HD51") == 1)
     1904        if(checkbox("DM7020HD") == 1 || checkbox("DM7020HDV2") == 1 || checkbox("DM900") == 1 || checkbox("DM920") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1 || checkrealbox("HD51") == 1)
    19051905                sleep(1);
    19061906        return ret;
  • titan/titan/cec.h

    r41018 r41783  
    839839        getAddressInfo();
    840840       
    841         if(checkbox("DM900") == 1 && getwaswakuptimer() != 1)
     841        if((checkbox("DM900") == 1 || checkbox("DM920") == 1) && getwaswakuptimer() != 1)
    842842        {       
    843843                sleep(2);
  • titan/titan/channellist.h

    r40446 r41783  
    851851        while(1)
    852852        {
    853                 if(status.markedchannel != NULL && (checkchipset("BCM7424") == 1 || checkbox("DM900") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1 || checkbox("DM7020HD") == 1 || checkbox("DM7020HDV2") == 1))
     853                if(status.markedchannel != NULL && (checkchipset("BCM7424") == 1 || checkbox("DM900") == 1 || checkbox("DM920") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1 || checkbox("DM7020HD") == 1 || checkbox("DM7020HDV2") == 1))
    854854                        writevfdmenu(status.markedchannel->name);
    855855                if(flag == 2)
  • titan/titan/frontenddev.h

    r41780 r41783  
    213213                        fbc = 0;
    214214
    215                 if((checkbox("DM900") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1) && fbc != 1)
     215                if((checkbox("DM900") == 1 || checkbox("DM920") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1) && fbc != 1)
    216216                {
    217217                        if(ostrcmp("fe_01", dvbnode->feshortname) == 0)
     
    22852285                                struct dvb_frontend_info* t_feinfo = NULL;
    22862286                                       
    2287                                 //tricky... temporäre nim_sockets bauen da ansonsten viel im code geändert werden müßte
     2287                                //tricky... tempor\E4re nim_sockets bauen da ansonsten viel im code ge\E4ndert werden m\FC\DFte
    22882288                                free(tmpstr); tmpstr= NULL;
    22892289                                free(tmpstr1); tmpstr1= NULL;
  • titan/titan/global.h

    r41355 r41783  
    50065006        {
    50075007                debug(100, "set %s to %d",progressdev, value);
    5008                 if(checkbox("DM7020HD") == 1 || checkbox("DM7020HDV2") == 1 || checkbox("DM900") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1)
     5008                if(checkbox("DM7020HD") == 1 || checkbox("DM7020HDV2") == 1 || checkbox("DM900") == 1 || checkbox("DM920") == 1 || checkbox("WETEK") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1)
    50095009                        return writesysint(progressdev, value, 1);
    50105010                else
     
    77197719
    77207720        status.sec = 0; //deaktivate spinner
    7721         if(checkbox("DM900") == 1)
     7721        if(checkbox("DM900") == 1 || checkbox("DM920") == 1)
    77227722                cmd = ostrcat(cmd, "backupdream.sh ", 1, 0);
    77237723        else
  • titan/titan/httpdfunc.h

    r40762 r41783  
    56905690                }
    56915691        }
    5692         else if(checkbox("DM900") == 1)
     5692        else if(checkbox("DM900") == 1 || checkbox("DM920") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1 || checkbox("WETEK") == 1)
    56935693        {
    56945694                if(mode == 0)
     
    57315731                        if(ostrstr(ret1[i].part, "_FULL_") != NULL || ostrstr(ret1[i].part, "_FULLBACKUP.") != NULL || ostrstr(ret1[i].part, "_UPDATENFI_") != NULL)
    57325732                        {
    5733                                 if(checkrealbox("DM900") == 1)
    5734                                         cmd = ostrcat(cmd, "/sbin/update2.sh ", 1, 0);
    5735                                 else
     5733//                              if(checkrealbox("DM900") == 1)
     5734//                                      cmd = ostrcat(cmd, "/sbin/update2.sh ", 1, 0);
     5735//                              else
    57365736                                        cmd = ostrcat(cmd, "/sbin/update.sh ", 1, 0);
    57375737                                cmd = ostrcat(cmd, node->type, 1, 0);
     
    57445744                                else if(ostrstr(ret1[i].part, "_UPDATENFI_") != NULL)
    57455745                                        cmd = ostrcat(cmd, "updatenfi ", 1, 0);
     5746                                else if(ostrstr(ret1[i].part, "_UPDATEUSB_") != NULL)
     5747                                        cmd = ostrcat(cmd, "updateusb ", 1, 0);
    57465748
    57475749                                if(mode == 0)
  • titan/titan/infobar.h

    r41757 r41783  
    7373        int playinfobarcount = 0, playinfobarstatus = 0;
    7474       
    75         if(file_exist("/etc/.mipsel") || ((checkbox("ATEMIO520") == 1 || checkbox("ATEMIO530") == 1 || checkbox("DM7020HD") == 1 || checkbox("DM7020HDV2") == 1 || checkbox("DM900") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1) && ostrcmp(getconfig("remotecontrol", NULL), "1") != 1))
     75        if(file_exist("/etc/.mipsel") || ((checkbox("ATEMIO520") == 1 || checkbox("ATEMIO530") == 1 || checkbox("DM7020HD") == 1 || checkbox("DM7020HDV2") == 1 || checkbox("DM900") == 1 || checkbox("DM920") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1) && ostrcmp(getconfig("remotecontrol", NULL), "1") != 1))
    7676                playstop = 0;
    7777        else
     
    243243                       
    244244               
    245                 if(checkbox("VUSOLO2") != 1 && status.pvr == 1 && (rcret == getrcconfigint("rcpause", NULL) || ((checkbox("DM7020HD") == 1 || checkbox("DM7020HDV2") == 1 || checkbox("DM900") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1 || checkbox("ATEMIO520") == 1 || checkbox("ATEMIO530") == 1) && rcret == getrcconfigint("rcplay", NULL) && status.pause == 0 && status.slowspeed == 0 && status.playspeed == 0 && ostrcmp(getconfig("remotecontrol", NULL), "0") == 0)))
     245                if(checkbox("VUSOLO2") != 1 && status.pvr == 1 && (rcret == getrcconfigint("rcpause", NULL) || ((checkbox("DM7020HD") == 1 || checkbox("DM7020HDV2") == 1 || checkbox("DM900") == 1 || checkbox("DM920") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1 || checkbox("ATEMIO520") == 1 || checkbox("ATEMIO530") == 1) && rcret == getrcconfigint("rcplay", NULL) && status.pause == 0 && status.slowspeed == 0 && status.playspeed == 0 && ostrcmp(getconfig("remotecontrol", NULL), "0") == 0)))
    246246                {
    247247                        //timeshift
     
    491491                if(rcret == getrcconfigint("rcblue", NULL) && getconfig("bluekey", NULL) == NULL)
    492492                {
    493                         if(checkbox("DM7020HD") == 0 && checkbox("DM7020HDV2") == 0 && checkbox("DM900") == 0 && checkbox("DM520") == 0 && checkbox("DM525") == 0)
     493                        if(checkbox("DM7020HD") == 0 && checkbox("DM7020HDV2") == 0 && checkbox("DM900") == 0 && checkbox("DM920") == 0 && checkbox("DM520") == 0 && checkbox("DM525") == 0)
    494494                                rcret = getrcconfigint("rctvradio", NULL);
    495495                        else
  • titan/titan/menu.h

    r41616 r41783  
    542542                if(check == 1)
    543543                {
    544                         if(checkbox("DM900") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1)
     544                        if(checkbox("DM900") == 1 || checkbox("DM920") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1)
    545545                                return 0;
    546546                        else
  • titan/titan/mipselport.h

    r41616 r41783  
    204204        debug(444, "FB: var_screeninfo.grayscale %d", var_screeninfo.grayscale);
    205205       
    206         if(checkrealbox("HD51") == 0 && checkbox("DM7020HD") == 0 && checkbox("DM7020HDV2") == 0 && checkbox("DM900") == 0 && checkbox("DM520") == 0 && checkbox("DM525") == 0 )
     206        if(checkrealbox("HD51") == 0 && checkbox("DM7020HD") == 0 && checkbox("DM7020HDV2") == 0 && checkbox("DM900") == 0 && checkbox("DM920") == 0 && checkbox("WETEK") == 0 && checkbox("DM520") == 0 && checkbox("DM525") == 0 )
    207207        {
    208208                if(ioctl(fb->fd, FBIOPUT_VSCREENINFO, &var_screeninfo) < 0)
     
    257257               
    258258                //woraround pixel fehler
    259                 if(checkbox("DM900") == 1)
     259                if(checkbox("DM900") == 1 || checkbox("DM920") == 1)
    260260                {
    261261                        bcm_accel_blit(skinfb->data_phys, skinfb->width, skinfb->height, skinfb->pitch, 0, fb->data_phys, fb->width, fb->height, fb->pitch, 0, 0, skinfb->width, skinfb->height, posx, posy, width, height, 0, 0);
  • titan/titan/oled.h

    r39574 r41783  
    1313        int lcdfd1 = open(getconfig("vfddev", NULL), O_RDWR);
    1414       
    15         if(checkbox("DM900") == 1)
     15        if(checkbox("DM900") == 1 || checkbox("DM920") == 1)
    1616                lfb1 = malloc(xres * yres * 2);
    1717        else
     
    2020                return;
    2121
    22         if(checkbox("DM900") != 1)
     22        if(checkbox("DM900") != 1 && checkbox("DM920") != 1)
    2323        {
    2424               
     
    115115                }
    116116        }
    117         else if(checkbox("DM900") == 1)
     117        else if(checkbox("DM900") == 1 || checkbox("DM920") == 1)
    118118        {
    119119                if(status.updatevfd == PAUSE)
  • titan/titan/pip.h

    r40988 r41783  
    417417                videoclose(node->videodev, -1);
    418418               
    419                 if(flag == 0 && checkbox("DM900") != 1)
     419                if(flag == 0 && checkbox("DM900") != 1 && checkbox("DM920") != 1)
    420420                        pippos(node->videodev, 0, 0, 0, 0, 1);
    421421               
     
    521521        int dst_top = getconfigint("pip_dst_top", NULL);
    522522
    523         if(checkbox("DM900") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1)
     523        if(checkbox("DM900") == 1 || checkbox("DM920") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1)
    524524        {
    525525                b3->hidden = YES;
     
    567567                        break;
    568568                }
    569                 if(checkbox("DM900") != 1 && checkbox("DM520") != 1 && checkbox("DM525") != 1)
     569                if(checkbox("DM900") != 1 && checkbox("DM920") != 1 && checkbox("DM520") != 1 && checkbox("DM525") != 1)
    570570                {
    571571                        if(rcret == getrcconfigint("rcred", NULL))
  • titan/titan/play.h

    r41757 r41783  
    19341934                                        playrcfr(file, showname, &playinfobarstatus, &playinfobarcount, playertype, flag);
    19351935
    1936                                 if(rcret == getrcconfigint("rcpause", NULL) || ((checkbox("DM7020HD") == 1 || checkbox("DM7020HDV2") == 1 || checkbox("DM900") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1 || checkbox("ATEMIO520") == 1 || checkbox("ATEMIO530") == 1) && rcret == getrcconfigint("rcplay", NULL) && status.pause == 0 && status.slowspeed == 0 && status.playspeed == 0 && ostrcmp(getconfig("remotecontrol", NULL), "0") == 0))
     1936                                if(rcret == getrcconfigint("rcpause", NULL) || ((checkbox("DM7020HD") == 1 || checkbox("DM7020HDV2") == 1 || checkbox("DM900") == 1 || checkbox("DM920") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1 || checkbox("ATEMIO520") == 1 || checkbox("ATEMIO530") == 1) && rcret == getrcconfigint("rcplay", NULL) && status.pause == 0 && status.slowspeed == 0 && status.playspeed == 0 && ostrcmp(getconfig("remotecontrol", NULL), "0") == 0))
    19371937                                {       
    19381938                                        playrcpause(file, showname, &playinfobarstatus, &playinfobarcount, playertype, flag);
  • titan/titan/rc.h

    r41542 r41783  
    248248void rcsignal(int flag)
    249249{
    250         if((checkbox("DM900") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1) && status.standby == 0)
     250        if((checkbox("DM900") == 1 || checkbox("DM920") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1) && status.standby == 0)
    251251        {
    252252                int art = getconfigint("dm900frontrun", NULL);
  • titan/titan/service.h

    r41774 r41783  
    301301#endif         
    302302        audiostop(status.aktservice->audiodev);
    303         if(checkbox("DM900") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1)
     303        if(checkbox("DM900") == 1 || checkbox("DM920") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1)
    304304                dmxstop(status.aktservice->dmxaudiodev);
    305305
     
    446446                        if(status.mute != 1)
    447447                        {
    448                                 if(checkbox("DM900") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1)
     448                                if(checkbox("DM900") == 1 || checkbox("DM920") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1)
    449449                                        dmxstart(status.aktservice->dmxaudiodev);
    450450                                audioplay(audionode);
     
    504504        if(status.mute != 1)
    505505        {
    506                 if(checkbox("DM900") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1)
     506                if(checkbox("DM900") == 1 || checkbox("DM920") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1)
    507507                        dmxstart(status.aktservice->dmxaudiodev);
    508508                audioplay(status.aktservice->audiodev);
     
    818818       
    819819                audiostop(node->audiodev);
    820                 if(checkbox("DM900") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1)
     820                if(checkbox("DM900") == 1 || checkbox("DM920") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1)
    821821                        dmxstop(status.aktservice->dmxaudiodev);
    822822
  • titan/titan/skinadjust.h

    r41519 r41783  
    581581
    582582#ifdef MIPSEL
    583                 if(checkbox("DM7020HD") == 0 && checkbox("DM7020HDV2") == 0 && checkbox("DM900") == 0 && checkbox("DM520") == 0 && checkbox("DM525") == 0)
     583                if(checkbox("DM7020HD") == 0 && checkbox("DM7020HDV2") == 0 && checkbox("DM900") == 0 && checkbox("DM920") == 0 && checkbox("DM520") == 0 && checkbox("DM525") == 0)
    584584                        setfbosd();
    585585#endif
  • titan/titan/standby.h

    r40996 r41783  
    1818
    1919        //check if all tuner unlocked, if yes set all volt off
    20         if(getconfigint("standbytuneroff", NULL) == 1 && checkbox("DM7020HD") == 0 && checkbox("DM7020HDV2") == 0 && checkbox("DM900") == 0 && checkbox("DM520") == 0 && checkbox("DM525") == 0)
     20        if(getconfigint("standbytuneroff", NULL) == 1 && checkbox("DM7020HD") == 0 && checkbox("DM7020HDV2") == 0 && checkbox("DM900") == 0 && checkbox("DM920") == 0 && checkbox("DM520") == 0 && checkbox("DM525") == 0)
    2121        {
    2222                while(dvbnode != NULL)
     
    6969                        writesys("/proc/stb/fp/fan", "1", 1);
    7070        }
    71         else if(checkbox("DM900") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1)
     71        else if(checkbox("DM900") == 1 || checkbox("DM920") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1)
    7272                setled(1);
    7373                       
     
    161161        status.rcstandby = NULL;
    162162
    163         if(checkbox("DM900") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1)
     163        if(checkbox("DM900") == 1 || checkbox("DM920") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1)
    164164                setled(1);
    165165       
  • titan/titan/titan.c

    r41759 r41783  
    635635        ret = setac3(getconfig("av_ac3mode", NULL));
    636636
    637         if(checkbox("DM900") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1)
     637        if(checkbox("DM900") == 1 || checkbox("DM920") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1)
    638638        {
    639639                if(getconfig("av_ac3plusmode", NULL) == NULL)
     
    665665 
    666666#ifndef SIMULATE
    667         if(checkrealbox("HD51") == 1 || checkrealbox("DM900") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1 || checkbox("VUSOLO2") == 1)
     667        if(checkrealbox("HD51") == 1 || checkrealbox("DM900") == 1 || checkbox("DM920") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1 || checkbox("VUSOLO2") == 1)
    668668                ret = 0;
    669669
     
    804804#ifdef MIPSEL
    805805        waitvsync();
    806         if(checkbox("DM7020HD") == 0 && checkbox("DM7020HDV2") == 0 && checkbox("VUSOLO2") == 0 && checkbox("DM900") == 0 && checkbox("DM520") == 0 && checkbox("DM525") == 0)
     806        if(checkbox("DM7020HD") == 0 && checkbox("DM7020HDV2") == 0 && checkbox("VUSOLO2") == 0 && checkbox("DM900") == 0 && checkbox("DM920") == 0 && checkbox("DM520") == 0 && checkbox("DM525") == 0)
    807807                setfbosd();
    808808        if(checkrealbox("HD51") ==1)
     
    982982        else
    983983                ret = readscreen(getconfig("keyskin_file", NULL), 0, 0);
    984         if(checkchipset("BCM7424") == 1 || checkbox("DM7020HD") == 1 || checkbox("DM7020HDV2") == 1 || checkbox("DM900") == 1)  //inihdp
     984        if(checkchipset("BCM7424") == 1 || checkbox("DM7020HD") == 1 || checkbox("DM7020HDV2") == 1 || checkbox("DM900") == 1 || checkbox("DM920") == 1)  //inihdp
    985985        {
    986986                if(getconfig("oledskin_path", NULL) == NULL)
     
    10431043                        }
    10441044                }
    1045                 if(checkbox("DM7020HD") == 1 || checkbox("DM7020HDV2") == 1 || checkbox("DM900") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1)
     1045                if(checkbox("DM7020HD") == 1 || checkbox("DM7020HDV2") == 1 || checkbox("DM900") == 1 || checkbox("DM920") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1)
    10461046                {
    10471047                        addconfig("remotecontrol", "0");
Note: See TracChangeset for help on using the changeset viewer.