Changeset 30011


Ignore:
Timestamp:
09/20/14 10:56:15 (9 years ago)
Author:
obi
Message:

[tithek] fix played hoster

File:
1 edited

Legend:

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

    r28962 r30011  
    7575        titheklog(debuglevel, "/tmp/played1_get", NULL, NULL, NULL, tmpstr);
    7676
     77        streamlink = string_resub("file: \"", "\"", tmpstr, 0);         
     78        if(streamlink != NULL)
     79        {
     80                goto end;
     81        }
     82
    7783        if(tmpstr == NULL)
    7884        {
    7985                textbox(_("Message"), _("The page is temporarily unavailable") , _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 1200, 200, 0, 0);
     86                goto end;
     87        }
     88
     89        if(tmpstr == NULL || ostrstr(tmpstr, "<center>This video has been deleted. We apologize for the inconvenience.</center>") != NULL)
     90        {
     91                textbox(_("Message"), _("This video has been deleted. We apologize for the inconvenience.") , _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 1200, 200, 0, 0);
    8092                goto end;
    8193        }
Note: See TracChangeset for help on using the changeset viewer.