Changeset 16102 for titan/plugins/instar/instar.h
- Timestamp:
- 05/27/12 22:49:06 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/plugins/instar/instar.h
r16100 r16102 23 23 tempcam = cam2; 24 24 25 setfbtransparent(255); 26 25 27 while(1) 26 28 { … … 39 41 40 42 drawscreen(instar_screen, 0); 41 rcret = waitrc(instar_screen, 0, 0);43 rcret = waitrc(instar_screen, 500, 0); 42 44 43 45 if(rcret == getrcconfigint("rcexit", NULL)) break; … … 84 86 free(tmpstr); tmpstr = NULL; 85 87 free(position); position = NULL; 86 sleep(1);87 88 } 88 89 } 89 90 90 91 clearscreen(instar_screen); 92 setosdtransparent(getskinconfigint("osdtransparent", NULL)); 91 93 return rcode; 92 94 } … … 197 199 while(1) 198 200 { 199 cam1 = ostrcat(" wget --output-document=/tmp/instar1.jpg http://gost:goetz@10.0.0.201:8081", "", 0, 0);200 /*201 201 if(ostrcmp(getlist(ownconfig, "InstarCam1", NULL), "ein") == 0) 202 202 { 203 cam1 = ostrcat("wget -- user=", getlist(ownconfig, "InstarCam1User", NULL), 0, 0);204 cam1 = ostrcat(cam1, " --password=",1, 0);203 cam1 = ostrcat("wget --output-document=/tmp/instar1.jpg http://", getlist(ownconfig, "InstarCam1User", NULL), 0, 0); 204 cam1 = ostrcat(cam1, ":",1, 0); 205 205 cam1 = ostrcat(cam1, getlist(ownconfig, "InstarCam1Pass", NULL), 1, 0); 206 cam1 = ostrcat(cam1, " --output-document=/tmp/instar1.jpg http://",1, 0);206 cam1 = ostrcat(cam1, "@",1, 0); 207 207 cam1 = ostrcat(cam1, fixip(getlist(ownconfig, "InstarCam1IP", NULL)), 1, 0); 208 208 cam1 = ostrcat(cam1, ":",1, 0); 209 209 cam1 = ostrcat(cam1, getlist(ownconfig, "InstarCam1Port", NULL), 1, 0); 210 210 } 211 */211 212 212 213 213 /*
Note: See TracChangeset
for help on using the changeset viewer.