Changeset 29981
- Timestamp:
- 09/17/14 23:41:05 (10 years ago)
- Location:
- titan/plugins/tithek
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/plugins/tithek/rtl2now.h
r29978 r29981 5 5 // flag 2 = getstreamurl 6 6 7 char* rtl2now(char* link, char* url, char* name, int flag)7 char* now(char* link, char* url, char* name, char* title, int flag) 8 8 { 9 9 debug(99, "link(%d): %s", flag, link); … … 28 28 // textbox(_("Message"), _("Found Pay Stream visit the official Website and Order this Stream and try this again !") , _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 1200, 400, 0, 0); 29 29 30 if(ostrstr(title, "Euro)") == NULL) 31 textbox(_("Message"), _("Found Pay Stream visit the official Website and Order this Stream and try this again !") , _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 1200, 400, 0, 0); 32 30 33 tmpstr = string_resub("data:'", "',", tmpstr, 0); 31 34 debug(99, "tmpstr: %s", tmpstr); … … 34 37 tmpstr = ostrcat(url, tmpstr, 0, 1); 35 38 debug(99, "streamurl: %s", tmpstr); 36 streamurl = rtl2now(tmpstr, url, name, 2);39 streamurl = now(tmpstr, url, name, title, 2); 37 40 free(tmpstr); tmpstr = NULL; 38 41 } -
titan/plugins/tithek/tithek.h
r29555 r29981 1211 1211 { 1212 1212 int flag = 0; 1213 1214 drawscreen(load, 0, 0); 1215 char*tmpstr = ostrcat(((struct tithek*)listbox->select->handle)->link, NULL, 0, 0);1216 char* tmpstr1 = NULL;1217 1213 char* tmpstr = NULL, *tmpstr1 = NULL, *tmpstr2 = NULL; 1214 drawscreen(load, 0, 0); 1215 tmpstr = ostrcat(((struct tithek*)listbox->select->handle)->link, NULL, 0, 0); 1216 tmpstr2 = ostrcat(((struct tithek*)listbox->select->handle)->title, NULL, 0, 0); 1217 1218 1218 if(((struct tithek*)listbox->select->handle)->flag == 2) 1219 1219 { … … 1226 1226 else if(((struct tithek*)listbox->select->handle)->flag == 5) 1227 1227 { 1228 if(tmpstr != NULL) tmpstr1 = rtl2now(tmpstr, "http://rtl2now.rtl2.de", "rtl2now", 1);1228 if(tmpstr != NULL) tmpstr1 = now(tmpstr, "http://rtl2now.rtl2.de", "rtl2now", tmpstr2, 1); 1229 1229 } 1230 1230 else if(((struct tithek*)listbox->select->handle)->flag == 6) 1231 1231 { 1232 if(tmpstr != NULL) tmpstr1 = rtl2now(tmpstr, "http://www.superrtlnow.de", "superrtlnow", 1);1232 if(tmpstr != NULL) tmpstr1 = now(tmpstr, "http://www.superrtlnow.de", "superrtlnow", tmpstr2, 1); 1233 1233 } 1234 1234 else if(((struct tithek*)listbox->select->handle)->flag == 7) 1235 1235 { 1236 if(tmpstr != NULL) tmpstr1 = rtl2now(tmpstr, "http://rtl-now.rtl.de", "rtlnow", 1);1236 if(tmpstr != NULL) tmpstr1 = now(tmpstr, "http://rtl-now.rtl.de", "rtlnow", tmpstr2, 1); 1237 1237 } 1238 1238 else if(((struct tithek*)listbox->select->handle)->flag == 8) 1239 1239 { 1240 if(tmpstr != NULL) tmpstr1 = rtl2now(tmpstr, "http://www.voxnow.de", "voxnow", 1);1240 if(tmpstr != NULL) tmpstr1 = now(tmpstr, "http://www.voxnow.de", "voxnow", tmpstr2, 1); 1241 1241 } 1242 1242 else if(((struct tithek*)listbox->select->handle)->flag == 12) … … 1250 1250 else if(((struct tithek*)listbox->select->handle)->flag == 16) 1251 1251 { 1252 if(tmpstr != NULL) tmpstr1 = rtl2now(tmpstr, "http://www.superrtlnow.de", "superrtlnow", 1);1252 if(tmpstr != NULL) tmpstr1 = now(tmpstr, "http://www.superrtlnow.de", "superrtlnow", tmpstr2, 1); 1253 1253 } 1254 1254 else if(((struct tithek*)listbox->select->handle)->flag == 17) 1255 1255 { 1256 if(tmpstr != NULL) tmpstr1 = rtl2now(tmpstr, "http://rtl-now.rtl.de", "rtlnow", 1);1256 if(tmpstr != NULL) tmpstr1 = now(tmpstr, "http://rtl-now.rtl.de", "rtlnow", tmpstr2, 1); 1257 1257 } 1258 1258 else if(((struct tithek*)listbox->select->handle)->flag == 18) 1259 1259 { 1260 if(tmpstr != NULL) tmpstr1 = rtl2now(tmpstr, "http://www.voxnow.de", "voxnow", 1);1260 if(tmpstr != NULL) tmpstr1 = now(tmpstr, "http://www.voxnow.de", "voxnow", tmpstr2, 1); 1261 1261 } 1262 1262 else if(((struct tithek*)listbox->select->handle)->flag == 19) 1263 1263 { 1264 if(tmpstr != NULL) tmpstr1 = rtl2now(tmpstr, "http://rtl2now.rtl2.de", "rtl2now", 1);1264 if(tmpstr != NULL) tmpstr1 = now(tmpstr, "http://rtl2now.rtl2.de", "rtl2now", tmpstr2, 1); 1265 1265 } 1266 1266 else if(((struct tithek*)listbox->select->handle)->flag == 38) … … 1298 1298 else if(((struct tithek*)listbox->select->handle)->flag == 67) 1299 1299 { 1300 if(tmpstr != NULL) tmpstr1 = rtl2now(tmpstr, "http://www.rtlnitronow.de", "rtlnitronow", 1);1300 if(tmpstr != NULL) tmpstr1 = now(tmpstr, "http://www.rtlnitronow.de", "rtlnitronow", tmpstr2, 1); 1301 1301 } 1302 1302 else if(((struct tithek*)listbox->select->handle)->flag == 68) 1303 1303 { 1304 if(tmpstr != NULL) tmpstr1 = rtl2now(tmpstr, "http://www.rtlnitronow.de", "rtlnitronow", 1);1304 if(tmpstr != NULL) tmpstr1 = now(tmpstr, "http://www.rtlnitronow.de", "rtlnitronow", tmpstr2, 1); 1305 1305 } 1306 1306 else if(((struct tithek*)listbox->select->handle)->flag == 70) 1307 1307 { 1308 if(tmpstr != NULL) tmpstr1 = rtl2now(tmpstr, "http://www.n-tvnow.de", "ntvnow", 1);1308 if(tmpstr != NULL) tmpstr1 = now(tmpstr, "http://www.n-tvnow.de", "ntvnow", tmpstr2, 1); 1309 1309 } 1310 1310 else if(((struct tithek*)listbox->select->handle)->flag == 71) 1311 1311 { 1312 if(tmpstr != NULL) tmpstr1 = rtl2now(tmpstr, "http://www.n-tvnow.de", "ntvnow", 1);1312 if(tmpstr != NULL) tmpstr1 = now(tmpstr, "http://www.n-tvnow.de", "ntvnow", tmpstr2, 1); 1313 1313 } 1314 1314 free(tmpstr); tmpstr = NULL; 1315 free(tmpstr2); tmpstr2 = NULL; 1315 1316 1316 1317 if(ostrstr(title, "Internet Radio") != NULL) -
titan/plugins/tithek/tithek_header.h
r29555 r29981 50 50 int movie4k_series(struct skin* grid, struct skin* listbox, struct skin* countlabel, struct skin* load, char* link, char* title); 51 51 int movie4k_series_listed(struct skin* grid, struct skin* listbox, struct skin* countlabel, struct skin* load, char* link, char* title); 52 char* now(char* link, char* url, char* name, char* title, int flag) 52 53 char* beeg(char* link); 53 54 char* mlehd(char* link); … … 58 59 char* ard(char* link); 59 60 char* zdf(char* link); 60 //char* myvideo(char* link, char* url, char* name, int flag);61 61 char* myvideo_hoster(char* link); 62 62 char* myvideo(char* link); 63 char* rtl2now(char* link, char* url, char* name, int flag);64 //char* youtube(char* link, char* url, char* name, int flag);65 63 char* youtube_hoster(char* link); 66 64 char* youtube(char* link);
Note: See TracChangeset
for help on using the changeset viewer.