Changeset 46149 for titan


Ignore:
Timestamp:
08/09/22 17:50:44 (20 months ago)
Author:
obi
Message:

fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/plugins/player/tithek/tithek_global.h

    r46148 r46149  
    19221922{
    19231923        debug(202, "flag: %d", flag);
    1924     printf("servicebouquets_update channellist flag: %d\n", flag);
     1924    printf("servicebouquets_update flag: %d\n", flag);
    19251925
    19261926        char* tmpstr = NULL, *tmpstr1 = NULL, *tmpstr2 = NULL, *cmd = NULL, *localparser = NULL;
     
    19311931        cmd = ostrcat(cmd, "ls -1 /mnt/settings/bouquets.tithek.autoupdate.*", 1, 0);
    19321932    debug(202, "cmd: %s", cmd);
    1933     printf("servicebouquets_update channellist cmd: %s\n", cmd);
     1933    printf("servicebouquets_update cmd: %s\n", cmd);
    19341934
    19351935        tmpstr1 = command(cmd);
    19361936    free(cmd), cmd= NULL;
    19371937    debug(202, "tmpstr1: %s", tmpstr1);
    1938     printf("servicebouquets_update channellist tmpstr1: %s\n", tmpstr1);
     1938    printf("servicebouquets_update tmpstr1: %s\n", tmpstr1);
    19391939//      tmpstr = readfiletomem(filename, 1);
    19401940
     
    19561956                        tmpstr2 = ostrcat((&ret1[i])->part, NULL, 0, 0);
    19571957            debug(202, "tmpstr2: %s", tmpstr2);
    1958             printf("servicebouquets_update channellist tmpstr2: %s\n", tmpstr2);
     1958            printf("servicebouquets_update tmpstr2: %s\n", tmpstr2);
    19591959
    19601960            tmpstr2 = string_replace_all("/mnt/settings/bouquets.tithek.autoupdate.", "", tmpstr2, 1);
    1961             printf("servicebouquets_update channellist tmpstr2a: %s\n", tmpstr2);
     1961            printf("servicebouquets_update tmpstr2a: %s\n", tmpstr2);
    19621962
    19631963                        ret2 = strsplit(tmpstr2, ".", &count2);
     
    19841984
    19851985                    debug(202, "cmd2: %s", cmd);
    1986                     printf("servicebouquets_update channellist cmd2: %s\n", cmd);
     1986                    printf("servicebouquets_update cmd2: %s\n", cmd);
    19871987
    19881988                    tmpstr = command(cmd);
    19891989                    debug(202, "tmpstr: %s", tmpstr);
    1990                     printf("servicebouquets_update channellist tmpstr: %s\n", tmpstr);
    1991 
    1992                     printf("servicebouquets_update channellist ret0: %s\n", (&ret2[0])->part);
    1993                     printf("servicebouquets_update channellist ret1: %s\n", (&ret2[1])->part);
    1994                     printf("servicebouquets_update channellist ret2: %s\n", (&ret2[2])->part);
    1995 
    1996                     tmpstr = string_replace_all(" search ", " writecmd ", tmpstr, 1);
    1997                     printf("servicebouquets_update channellist tmpstra: %s\n", tmpstr);
    1998 
    1999                     tmpstr = string_replace_all("%search%", (&ret2[1])->part, tmpstr, 1);
    2000                     printf("servicebouquets_update channellist tmpstrb: %s\n", tmpstr);
    2001 
     1990                    printf("servicebouquets_update tmpstr: %s\n", tmpstr);
     1991
     1992                    free(cmd), cmd = NULL;
     1993                    cmd = ostrcat(cmd, tmpstr, 1, 0);
     1994                    cmd = string_replace_all(" search ", " writecmd ", cmd, 1);
     1995                    cmd = string_replace_all("%search%", (&ret2[1])->part, cmd, 1);
     1996                    printf("servicebouquets_update cmd3: %s\n", cmd);
     1997
     1998                    tmpstr = command(cmd);
     1999                    printf("servicebouquets_update tmpstr: %s\n", tmpstr);
    20022000
    20032001                    free(cmd), cmd = NULL;
     
    20132011        if(updated >= 1)
    20142012        {
     2013tmpstr
     2014
    20152015            if(getconfigint("tithek_servicebouquets_autoupdate_msg", NULL) == 1)
    2016                         textbox(_("Message"), _("Titan will be reloaded Channellist!"), _("OK"), getrcconfigint("rcok", NULL), NULL, 0, NULL, 0, NULL, 0, 1000, 200, 0, 0);
     2016                        textbox(tmpstr, _("Titan will be reloaded Channellist!"), _("OK"), getrcconfigint("rcok", NULL), NULL, 0, NULL, 0, NULL, 0, 1000, 200, 0, 0);
    20172017                debug(202, "Titan will be reloaded channellist!");
    2018             printf("servicebouquets_update channellist: Titan will be reloaded channellist!\n");
     2018            printf("servicebouquets_update channellist: Titan will be reloaded channellist!\n%s\n", tmpstr);
    20192019
    20202020            freesat();
     
    20332033        }
    20342034        else
    2035             printf("servicebouquets_update channellist: channellist unchanged\n");
     2035            printf("servicebouquets_update channellist: channellist unchanged\n%s\n", tmpstr);
    20362036    }
    20372037}
Note: See TracChangeset for help on using the changeset viewer.