Changeset 36051


Ignore:
Timestamp:
Nov 3, 2015, 4:01:47 PM (5 years ago)
Author:
obi
Message:

[tithek] add vivo.sx hoster

Location:
titan/plugins/tithek
Files:
1 added
3 edited

Legend:

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

    r35973 r36051  
    718718        }
    719719
    720 //      amazon_init(titheklink, tithekfile);
     720        amazon_init(titheklink, tithekfile);
    721721
    722722        delmarkedscreennodes(grid, 1);
     
    910910
    911911        char* tmpstr1 = ostrcat(_("found"), NULL, 0, 0);
    912         tmpstr1 = ostrcat(tmpstr1, ":", 1, 0);
    913912        tmpstr1 = ostrcat(tmpstr1, " ", 1, 0);
    914913        tmpstr1 = ostrcat(tmpstr1, tmpstr, 1, 0);
  • titan/plugins/tithek/tithek_global.h

    r36015 r36051  
    5050        else if(ostrstr(tmplink, "thefile") != NULL)
    5151                streamurl = thefile(url);
    52         else if(ostrstr(tmplink, "youtu") != NULL)
     52        else if(ostrstr(tmplink, "youtube") != NULL)
    5353                streamurl = youtube(url);
    5454        else if(ostrstr(tmplink, "myvideo") != NULL)
     
    7272        else if(ostrstr(tmplink, "cloudzilla") != NULL)
    7373                streamurl = cloudzilla(url);
     74        else if(ostrstr(tmplink, "vivo") != NULL)
     75                streamurl = vivo(url);
    7476        else
    7577                textbox(_("Message"), _("The hoster is not yet supported !"), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 600, 200, 5, 0);
     
    160162                        curl_easy_setopt(curl_handle, CURLOPT_HEADER, 1L);
    161163                curl_easy_setopt(curl_handle, CURLOPT_CONNECTTIMEOUT, 5);
    162                 curl_easy_setopt(curl_handle, CURLOPT_TIMEOUT, 20);
     164                curl_easy_setopt(curl_handle, CURLOPT_TIMEOUT, 100);
    163165                /* send all data to this function  */
    164166            if(localfile == NULL)
     
    180182                // CURLOPT_SSL_VERIFYPEER is disabled (it defaults to 2 - check the existence of a
    181183                // common name and also verify that it matches the hostname provided)
    182 #ifdef MIPSEL
    183184                curl_easy_setopt(curl_handle, CURLOPT_SSL_VERIFYPEER, 1L);
    184 #else
    185                 curl_easy_setopt(curl_handle, CURLOPT_SSL_VERIFYPEER, 0L);
    186 #endif
     185
    187186                curl_easy_setopt(curl_handle, CURLOPT_SSL_VERIFYHOST, 0L);
    188187                if(debuglevel == 99)
  • titan/plugins/tithek/tithek_header.h

    r35609 r36051  
    100100char* mightyupload(char* link);
    101101char* cloudzilla(char* link);
     102char* vivo(char* link);
    102103int internetradio_search_local(struct skin* grid, struct skin* listbox, struct skin* countlabel, struct skin* load, char* link, char* title, char* searchstr, int flag);
    103104int internettv_search_local(struct skin* grid, struct skin* listbox, struct skin* countlabel, struct skin* load, char* link, char* title, char* searchstr, int flag);
Note: See TracChangeset for help on using the changeset viewer.