Ignore:
Timestamp:
04/23/17 21:40:56 (5 years ago)
Author:
obi
Message:

tithek add localhoster_init on webif play > hosterurl

File:
1 edited

Legend:

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

    r40313 r40357  
    88        debug(99, "url: %s", url);
    99        char* streamurl = NULL, *tmplink = NULL;
     10        struct skin* load = getscreen("loading");
    1011
    1112        tmplink = ostrcat(url, NULL, 0, 0);
     
    103104        if(streamurl == NULL)
    104105        {
     106                if(!file_exist("/tmp/localhoster"))
     107                        localparser_init("http://atemio.dyndns.tv/mediathek/mainmenu.list", "mainmenu.local.list", 1);
     108
     109                drawscreen(load, 0, 0);
     110
    105111                cmd = ostrcat("/tmp/localhoster/hoster.sh youtube_dl \"", url, 0, 0);
    106112                cmd = ostrcat(cmd, "\"", 1, 0);
     
    110116       
    111117                free(cmd), cmd = NULL;
     118
     119                clearscreen(load);
    112120
    113121                if(streamurl == NULL)
Note: See TracChangeset for help on using the changeset viewer.