Changeset 36949


Ignore:
Timestamp:
01/25/16 17:06:41 (8 years ago)
Author:
obi
Message:

fix

File:
1 edited

Legend:

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

    r36948 r36949  
    633633
    634634                unlink("/tmp/parser.tar");
    635                 gethttp("atemio.dyndns.tv", "/mediathek/parser.tar", 80, "/tmp/parser.tar", HTTPAUTH, 5000, NULL, 0);
     635                gethttp("atemio.dyndns.tv", "/mediathek/parser_free.tar", 80, "/tmp/parser.tar", HTTPAUTH, 5000, NULL, 0);
    636636
    637637                cmd = ostrcat("tar -xvf /tmp/parser.tar -C ", path, 0, 0);
     
    639639                system(cmd);
    640640                free(cmd), cmd = NULL;
     641
     642                if(file_exist("/mnt/swapextensions/etc/.codecpack") || file_exist("/var/swap/etc/.codecpack") || file_exist("/var/etc/.codecpack"))
     643                {
     644                        unlink("/tmp/parser.tar");
     645                        gethttp("atemio.dyndns.tv", "/mediathek/parser_secret.tar", 80, "/tmp/parser.tar", HTTPAUTH, 5000, NULL, 0);
     646                        cmd = ostrcat("tar -xvf /tmp/parser.tar -C ", path, 0, 0);
     647                        printf(cmd: %s\n", cmd);
     648                        system(cmd);
     649                        free(cmd), cmd = NULL;
     650                }
    641651
    642652                cmd = ostrcat("ls -1 ", path, 0, 0);
Note: See TracChangeset for help on using the changeset viewer.