- Timestamp:
- 09/26/16 17:06:45 (7 years ago)
- Location:
- titan/plugins/tithek
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/plugins/tithek/tithek.h
r39020 r39033 2484 2484 clearscreen(grid); 2485 2485 2486 if(first == 1)2487 {2486 // if(first == 1) 2487 // { 2488 2488 setvol(savevol); 2489 2489 2490 2490 freetithek(); 2491 delallfiles("/tmp/localhoster", NULL); 2492 delallfiles("/tmp/localparser", NULL); 2493 delallfiles("/tmp/localcache", NULL); 2494 delallfiles("/tmp/parser", NULL); 2491 2495 delallfiles("/tmp/tithek", NULL); 2496 2492 2497 if(status.mcaktiv == 0) 2493 2498 servicecheckret(servicestart(status.lastservice->channel, NULL, NULL, 0), 0); 2494 }2499 // } 2495 2500 } 2496 2501 -
titan/plugins/tithek/tithek_global.h
r39031 r39033 793 793 mkdir(path, 0777); 794 794 795 unlink("/tmp/parser.tar");796 795 gethttp("atemio.dyndns.tv", "/mediathek/parser_free.tar", 80, "/tmp/parser.tar", HTTPAUTH, 5000, NULL, 0); 797 796 … … 799 798 system(cmd); 800 799 free(cmd), cmd = NULL; 800 unlink("/tmp/parser.tar"); 801 801 802 802 if(file_exist("/mnt/swapextensions/etc/.codecpack") || file_exist("/var/swap/etc/.codecpack") || file_exist("/var/etc/.codecpack")) … … 809 809 } 810 810 811 unlink("/tmp/hoster.tar");812 811 gethttp("atemio.dyndns.tv", "/mediathek/hoster.tar", 80, "/tmp/hoster.tar", HTTPAUTH, 5000, NULL, 0); 813 812 cmd = ostrcat("tar -xvf /tmp/hoster.tar -C ", "/tmp/localhoster", 0, 0); 814 813 system(cmd); 815 814 free(cmd), cmd = NULL; 815 unlink("/tmp/hoster.tar"); 816 816 817 817 cmd = ostrcat("chmod -R 755 ", path, 0, 0);
Note: See TracChangeset
for help on using the changeset viewer.