Changeset 37148 for titan/plugins/tithek/tithek_global.h
- Timestamp:
- 02/15/16 01:05:28 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/plugins/tithek/tithek_global.h
r37146 r37148 630 630 if(ostrcmp("http://atemio.dyndns.tv/mediathek/mainmenu.list", titheklink) == 0) 631 631 { 632 path = createpluginpath("/tithek", 0); 633 path = ostrcat(path, "/parser", 1, 0); 634 632 // path = createpluginpath("/tithek", 0); 633 // path = ostrcat(path, "/parser", 1, 0); 634 path = ostrcat("/tmp/localparser", 0, 0); 635 636 if(!file_exist("/tmp/hoster")) 637 mkdir("/tmp/hoster", 0777); 635 638 if(!file_exist("/mnt/parser")) 636 639 mkdir("/mnt/parser", 0777); … … 654 657 } 655 658 659 unlink("/tmp/hoster.tar"); 660 gethttp("atemio.dyndns.tv", "/mediathek/hoster.tar", 80, "/tmp/hoster.tar", HTTPAUTH, 5000, NULL, 0); 661 cmd = ostrcat("tar -xvf /tmp/hoster.tar -C ", "/tmp/hoster", 0, 0); 662 system(cmd); 663 free(cmd), cmd = NULL; 664 656 665 cmd = ostrcat("chmod -R 755 ", path, 0, 0); 657 666 system(cmd); 658 667 free(cmd), cmd = NULL; 659 668 660 cmd = ostrcat("chmod -R 755 /tmp/ parser", NULL, 0, 0);669 cmd = ostrcat("chmod -R 755 /tmp/hoster", NULL, 0, 0); 661 670 system(cmd); 662 671 free(cmd), cmd = NULL;
Note: See TracChangeset
for help on using the changeset viewer.