Changeset 40446
- Timestamp:
- 05/20/17 13:36:18 (6 years ago)
- Location:
- titan/titan
- Files:
-
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/adjust.h
r39435 r40446 175 175 addchoicebox(screenanim, "4", _("left to right")); 176 176 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) 178 178 { 179 179 addchoicebox(screenanim, "11", _("slide from left")); -
titan/titan/avsettings.h
r39947 r40446 181 181 free(ret); ret = NULL; 182 182 183 if( checkbox("DM900") == 1&& ac3plusmode != NULL)183 if((checkbox("DM900") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1) && ac3plusmode != NULL) 184 184 { 185 185 ac3plusmode->hidden = NO; -
titan/titan/ca.h
r39435 r40446 142 142 143 143 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) 145 145 usleep(150000); 146 146 if(ret >= 0 && ret == count && dvbnode != NULL && dvbnode->caslot != NULL) dvbnode->caslot->poll = 0; … … 1507 1507 free(buf); buf = NULL; 1508 1508 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) 1510 1510 sleep(1); 1511 1511 return ret; -
titan/titan/channellist.h
r39689 r40446 851 851 while(1) 852 852 { 853 if(status.markedchannel != NULL && (checkchipset("BCM7424") == 1 || checkbox("DM900") == 1 || checkbox("DM 7020HD") == 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)) 854 854 writevfdmenu(status.markedchannel->name); 855 855 if(flag == 2) -
titan/titan/frontenddev.h
r40016 r40446 174 174 if(dvbnode->type != FRONTENDDEV) break; 175 175 176 if(checkbox("DM900") == 1 )176 if(checkbox("DM900") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1) 177 177 { 178 178 if(ostrcmp("fe_01", dvbnode->feshortname) == 0) -
titan/titan/global.h
r40420 r40446 5005 5005 { 5006 5006 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) 5008 5008 return writesysint(progressdev, value, 1); 5009 5009 else … … 7643 7643 7644 7644 status.sec = 0; //deaktivate spinner 7645 if(checkbox("DM900") == 1 )7645 if(checkbox("DM900") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1) 7646 7646 cmd = ostrcat(cmd, "backupdream.sh ", 1, 0); 7647 7647 else -
titan/titan/httpdfunc.h
r40424 r40446 5690 5690 } 5691 5691 } 5692 else if(checkbox("DM900") == 1 )5692 else if(checkbox("DM900") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1) 5693 5693 { 5694 5694 if(mode == 0) … … 5731 5731 if(ostrstr(ret1[i].part, "_FULL_") != NULL || ostrstr(ret1[i].part, "_FULLBACKUP.") != NULL || ostrstr(ret1[i].part, "_UPDATENFI_") != NULL) 5732 5732 { 5733 if(checkrealbox("DM900") == 1 )5733 if(checkrealbox("DM900") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1) 5734 5734 cmd = ostrcat(cmd, "/sbin/update2.sh ", 1, 0); 5735 5735 else -
titan/titan/infobar.h
r40127 r40446 73 73 int playinfobarcount = 0, playinfobarstatus = 0; 74 74 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)) 76 76 playstop = 0; 77 77 else … … 238 238 239 239 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))) 241 241 { 242 242 //timeshift … … 486 486 if(rcret == getrcconfigint("rcblue", NULL) && getconfig("bluekey", NULL) == NULL) 487 487 { 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) 489 489 rcret = getrcconfigint("rctvradio", NULL); 490 490 else … … 1111 1111 } 1112 1112 // 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)) 1114 1114 { 1115 1115 if(status.pipservice->videodev == NULL) -
titan/titan/menu.h
r39509 r40446 542 542 if(check == 1) 543 543 { 544 if(checkbox("DM900") == 1 )544 if(checkbox("DM900") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1) 545 545 return 0; 546 546 else -
titan/titan/pip.h
r39992 r40446 512 512 int dst_top = getconfigint("pip_dst_top", NULL); 513 513 514 if(checkbox("DM900") == 1 )514 if(checkbox("DM900") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1) 515 515 { 516 516 b3->hidden = YES; … … 558 558 break; 559 559 } 560 if(checkbox("DM900") != 1 )560 if(checkbox("DM900") != 1 && checkbox("DM520") != 1 && checkbox("DM525") != 1) 561 561 { 562 562 if(rcret == getrcconfigint("rcred", NULL)) -
titan/titan/play.h
r39839 r40446 1828 1828 playrcfr(file, showname, &playinfobarstatus, &playinfobarcount, playertype, flag); 1829 1829 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)) 1831 1831 { 1832 1832 playrcpause(file, showname, &playinfobarstatus, &playinfobarcount, playertype, flag); -
titan/titan/rc.h
r40139 r40446 243 243 void rcsignal(int flag) 244 244 { 245 if( checkbox("DM900") == 1&& status.standby == 0)245 if((checkbox("DM900") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1) && status.standby == 0) 246 246 { 247 247 int art = getconfigint("dm900frontrun", NULL); -
titan/titan/skinadjust.h
r39583 r40446 572 572 573 573 #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) 575 575 setfbosd(); 576 576 #endif -
titan/titan/standby.h
r39489 r40446 69 69 writesys("/proc/stb/fp/fan", "1", 1); 70 70 } 71 else if(checkbox("DM900") == 1 )71 else if(checkbox("DM900") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1) 72 72 setled(1); 73 73 … … 161 161 status.rcstandby = NULL; 162 162 163 if(checkbox("DM900") == 1 )163 if(checkbox("DM900") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1) 164 164 setled(1); 165 165 -
titan/titan/system_update.h
r39859 r40446 183 183 184 184 char* cmd = NULL; 185 if(checkrealbox("DM900") == 1 )185 if(checkrealbox("DM900") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1) 186 186 cmd = ostrcat(cmd, "/sbin/update2.sh ", 1, 0); 187 187 else -
titan/titan/titan.c
r40080 r40446 627 627 ret = setac3(getconfig("av_ac3mode", NULL)); 628 628 629 if(checkbox("DM900") == 1 )629 if(checkbox("DM900") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1) 630 630 { 631 631 if(getconfig("av_ac3plusmode", NULL) == NULL) … … 657 657 658 658 #ifndef SIMULATE 659 if(checkrealbox("DM900") == 1 )659 if(checkrealbox("DM900") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1) 660 660 ret = 0; 661 661 … … 796 796 #ifdef MIPSEL 797 797 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) 799 799 setfbosd(); 800 800 status.usedirectfb = 1; … … 1026 1026 } 1027 1027 } 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) 1029 1029 { 1030 1030 addconfig("remotecontrol", "0");
Note: See TracChangeset
for help on using the changeset viewer.