Changeset 40446


Ignore:
Timestamp:
05/20/17 13:36:18 (6 years ago)
Author:
obi
Message:

add dm520/dm525

Location:
titan/titan
Files:
16 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/adjust.h

    r39435 r40446  
    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)
     177        if(checkbox("DM7020HD") == 1 || checkbox("DM7020HDV2") == 1 || checkbox("DM900") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1)
    178178        {
    179179                addchoicebox(screenanim, "11", _("slide from left"));
  • titan/titan/avsettings.h

    r39947 r40446  
    181181        free(ret); ret = NULL;
    182182       
    183         if(checkbox("DM900") == 1 && ac3plusmode != NULL)
     183        if((checkbox("DM900") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1) && ac3plusmode != NULL)
    184184        {
    185185                ac3plusmode->hidden = NO;
  • titan/titan/ca.h

    r39435 r40446  
    142142
    143143        ret = dvbwrite(fd, buf, count, tout);
    144         if(checkbox("DM7020HD") == 1 || checkbox("DM7020HDV2") == 1 || checkbox("DM900") == 1)
     144        if(checkbox("DM7020HD") == 1 || checkbox("DM7020HDV2") == 1 || checkbox("DM900") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1)
    145145                usleep(150000);
    146146        if(ret >= 0 && ret == count && dvbnode != NULL && dvbnode->caslot != NULL) dvbnode->caslot->poll = 0;
     
    15071507        free(buf); buf = NULL;
    15081508        dvbnode->caslot->poll = 0;
    1509         if(checkbox("DM7020HD") == 1 || checkbox("DM7020HDV2") == 1 || checkbox("DM900") == 1)
     1509        if(checkbox("DM7020HD") == 1 || checkbox("DM7020HDV2") == 1 || checkbox("DM900") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1)
    15101510                sleep(1);
    15111511        return ret;
  • titan/titan/channellist.h

    r39689 r40446  
    851851        while(1)
    852852        {
    853                 if(status.markedchannel != NULL && (checkchipset("BCM7424") == 1 || checkbox("DM900") == 1 || checkbox("DM7020HD") == 1 || checkbox("DM7020HDV2") == 1))
     853                if(status.markedchannel != NULL && (checkchipset("BCM7424") == 1 || checkbox("DM900") == 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

    r40016 r40446  
    174174                if(dvbnode->type != FRONTENDDEV) break;
    175175
    176                 if(checkbox("DM900") == 1)
     176                if(checkbox("DM900") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1)
    177177                {
    178178                        if(ostrcmp("fe_01", dvbnode->feshortname) == 0)
  • titan/titan/global.h

    r40420 r40446  
    50055005        {
    50065006                debug(100, "set %s to %d",progressdev, value);
    5007                 if(checkbox("DM7020HD") == 1 || checkbox("DM7020HDV2") == 1 || checkbox("DM900") == 1)
     5007                if(checkbox("DM7020HD") == 1 || checkbox("DM7020HDV2") == 1 || checkbox("DM900") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1)
    50085008                        return writesysint(progressdev, value, 1);
    50095009                else
     
    76437643
    76447644        status.sec = 0; //deaktivate spinner
    7645         if(checkbox("DM900") == 1)
     7645        if(checkbox("DM900") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1)
    76467646                cmd = ostrcat(cmd, "backupdream.sh ", 1, 0);
    76477647        else
  • titan/titan/httpdfunc.h

    r40424 r40446  
    56905690                }
    56915691        }
    5692         else if(checkbox("DM900") == 1)
     5692        else if(checkbox("DM900") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 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)
     5733                                if(checkrealbox("DM900") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1)
    57345734                                        cmd = ostrcat(cmd, "/sbin/update2.sh ", 1, 0);
    57355735                                else
  • titan/titan/infobar.h

    r40127 r40446  
    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) && 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("DM520") == 1 || checkbox("DM525") == 1) && ostrcmp(getconfig("remotecontrol", NULL), "1") != 1))
    7676                playstop = 0;
    7777        else
     
    238238                       
    239239               
    240                 if(status.pvr == 1 && (rcret == getrcconfigint("rcpause", NULL) || ((checkbox("DM7020HD") == 1 || checkbox("DM7020HDV2") == 1 || checkbox("DM900") == 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)))
     240                if(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)))
    241241                {
    242242                        //timeshift
     
    486486                if(rcret == getrcconfigint("rcblue", NULL) && getconfig("bluekey", NULL) == NULL)
    487487                {
    488                         if(checkbox("DM7020HD") == 0 && checkbox("DM7020HDV2") == 0 && checkbox("DM900") == 0)
     488                        if(checkbox("DM7020HD") == 0 && checkbox("DM7020HDV2") == 0 && checkbox("DM900") == 0 || checkbox("DM520") == 0 || checkbox("DM525") == 0)
    489489                                rcret = getrcconfigint("rctvradio", NULL);
    490490                        else
     
    11111111                }
    11121112                // pip atemio7600 ??
    1113                 if((rcret == getrcconfigint("rcpip", NULL) || rcret == getrcconfigint("rcpiprec", NULL)) && (checkchipset("BCM7424") == 1 || checkbox("ATEMIO6200") == 1 || checkbox("UFS922") == 1 || checkbox("UFS913") == 1 || checkbox("DM900") == 1))
     1113                if((rcret == getrcconfigint("rcpip", NULL) || rcret == getrcconfigint("rcpiprec", NULL)) && (checkchipset("BCM7424") == 1 || checkbox("ATEMIO6200") == 1 || checkbox("UFS922") == 1 || checkbox("UFS913") == 1 || checkbox("DM900") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1))
    11141114                {
    11151115                        if(status.pipservice->videodev == NULL)
  • titan/titan/menu.h

    r39509 r40446  
    542542                if(check == 1)
    543543                {
    544                         if(checkbox("DM900") == 1)
     544                        if(checkbox("DM900") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1)
    545545                                return 0;
    546546                        else
  • titan/titan/pip.h

    r39992 r40446  
    512512        int dst_top = getconfigint("pip_dst_top", NULL);
    513513
    514         if(checkbox("DM900") == 1)
     514        if(checkbox("DM900") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1)
    515515        {
    516516                b3->hidden = YES;
     
    558558                        break;
    559559                }
    560                 if(checkbox("DM900") != 1)
     560                if(checkbox("DM900") != 1 && checkbox("DM520") != 1 && checkbox("DM525") != 1)
    561561                {
    562562                        if(rcret == getrcconfigint("rcred", NULL))
  • titan/titan/play.h

    r39839 r40446  
    18281828                                        playrcfr(file, showname, &playinfobarstatus, &playinfobarcount, playertype, flag);
    18291829
    1830                                 if(rcret == getrcconfigint("rcpause", NULL) || ((checkbox("DM7020HD") == 1 || checkbox("DM7020HDV2") == 1 || checkbox("DM900") == 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))
     1830                                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))
    18311831                                {       
    18321832                                        playrcpause(file, showname, &playinfobarstatus, &playinfobarcount, playertype, flag);
  • titan/titan/rc.h

    r40139 r40446  
    243243void rcsignal(int flag)
    244244{
    245         if(checkbox("DM900") == 1 && status.standby == 0)
     245        if((checkbox("DM900") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1) && status.standby == 0)
    246246        {
    247247                int art = getconfigint("dm900frontrun", NULL);
  • titan/titan/skinadjust.h

    r39583 r40446  
    572572
    573573#ifdef MIPSEL
    574                 if(checkbox("DM7020HD") == 0 && checkbox("DM7020HDV2") == 0 && checkbox("DM900") == 0)
     574                if(checkbox("DM7020HD") == 0 && checkbox("DM7020HDV2") == 0 && checkbox("DM900") == 0 || checkbox("DM520") == 0 && checkbox("DM525") == 0)
    575575                        setfbosd();
    576576#endif
  • titan/titan/standby.h

    r39489 r40446  
    6969                        writesys("/proc/stb/fp/fan", "1", 1);
    7070        }
    71         else if(checkbox("DM900") == 1)
     71        else if(checkbox("DM900") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1)
    7272                setled(1);
    7373                       
     
    161161        status.rcstandby = NULL;
    162162
    163         if(checkbox("DM900") == 1)
     163        if(checkbox("DM900") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1)
    164164                setled(1);
    165165       
  • titan/titan/system_update.h

    r39859 r40446  
    183183
    184184                                char* cmd = NULL;
    185                                 if(checkrealbox("DM900") == 1)
     185                                if(checkrealbox("DM900") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1)
    186186                                        cmd = ostrcat(cmd, "/sbin/update2.sh ", 1, 0);
    187187                                else
  • titan/titan/titan.c

    r40080 r40446  
    627627        ret = setac3(getconfig("av_ac3mode", NULL));
    628628
    629         if(checkbox("DM900") == 1)
     629        if(checkbox("DM900") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1)
    630630        {
    631631                if(getconfig("av_ac3plusmode", NULL) == NULL)
     
    657657 
    658658#ifndef SIMULATE
    659         if(checkrealbox("DM900") == 1)
     659        if(checkrealbox("DM900") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1)
    660660                ret = 0;
    661661
     
    796796#ifdef MIPSEL
    797797        waitvsync();
    798         if(checkbox("DM7020HD") == 0 && checkbox("DM7020HDV2") == 0 && checkbox("VUSOLO2") == 0 && checkbox("DM900") == 0)
     798        if(checkbox("DM7020HD") == 0 && checkbox("DM7020HDV2") == 0 && checkbox("VUSOLO2") == 0 && checkbox("DM900") == 0 && checkbox("DM520") == 0 && checkbox("DM525") == 0)
    799799                setfbosd();
    800800        status.usedirectfb = 1;
     
    10261026                        }
    10271027                }
    1028                 if(checkbox("DM7020HD") == 1 || checkbox("DM7020HDV2") == 1 || checkbox("DM900"))
     1028                if(checkbox("DM7020HD") == 1 || checkbox("DM7020HDV2") == 1 || checkbox("DM900") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1)
    10291029                {
    10301030                        addconfig("remotecontrol", "0");
Note: See TracChangeset for help on using the changeset viewer.