Changeset 19304 for titan/plugins/tmdb
- Timestamp:
- 12/25/12 15:41:50 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/plugins/tmdb/tmdb.h
r19212 r19304 179 179 debug(133, "flag1: %d",flag1); 180 180 181 if(checkinternet == 1)182 { 183 debug(133, " "Error, Internet Connection not found"");181 if(checkinternet() == 1) 182 { 183 debug(133, "Error, Internet Connection not found"); 184 184 return NULL; 185 185 } … … 501 501 if(getconfigint("mediadbdebug", NULL) == 1) 502 502 { 503 filedebug(logfile, "#############\nbackdrop: %s size=(%s) filesize(% d) (%s)\n#############", getconfig("mediadbpath", NULL), tnode->backdrop, size, filesize, (&ret1[i])->part);503 filedebug(logfile, "#############\nbackdrop: %s size=(%s) filesize(%lld) (%s)\n#############", tnode->backdrop, size, filesize, (&ret1[i])->part); 504 504 cmd = ostrcat(cmd, " >> ", 1, 0); 505 505 cmd = ostrcat(cmd, logfile, 1, 0); … … 539 539 540 540 if(getconfigint("mediadbdebug", NULL) == 1) 541 filedebug(logfile, "#############\nERROR Backdrop size to big skipped: %s size=(%s) filesize(% d) (%s)\n#############", getconfig("mediadbpath", NULL), tnode->backdrop, size, filesize, (&ret1[i])->part);541 filedebug(logfile, "#############\nERROR Backdrop size to big skipped: %s size=(%s) filesize(%lld) (%s)\n#############", tnode->backdrop, size, filesize, (&ret1[i])->part); 542 542 mvicount--; 543 543 } … … 548 548 549 549 if(getconfigint("mediadbdebug", NULL) == 1) 550 filedebug(logfile, "#############\nERROR Backdrop size is NULL skipped: %s size=(%s) filesize(% d) (%s)\n#############", getconfig("mediadbpath", NULL), tnode->backdrop, size, filesize, (&ret1[i])->part);550 filedebug(logfile, "#############\nERROR Backdrop size is NULL skipped: %s size=(%s) filesize(%lld) (%s)\n#############", tnode->backdrop, size, filesize, (&ret1[i])->part); 551 551 552 552 mvicount--; … … 562 562 563 563 if(getconfigint("mediadbdebug", NULL) == 1) 564 filedebug(logfile, "#############\nERROR Backdrop filesize to BIG skipped: %s filesize(% d) (%s)\n#############", getconfig("mediadbpath", NULL), tnode->backdrop, filesize, (&ret1[i])->part);564 filedebug(logfile, "#############\nERROR Backdrop filesize to BIG skipped: %s filesize(%lld) (%s)\n#############", tnode->backdrop, filesize, (&ret1[i])->part); 565 565 } 566 566 } … … 660 660 if(getconfigint("mediadbdebug", NULL) == 1) 661 661 { 662 filedebug(logfile, "#############\npostermid: %s size=(%s) filesize(% d) (%s)\n#############", getconfig("mediadbpath", NULL), tnode->postermid, size, filesize, posterurl);662 filedebug(logfile, "#############\npostermid: %s size=(%s) filesize(%lld) (%s)\n#############", tnode->postermid, size, filesize, posterurl); 663 663 cmd = ostrcat(cmd, " >> ", 1, 0); 664 664 cmd = ostrcat(cmd, logfile, 1, 0); … … 693 693 694 694 if(getconfigint("mediadbdebug", NULL) == 1) 695 filedebug(logfile, "#############\nERROR Postermid size to big skipped: %s size=(%s) filesize(% d) (%s)\n#############", getconfig("mediadbpath", NULL), tnode->postermid, size, filesize, posterurl);695 filedebug(logfile, "#############\nERROR Postermid size to big skipped: %s size=(%s) filesize(%lld) (%s)\n#############", tnode->postermid, size, filesize, posterurl); 696 696 } 697 697 } … … 701 701 702 702 if(getconfigint("mediadbdebug", NULL) == 1) 703 filedebug(logfile, "#############\nERROR Postermid size is NULL skipped: %s size=(%s) filesize(% d) (%s)\n#############", getconfig("mediadbpath", NULL), tnode->postermid, size, filesize, posterurl);703 filedebug(logfile, "#############\nERROR Postermid size is NULL skipped: %s size=(%s) filesize(%lld) (%s)\n#############", tnode->postermid, size, filesize, posterurl); 704 704 } 705 705 free(size), size = NULL; … … 713 713 714 714 if(getconfigint("mediadbdebug", NULL) == 1) 715 filedebug(logfile, "#############\nERROR Postermid filesize to BIG skipped: %s filesize(% d) (%s)\n#############", getconfig("mediadbpath", NULL), tnode->postermid, filesize, posterurl);715 filedebug(logfile, "#############\nERROR Postermid filesize to BIG skipped: %s filesize(%lld) (%s)\n#############", tnode->postermid, filesize, posterurl); 716 716 } 717 717 } … … 780 780 char* searchstr = NULL, *tmpstr = NULL; 781 781 782 if(checkinternet == 1)782 if(checkinternet() == 1) 783 783 { 784 784 textbox(_("Message"), _("Error, Internet Connection not found"), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 1100, 500, 10, 0);
Note: See TracChangeset
for help on using the changeset viewer.