Changeset 32835
- Timestamp:
- 02/03/15 20:08:14 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/mediadb.h
r32756 r32835 1526 1526 } 1527 1527 free(tmpstr1), tmpstr1 = NULL; 1528 1528 1529 1529 if(*isrec == 0 && *iscam == 0) 1530 1530 { … … 1544 1544 strstrip(shortname); 1545 1545 } 1546 1547 printf("###### strip () strings start ############################################\n"); 1548 1549 // strip () strings 1550 // for (channel)-movie-(..).ts name 1551 tmpstr1 = string_resub("(", ")", tmpstr, 0); 1552 if(tmpstr1 != NULL) 1553 { 1554 printf("found recnew filename strip (channel)-movie-(..).ts name from: %s\n", tmpstr); 1555 tmpstr1 = ostrcat("(", tmpstr1, 0, 1); 1556 tmpstr1 = ostrcat(tmpstr1, ")", 1, 0); 1557 printf("showrname: %s\n", showrname); 1558 printf("tmpstr1: %s\n", tmpstr1); 1559 shortname = string_replace(tmpstr1, "", shortname, 1); 1560 printf("shortname stripped: %s\n", shortname); 1561 printf("--------------------------------------------------\n"); 1562 if(fileinfo != NULL) 1563 fileinfo = ostrcat(fileinfo, " ", 1, 0); 1564 fileinfo = ostrcat(fileinfo, "recnew", 1, 0); 1565 *isrec = 0; 1566 *iscam = 0; 1567 } 1568 free(tmpstr1); tmpstr1 = NULL; 1569 1570 // for movie-(channel-...).ts name 1571 tmpstr1 = string_resub("(", ")", tmpstr, 0); 1572 if(tmpstr1 != NULL) 1573 { 1574 printf("found recnew filename strip movie-(channel-...).ts name from: %s\n", tmpstr); 1575 tmpstr1 = ostrcat("(", tmpstr1, 0, 1); 1576 tmpstr1 = ostrcat(tmpstr1, ")", 1, 0); 1577 printf("shortname: %s\n", shortname); 1578 printf("tmpstr1: %s\n", tmpstr1); 1579 shortname = string_replace(tmpstr1, "", shortname, 1); 1580 printf("shortname stripped: %s\n", shortname); 1581 printf("--------------------------------------------------\n"); 1582 if(fileinfo != NULL) 1583 fileinfo = ostrcat(fileinfo, " ", 1, 0); 1584 fileinfo = ostrcat(fileinfo, "recnew", 1, 0); 1585 *isrec = 0; 1586 *iscam = 0; 1587 } 1588 free(tmpstr1); tmpstr1 = NULL; 1589 // end 1590 printf("###### strip () strings end ############################################\n"); 1546 1591 1547 1592 string_tolower(tmpstr);
Note: See TracChangeset
for help on using the changeset viewer.