- Timestamp:
- 08/09/22 17:50:44 (20 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/plugins/player/tithek/tithek_global.h
r46148 r46149 1922 1922 { 1923 1923 debug(202, "flag: %d", flag); 1924 printf("servicebouquets_update channellistflag: %d\n", flag);1924 printf("servicebouquets_update flag: %d\n", flag); 1925 1925 1926 1926 char* tmpstr = NULL, *tmpstr1 = NULL, *tmpstr2 = NULL, *cmd = NULL, *localparser = NULL; … … 1931 1931 cmd = ostrcat(cmd, "ls -1 /mnt/settings/bouquets.tithek.autoupdate.*", 1, 0); 1932 1932 debug(202, "cmd: %s", cmd); 1933 printf("servicebouquets_update c hannellist cmd: %s\n", cmd);1933 printf("servicebouquets_update cmd: %s\n", cmd); 1934 1934 1935 1935 tmpstr1 = command(cmd); 1936 1936 free(cmd), cmd= NULL; 1937 1937 debug(202, "tmpstr1: %s", tmpstr1); 1938 printf("servicebouquets_update channellisttmpstr1: %s\n", tmpstr1);1938 printf("servicebouquets_update tmpstr1: %s\n", tmpstr1); 1939 1939 // tmpstr = readfiletomem(filename, 1); 1940 1940 … … 1956 1956 tmpstr2 = ostrcat((&ret1[i])->part, NULL, 0, 0); 1957 1957 debug(202, "tmpstr2: %s", tmpstr2); 1958 printf("servicebouquets_update channellisttmpstr2: %s\n", tmpstr2);1958 printf("servicebouquets_update tmpstr2: %s\n", tmpstr2); 1959 1959 1960 1960 tmpstr2 = string_replace_all("/mnt/settings/bouquets.tithek.autoupdate.", "", tmpstr2, 1); 1961 printf("servicebouquets_update channellisttmpstr2a: %s\n", tmpstr2);1961 printf("servicebouquets_update tmpstr2a: %s\n", tmpstr2); 1962 1962 1963 1963 ret2 = strsplit(tmpstr2, ".", &count2); … … 1984 1984 1985 1985 debug(202, "cmd2: %s", cmd); 1986 printf("servicebouquets_update c hannellist cmd2: %s\n", cmd);1986 printf("servicebouquets_update cmd2: %s\n", cmd); 1987 1987 1988 1988 tmpstr = command(cmd); 1989 1989 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); 2002 2000 2003 2001 free(cmd), cmd = NULL; … … 2013 2011 if(updated >= 1) 2014 2012 { 2013 tmpstr 2014 2015 2015 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); 2017 2017 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); 2019 2019 2020 2020 freesat(); … … 2033 2033 } 2034 2034 else 2035 printf("servicebouquets_update channellist: channellist unchanged\n ");2035 printf("servicebouquets_update channellist: channellist unchanged\n%s\n", tmpstr); 2036 2036 } 2037 2037 }
Note: See TracChangeset
for help on using the changeset viewer.