Changeset 37146


Ignore:
Timestamp:
02/15/16 00:24:19 (6 years ago)
Author:
obi
Message:

add /tmp/localhoster/hoster.sh support

File:
1 edited

Legend:

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

    r37026 r37146  
    8383                streamurl = p2pcast(url);
    8484        else
    85                 textbox(_("Message"), _("The hoster is not yet supported !"), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 600, 200, 5, 0);
    86 
     85        {
     86                char* cmd = NULL;
     87                cmd = ostrcat("/tmp/localhoster/hoster.sh ", url, 0, 0);
     88                streamurl = command(cmd);
     89                free(cmd), cmd = NULL;
     90                if(streamurl == NULL)
     91                        textbox(_("Message"), _("The hoster is not yet supported !"), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 600, 200, 5, 0);
     92        }
    8793
    8894        debug(99, "Streamurl1: %s", streamurl);
Note: See TracChangeset for help on using the changeset viewer.