Changeset 39971
- Timestamp:
- 02/10/17 13:30:23 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/plugins/tithek/tithek.h
r39969 r39971 1487 1487 if(ostrstr(tmpstr1, "&") != NULL) 1488 1488 { 1489 printf("change streamurl from: %s\n", tmpstr1);1489 debug(99, "change streamurl from: %s", tmpstr1); 1490 1490 tmpstr1 = string_replace_all("&", "&", tmpstr1, 1); 1491 printf("change streamurl to: %s\n", tmpstr1); 1492 } 1493 1494 // printf("tmpstr1: %s\n", tmpstr1); 1491 debug(99, "change streamurl to: %s", tmpstr1); 1492 } 1495 1493 1496 1494 if(!ostrncmp("errormsg=", tmpstr1, 9)) 1497 1495 { 1498 // tmpstr2 = string_resub("errormsg='", "'", tmpstr1, 0); 1499 // tmpstr = ostrcat(_("Found error Msg:"), "\n\n", 0, 0); 1500 // tmpstr = ostrcat(tmpstr, tmpstr2, 1, 0); 1501 1502 tmpstr1 = string_replace_all("errormsg=", "", tmpstr1, 1); 1503 1504 printf("Found error Msg: %s\n", tmpstr1); 1505 textbox(_("Message"), tmpstr1, _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 1000, 600, 0, 0); 1506 // free(tmpstr); tmpstr = NULL; 1496 tmpstr = ostrcat(_("Found error Msg:"), "\n\n", 0, 0); 1497 tmpstr = ostrcat(tmpstr, tmpstr1, 1, 0); 1498 tmpstr = string_replace("errormsg=", "", tmpstr, 1); 1499 1500 debug(99, "Found error Msg: %s", tmpstr1); 1501 textbox(_("Message"), tmpstr, _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 1000, 200, 0, 0); 1502 free(tmpstr); tmpstr = NULL; 1507 1503 free(tmpstr1); tmpstr1 = NULL; 1508 // free(tmpstr2); tmpstr2 = NULL;1509 1504 } 1510 1505 else if(ostrncmp("http", tmpstr1, 4) && ostrncmp("rtmp", tmpstr1, 4) && ostrncmp("mms", tmpstr1, 3) && ostrncmp("rtsp", tmpstr1, 4)) … … 1512 1507 tmpstr = ostrcat(_("Parsing Error cant find http*|rtmp*|mms*|rtsp* Stream Link"), "\n\n", 0, 0); 1513 1508 tmpstr = ostrcat(tmpstr, tmpstr1, 1, 0); 1514 printf("Parsing Error cant find http*|rtmp*|mms*|rtsp* Stream Link: %s\n", tmpstr1);1515 textbox(_("Message"), tmpstr, _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 1 000, 600, 0, 0);1509 debug(99, "Parsing Error cant find http*|rtmp*|mms*|rtsp* Stream Link: %s", tmpstr1); 1510 textbox(_("Message"), tmpstr, _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 1100, 600, 0, 0); 1516 1511 free(tmpstr); tmpstr = NULL; 1517 1512 free(tmpstr1); tmpstr1 = NULL;
Note: See TracChangeset
for help on using the changeset viewer.