Changeset 28839
- Timestamp:
- Apr 29, 2014, 3:55:32 PM (7 years ago)
- Location:
- titan/plugins/tithek
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/plugins/tithek/tithek.c
r28659 r28839 41 41 #include "netzkino.h" 42 42 #include "filmon.h" 43 #include "tvtoast.h" 43 44 44 45 char pluginname[] = "TiTan Mediathek"; -
titan/plugins/tithek/tithek.h
r28733 r28839 76 76 //flag 62 - netzkino local serach 77 77 //flag 63 - filmon local serach 78 //flag 64 - tvtoast 79 //flag 65 - tvtoast local serach 78 80 79 81 //flag 66 - coming soon dummy … … 1278 1280 if(tmpstr != NULL) tmpstr1 = beeg(tmpstr); 1279 1281 } 1282 else if(((struct tithek*)listbox->select->handle)->flag == 64) 1283 { 1284 if(tmpstr != NULL) tmpstr1 = tvtoast(tmpstr); 1285 } 1280 1286 free(tmpstr); tmpstr = NULL; 1281 1287 … … 2296 2302 clearscreen(grid); 2297 2303 2298 if((((struct tithek*)listbox->select->handle)->flag == 2) || (((struct tithek*)listbox->select->handle)->flag == 4) || (((struct tithek*)listbox->select->handle)->flag == 5) || (((struct tithek*)listbox->select->handle)->flag == 6) || (((struct tithek*)listbox->select->handle)->flag == 7) || (((struct tithek*)listbox->select->handle)->flag == 8) || (((struct tithek*)listbox->select->handle)->flag == 12) || (((struct tithek*)listbox->select->handle)->flag == 14) || (((struct tithek*)listbox->select->handle)->flag == 15) || (((struct tithek*)listbox->select->handle)->flag == 16) || (((struct tithek*)listbox->select->handle)->flag == 17) || (((struct tithek*)listbox->select->handle)->flag == 18) || (((struct tithek*)listbox->select->handle)->flag == 19) || (((struct tithek*)listbox->select->handle)->flag == 20) || (((struct tithek*)listbox->select->handle)->flag == 38) || (((struct tithek*)listbox->select->handle)->flag == 42) || (((struct tithek*)listbox->select->handle)->flag == 45) || (((struct tithek*)listbox->select->handle)->flag == 46) || (((struct tithek*)listbox->select->handle)->flag == 50) || (((struct tithek*)listbox->select->handle)->flag == 41) || (((struct tithek*)listbox->select->handle)->flag == 43))2304 if((((struct tithek*)listbox->select->handle)->flag == 2) || (((struct tithek*)listbox->select->handle)->flag == 4) || (((struct tithek*)listbox->select->handle)->flag == 5) || (((struct tithek*)listbox->select->handle)->flag == 6) || (((struct tithek*)listbox->select->handle)->flag == 7) || (((struct tithek*)listbox->select->handle)->flag == 8) || (((struct tithek*)listbox->select->handle)->flag == 12) || (((struct tithek*)listbox->select->handle)->flag == 14) || (((struct tithek*)listbox->select->handle)->flag == 15) || (((struct tithek*)listbox->select->handle)->flag == 16) || (((struct tithek*)listbox->select->handle)->flag == 17) || (((struct tithek*)listbox->select->handle)->flag == 18) || (((struct tithek*)listbox->select->handle)->flag == 19) || (((struct tithek*)listbox->select->handle)->flag == 20) || (((struct tithek*)listbox->select->handle)->flag == 38) || (((struct tithek*)listbox->select->handle)->flag == 42) || (((struct tithek*)listbox->select->handle)->flag == 45) || (((struct tithek*)listbox->select->handle)->flag == 46) || (((struct tithek*)listbox->select->handle)->flag == 64) || (((struct tithek*)listbox->select->handle)->flag == 50) || (((struct tithek*)listbox->select->handle)->flag == 41) || (((struct tithek*)listbox->select->handle)->flag == 43)) 2299 2305 { 2300 2306 submenu(listbox, load, title); … … 2787 2793 { 2788 2794 if(filmon_search_local(grid, listbox, countlabel, load, ((struct tithek*)listbox->select->handle)->link, ((struct tithek*)listbox->select->handle)->title, NULL, 0) == 0) 2795 { 2796 oaktpage = listbox->aktpage; 2797 oaktline = listbox->aktline; 2798 ogridcol = listbox->gridcol; 2799 char* tmpstr = ostrcat(((struct tithek*)listbox->select->handle)->link, NULL, 0, 0); 2800 char* tmpstr1 = ostrcat(((struct tithek*)listbox->select->handle)->menutitle, " - ", 0, 0); 2801 char* tmpstr2 = ostrcat(tmpstr1, ((struct tithek*)listbox->select->handle)->title, 1, 0); 2802 screentithekplay(tmpstr, tmpstr2, 0); 2803 free(tmpstr); tmpstr = NULL; 2804 free(tmpstr2); tmpstr2 = NULL; 2805 2806 pagecount = createtithekplay(titheklink, grid, listbox, countlabel, 0); 2807 if(pagecount == 0 || tithekexit == 1) break; 2808 2809 listbox->aktpage = oaktpage; 2810 listbox->aktline = oaktline; 2811 listbox->gridcol = ogridcol; 2812 addscreenrc(grid, listbox); 2813 } 2814 } 2815 else if(((struct tithek*)listbox->select->handle)->flag == 65) 2816 { 2817 if(tvtoast_search_local(grid, listbox, countlabel, load, ((struct tithek*)listbox->select->handle)->link, ((struct tithek*)listbox->select->handle)->title, NULL, 0) == 0) 2789 2818 { 2790 2819 oaktpage = listbox->aktpage; -
titan/plugins/tithek/tithek_header.h
r28659 r28839 55 55 char* played(char* link); 56 56 char* videoweed(char* link); 57 char* tvtoast(char* link); 57 58 int internetradio_search_local(struct skin* grid, struct skin* listbox, struct skin* countlabel, struct skin* load, char* link, char* title, char* searchstr, int flag); 58 59 int internettv_search_local(struct skin* grid, struct skin* listbox, struct skin* countlabel, struct skin* load, char* link, char* title, char* searchstr, int flag); … … 75 76 int mlehd_search_local(struct skin* grid, struct skin* listbox, struct skin* countlabel, struct skin* load, char* link, char* title, char* searchstr, int flag); 76 77 int filmon_search_local(struct skin* grid, struct skin* listbox, struct skin* countlabel, struct skin* load, char* link, char* title, char* searchstr, int flag); 78 int tvtoast_search_local(struct skin* grid, struct skin* listbox, struct skin* countlabel, struct skin* load, char* link, char* title, char* searchstr, int flag); 77 79 void mlehd_userauth(); 78 80
Note: See TracChangeset
for help on using the changeset viewer.