Changeset 39033 for titan


Ignore:
Timestamp:
09/26/16 17:06:45 (7 years ago)
Author:
obi
Message:

fix

Location:
titan/plugins/tithek
Files:
2 edited

Legend:

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

    r39020 r39033  
    24842484        clearscreen(grid);
    24852485
    2486         if(first == 1)
    2487         {
     2486//      if(first == 1)
     2487//      {
    24882488                setvol(savevol);
    24892489
    24902490                freetithek();
     2491                delallfiles("/tmp/localhoster", NULL);
     2492                delallfiles("/tmp/localparser", NULL);
     2493                delallfiles("/tmp/localcache", NULL);
     2494                delallfiles("/tmp/parser", NULL);
    24912495                delallfiles("/tmp/tithek", NULL);
     2496
    24922497                if(status.mcaktiv == 0)
    24932498                        servicecheckret(servicestart(status.lastservice->channel, NULL, NULL, 0), 0);
    2494         }
     2499//      }
    24952500}
    24962501
  • titan/plugins/tithek/tithek_global.h

    r39031 r39033  
    793793                                mkdir(path, 0777);
    794794       
    795                         unlink("/tmp/parser.tar");
    796795                        gethttp("atemio.dyndns.tv", "/mediathek/parser_free.tar", 80, "/tmp/parser.tar", HTTPAUTH, 5000, NULL, 0);
    797796       
     
    799798                        system(cmd);
    800799                        free(cmd), cmd = NULL;
     800                        unlink("/tmp/parser.tar");
    801801       
    802802                        if(file_exist("/mnt/swapextensions/etc/.codecpack") || file_exist("/var/swap/etc/.codecpack") || file_exist("/var/etc/.codecpack"))
     
    809809                        }
    810810       
    811                         unlink("/tmp/hoster.tar");
    812811                        gethttp("atemio.dyndns.tv", "/mediathek/hoster.tar", 80, "/tmp/hoster.tar", HTTPAUTH, 5000, NULL, 0);
    813812                        cmd = ostrcat("tar -xvf /tmp/hoster.tar -C ", "/tmp/localhoster", 0, 0);
    814813                        system(cmd);
    815814                        free(cmd), cmd = NULL;
     815                        unlink("/tmp/hoster.tar");
    816816
    817817                        cmd = ostrcat("chmod -R 755 ", path, 0, 0);
Note: See TracChangeset for help on using the changeset viewer.