Changeset 41783 for titan/titan
- Timestamp:
- 01/20/18 20:31:08 (6 years ago)
- Location:
- titan/titan
- Files:
-
- 19 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/adjust.h
r40908 r41783 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 || checkbox("DM 520") == 1 || checkbox("DM525") == 1)177 if(checkbox("DM7020HD") == 1 || checkbox("DM7020HDV2") == 1 || checkbox("DM900") == 1 || checkbox("DM920") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1) 178 178 { 179 179 addchoicebox(screenanim, "11", _("slide from left")); -
titan/titan/avsettings.h
r41616 r41783 199 199 aacmode->hidden = YES; 200 200 201 if((checkbox("DM900") == 1 || checkbox("DM 520") == 1 || checkbox("DM525") == 1) && ac3plusmode != NULL)201 if((checkbox("DM900") == 1 || checkbox("DM920") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1) && ac3plusmode != NULL) 202 202 { 203 203 ac3plusmode->hidden = NO; -
titan/titan/ca.h
r41616 r41783 152 152 sleep(1); 153 153 } 154 if(checkbox("DM7020HD") == 1 || checkbox("DM7020HDV2") == 1 || checkbox("DM900") == 1 || checkbox("DM 520") == 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) 155 155 usleep(150000); 156 156 if(ret >= 0 && ret == count && dvbnode != NULL && dvbnode->caslot != NULL) dvbnode->caslot->poll = 0; … … 1902 1902 free(buf); buf = NULL; 1903 1903 dvbnode->caslot->poll = 0; 1904 if(checkbox("DM7020HD") == 1 || checkbox("DM7020HDV2") == 1 || checkbox("DM900") == 1 || checkbox("DM 520") == 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) 1905 1905 sleep(1); 1906 1906 return ret; -
titan/titan/cec.h
r41018 r41783 839 839 getAddressInfo(); 840 840 841 if( checkbox("DM900") == 1&& getwaswakuptimer() != 1)841 if((checkbox("DM900") == 1 || checkbox("DM920") == 1) && getwaswakuptimer() != 1) 842 842 { 843 843 sleep(2); -
titan/titan/channellist.h
r40446 r41783 851 851 while(1) 852 852 { 853 if(status.markedchannel != NULL && (checkchipset("BCM7424") == 1 || checkbox("DM900") == 1 || checkbox("DM 520") == 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)) 854 854 writevfdmenu(status.markedchannel->name); 855 855 if(flag == 2) -
titan/titan/frontenddev.h
r41780 r41783 213 213 fbc = 0; 214 214 215 if((checkbox("DM900") == 1 || checkbox("DM 520") == 1 || checkbox("DM525") == 1) && fbc != 1)215 if((checkbox("DM900") == 1 || checkbox("DM920") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1) && fbc != 1) 216 216 { 217 217 if(ostrcmp("fe_01", dvbnode->feshortname) == 0) … … 2285 2285 struct dvb_frontend_info* t_feinfo = NULL; 2286 2286 2287 //tricky... tempor äre nim_sockets bauen da ansonsten viel im code geändert werden müßte2287 //tricky... tempor\E4re nim_sockets bauen da ansonsten viel im code ge\E4ndert werden m\FC\DFte 2288 2288 free(tmpstr); tmpstr= NULL; 2289 2289 free(tmpstr1); tmpstr1= NULL; -
titan/titan/global.h
r41355 r41783 5006 5006 { 5007 5007 debug(100, "set %s to %d",progressdev, value); 5008 if(checkbox("DM7020HD") == 1 || checkbox("DM7020HDV2") == 1 || checkbox("DM900") == 1 || checkbox("DM 520") == 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) 5009 5009 return writesysint(progressdev, value, 1); 5010 5010 else … … 7719 7719 7720 7720 status.sec = 0; //deaktivate spinner 7721 if(checkbox("DM900") == 1 )7721 if(checkbox("DM900") == 1 || checkbox("DM920") == 1) 7722 7722 cmd = ostrcat(cmd, "backupdream.sh ", 1, 0); 7723 7723 else -
titan/titan/httpdfunc.h
r40762 r41783 5690 5690 } 5691 5691 } 5692 else if(checkbox("DM900") == 1 )5692 else if(checkbox("DM900") == 1 || checkbox("DM920") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1 || checkbox("WETEK") == 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)5734 cmd = ostrcat(cmd, "/sbin/update2.sh ", 1, 0);5735 else5733 // if(checkrealbox("DM900") == 1) 5734 // cmd = ostrcat(cmd, "/sbin/update2.sh ", 1, 0); 5735 // else 5736 5736 cmd = ostrcat(cmd, "/sbin/update.sh ", 1, 0); 5737 5737 cmd = ostrcat(cmd, node->type, 1, 0); … … 5744 5744 else if(ostrstr(ret1[i].part, "_UPDATENFI_") != NULL) 5745 5745 cmd = ostrcat(cmd, "updatenfi ", 1, 0); 5746 else if(ostrstr(ret1[i].part, "_UPDATEUSB_") != NULL) 5747 cmd = ostrcat(cmd, "updateusb ", 1, 0); 5746 5748 5747 5749 if(mode == 0) -
titan/titan/infobar.h
r41757 r41783 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 || checkbox("DM 520") == 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)) 76 76 playstop = 0; 77 77 else … … 243 243 244 244 245 if(checkbox("VUSOLO2") != 1 && status.pvr == 1 && (rcret == getrcconfigint("rcpause", NULL) || ((checkbox("DM7020HD") == 1 || checkbox("DM7020HDV2") == 1 || checkbox("DM900") == 1 || checkbox("DM 520") == 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))) 246 246 { 247 247 //timeshift … … 491 491 if(rcret == getrcconfigint("rcblue", NULL) && getconfig("bluekey", NULL) == NULL) 492 492 { 493 if(checkbox("DM7020HD") == 0 && checkbox("DM7020HDV2") == 0 && checkbox("DM900") == 0 && checkbox("DM 520") == 0 && checkbox("DM525") == 0)493 if(checkbox("DM7020HD") == 0 && checkbox("DM7020HDV2") == 0 && checkbox("DM900") == 0 && checkbox("DM920") == 0 && checkbox("DM520") == 0 && checkbox("DM525") == 0) 494 494 rcret = getrcconfigint("rctvradio", NULL); 495 495 else -
titan/titan/menu.h
r41616 r41783 542 542 if(check == 1) 543 543 { 544 if(checkbox("DM900") == 1 || checkbox("DM 520") == 1 || checkbox("DM525") == 1)544 if(checkbox("DM900") == 1 || checkbox("DM920") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1) 545 545 return 0; 546 546 else -
titan/titan/mipselport.h
r41616 r41783 204 204 debug(444, "FB: var_screeninfo.grayscale %d", var_screeninfo.grayscale); 205 205 206 if(checkrealbox("HD51") == 0 && checkbox("DM7020HD") == 0 && checkbox("DM7020HDV2") == 0 && checkbox("DM900") == 0 && checkbox("DM 520") == 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 ) 207 207 { 208 208 if(ioctl(fb->fd, FBIOPUT_VSCREENINFO, &var_screeninfo) < 0) … … 257 257 258 258 //woraround pixel fehler 259 if(checkbox("DM900") == 1 )259 if(checkbox("DM900") == 1 || checkbox("DM920") == 1) 260 260 { 261 261 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 13 13 int lcdfd1 = open(getconfig("vfddev", NULL), O_RDWR); 14 14 15 if(checkbox("DM900") == 1 )15 if(checkbox("DM900") == 1 || checkbox("DM920") == 1) 16 16 lfb1 = malloc(xres * yres * 2); 17 17 else … … 20 20 return; 21 21 22 if(checkbox("DM900") != 1 )22 if(checkbox("DM900") != 1 && checkbox("DM920") != 1) 23 23 { 24 24 … … 115 115 } 116 116 } 117 else if(checkbox("DM900") == 1 )117 else if(checkbox("DM900") == 1 || checkbox("DM920") == 1) 118 118 { 119 119 if(status.updatevfd == PAUSE) -
titan/titan/pip.h
r40988 r41783 417 417 videoclose(node->videodev, -1); 418 418 419 if(flag == 0 && checkbox("DM900") != 1 )419 if(flag == 0 && checkbox("DM900") != 1 && checkbox("DM920") != 1) 420 420 pippos(node->videodev, 0, 0, 0, 0, 1); 421 421 … … 521 521 int dst_top = getconfigint("pip_dst_top", NULL); 522 522 523 if(checkbox("DM900") == 1 || checkbox("DM 520") == 1 || checkbox("DM525") == 1)523 if(checkbox("DM900") == 1 || checkbox("DM920") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1) 524 524 { 525 525 b3->hidden = YES; … … 567 567 break; 568 568 } 569 if(checkbox("DM900") != 1 && checkbox("DM 520") != 1 && checkbox("DM525") != 1)569 if(checkbox("DM900") != 1 && checkbox("DM920") != 1 && checkbox("DM520") != 1 && checkbox("DM525") != 1) 570 570 { 571 571 if(rcret == getrcconfigint("rcred", NULL)) -
titan/titan/play.h
r41757 r41783 1934 1934 playrcfr(file, showname, &playinfobarstatus, &playinfobarcount, playertype, flag); 1935 1935 1936 if(rcret == getrcconfigint("rcpause", NULL) || ((checkbox("DM7020HD") == 1 || checkbox("DM7020HDV2") == 1 || checkbox("DM900") == 1 || checkbox("DM 520") == 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)) 1937 1937 { 1938 1938 playrcpause(file, showname, &playinfobarstatus, &playinfobarcount, playertype, flag); -
titan/titan/rc.h
r41542 r41783 248 248 void rcsignal(int flag) 249 249 { 250 if((checkbox("DM900") == 1 || checkbox("DM 520") == 1 || checkbox("DM525") == 1) && status.standby == 0)250 if((checkbox("DM900") == 1 || checkbox("DM920") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1) && status.standby == 0) 251 251 { 252 252 int art = getconfigint("dm900frontrun", NULL); -
titan/titan/service.h
r41774 r41783 301 301 #endif 302 302 audiostop(status.aktservice->audiodev); 303 if(checkbox("DM900") == 1 || checkbox("DM 520") == 1 || checkbox("DM525") == 1)303 if(checkbox("DM900") == 1 || checkbox("DM920") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1) 304 304 dmxstop(status.aktservice->dmxaudiodev); 305 305 … … 446 446 if(status.mute != 1) 447 447 { 448 if(checkbox("DM900") == 1 || checkbox("DM 520") == 1 || checkbox("DM525") == 1)448 if(checkbox("DM900") == 1 || checkbox("DM920") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1) 449 449 dmxstart(status.aktservice->dmxaudiodev); 450 450 audioplay(audionode); … … 504 504 if(status.mute != 1) 505 505 { 506 if(checkbox("DM900") == 1 || checkbox("DM 520") == 1 || checkbox("DM525") == 1)506 if(checkbox("DM900") == 1 || checkbox("DM920") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1) 507 507 dmxstart(status.aktservice->dmxaudiodev); 508 508 audioplay(status.aktservice->audiodev); … … 818 818 819 819 audiostop(node->audiodev); 820 if(checkbox("DM900") == 1 || checkbox("DM 520") == 1 || checkbox("DM525") == 1)820 if(checkbox("DM900") == 1 || checkbox("DM920") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1) 821 821 dmxstop(status.aktservice->dmxaudiodev); 822 822 -
titan/titan/skinadjust.h
r41519 r41783 581 581 582 582 #ifdef MIPSEL 583 if(checkbox("DM7020HD") == 0 && checkbox("DM7020HDV2") == 0 && checkbox("DM900") == 0 && checkbox("DM 520") == 0 && checkbox("DM525") == 0)583 if(checkbox("DM7020HD") == 0 && checkbox("DM7020HDV2") == 0 && checkbox("DM900") == 0 && checkbox("DM920") == 0 && checkbox("DM520") == 0 && checkbox("DM525") == 0) 584 584 setfbosd(); 585 585 #endif -
titan/titan/standby.h
r40996 r41783 18 18 19 19 //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("DM 520") == 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) 21 21 { 22 22 while(dvbnode != NULL) … … 69 69 writesys("/proc/stb/fp/fan", "1", 1); 70 70 } 71 else if(checkbox("DM900") == 1 || checkbox("DM 520") == 1 || checkbox("DM525") == 1)71 else if(checkbox("DM900") == 1 || checkbox("DM920") == 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 || checkbox("DM 520") == 1 || checkbox("DM525") == 1)163 if(checkbox("DM900") == 1 || checkbox("DM920") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1) 164 164 setled(1); 165 165 -
titan/titan/titan.c
r41759 r41783 635 635 ret = setac3(getconfig("av_ac3mode", NULL)); 636 636 637 if(checkbox("DM900") == 1 || checkbox("DM 520") == 1 || checkbox("DM525") == 1)637 if(checkbox("DM900") == 1 || checkbox("DM920") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1) 638 638 { 639 639 if(getconfig("av_ac3plusmode", NULL) == NULL) … … 665 665 666 666 #ifndef SIMULATE 667 if(checkrealbox("HD51") == 1 || checkrealbox("DM900") == 1 || checkbox("DM 520") == 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) 668 668 ret = 0; 669 669 … … 804 804 #ifdef MIPSEL 805 805 waitvsync(); 806 if(checkbox("DM7020HD") == 0 && checkbox("DM7020HDV2") == 0 && checkbox("VUSOLO2") == 0 && checkbox("DM900") == 0 && checkbox("DM 520") == 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) 807 807 setfbosd(); 808 808 if(checkrealbox("HD51") ==1) … … 982 982 else 983 983 ret = readscreen(getconfig("keyskin_file", NULL), 0, 0); 984 if(checkchipset("BCM7424") == 1 || checkbox("DM7020HD") == 1 || checkbox("DM7020HDV2") == 1 || checkbox("DM900") == 1 ) //inihdp984 if(checkchipset("BCM7424") == 1 || checkbox("DM7020HD") == 1 || checkbox("DM7020HDV2") == 1 || checkbox("DM900") == 1 || checkbox("DM920") == 1) //inihdp 985 985 { 986 986 if(getconfig("oledskin_path", NULL) == NULL) … … 1043 1043 } 1044 1044 } 1045 if(checkbox("DM7020HD") == 1 || checkbox("DM7020HDV2") == 1 || checkbox("DM900") == 1 || checkbox("DM 520") == 1 || checkbox("DM525") == 1)1045 if(checkbox("DM7020HD") == 1 || checkbox("DM7020HDV2") == 1 || checkbox("DM900") == 1 || checkbox("DM920") == 1 || checkbox("DM520") == 1 || checkbox("DM525") == 1) 1046 1046 { 1047 1047 addconfig("remotecontrol", "0");
Note: See TracChangeset
for help on using the changeset viewer.