Changeset 35286
- Timestamp:
- 09/01/15 00:41:32 (9 years ago)
- Location:
- titan
- Files:
-
- 1 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/plugins/makesh4.sh
r35049 r35286 114 114 compile "callmonitor1" "callmonitor1" "" "" 115 115 compile "stopifnotused" "stopifnotused" "" "" 116 compile "tithek" "tithek" "" ""117 116 compile "wins3" "wins3" "" "" 118 117 compile "rgui" "rgui" "" "" … … 147 146 cd "$HOME"/flashimg/$SRCDIR/plugins 148 147 compile "facebook" "facebook" "" "-l curl" 149 148 compile "tithek" "tithek" "" "-l curl" 150 149 151 150 #rm -r networkbrowser/networkbrowser -
titan/plugins/tithek/tithek.c
r34605 r35286 50 50 #include "vidto.h" 51 51 #include "nowtv.h" 52 #include "amazon.h" 52 53 53 54 char pluginname[] = "TiTan Mediathek"; -
titan/plugins/tithek/tithek.h
r34617 r35286 88 88 //flag 74 - watchmovies series 89 89 //flag 75 - watchmovies local search 90 //flag 75 - amazon 91 //flag 76 - amazon search 92 //flag 77 - amazon local search 90 93 //flag 100 - all local search 91 94 //flag 1000 - menu pincode … … 1349 1352 if(tmpstr != NULL) tmpstr1 = tvtoast(tmpstr); 1350 1353 } 1354 else if(((struct tithek*)listbox->select->handle)->flag == 75) 1355 { 1356 if(tmpstr != NULL) tmpstr1 = amazon(tmpstr); 1357 } 1358 1351 1359 free(tmpstr); tmpstr = NULL; 1352 1360 free(tmpstr2); tmpstr2 = NULL; … … 1937 1945 clearscreen(grid); 1938 1946 1939 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 == 12 || ((struct tithek*)listbox->select->handle)->flag == 14 || ((struct tithek*)listbox->select->handle)->flag == 15 || ((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 )1947 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 == 12 || ((struct tithek*)listbox->select->handle)->flag == 14 || ((struct tithek*)listbox->select->handle)->flag == 15 || ((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 || ((struct tithek*)listbox->select->handle)->flag == 75) 1940 1948 { 1941 1949 submenu(listbox, load, title); … … 2115 2123 { 2116 2124 if(movie4k_hoster_series(grid, listbox, countlabel, load, ((struct tithek*)listbox->select->handle)->link, ((struct tithek*)listbox->select->handle)->title) == 0) 2125 if(screenlistbox(grid, listbox, countlabel, title, titheklink, &pagecount, &tithekexit, &oaktpage, &oaktline, &ogridcol, 0, 0) == 0) break; 2126 } 2127 else if(((struct tithek*)listbox->select->handle)->flag == 76) 2128 { 2129 if(amazon_search(grid, listbox, countlabel, load, ((struct tithek*)listbox->select->handle)->link, ((struct tithek*)listbox->select->handle)->title, NULL, 0) == 0) 2117 2130 if(screenlistbox(grid, listbox, countlabel, title, titheklink, &pagecount, &tithekexit, &oaktpage, &oaktline, &ogridcol, 0, 0) == 0) break; 2118 2131 } -
titan/plugins/tithek/tithek_global.h
r34615 r35286 255 255 else if(ostrstr(tmplink, "vidto") != NULL) 256 256 streamurl = vidto(url); 257 else if(ostrstr(tmplink, "amazon") != NULL) 258 streamurl = amazon(url); 257 259 else 258 260 textbox(_("Message"), _("The hoster is not yet supported !"), _("OK"), getrcconfigint("rcok", NULL), _("EXIT"), getrcconfigint("rcexit", NULL), NULL, 0, NULL, 0, 600, 200, 5, 0); -
titan/plugins/tithek/tithek_header.h
r34615 r35286 42 42 int kinox_search_cast(struct skin* grid, struct skin* listbox, struct skin* countlabel, struct skin* load, char* link, char* title, char* searchstr); 43 43 int solarmovie_search(struct skin* grid, struct skin* listbox, struct skin* countlabel, struct skin* load, char* link, char* title, char* searchstr, int flag); 44 int amazon_search(struct skin* grid, struct skin* listbox, struct skin* countlabel, struct skin* load, char* link, char* title, char* searchstr, int flag); 44 45 int kinox_hoster(struct skin* grid, struct skin* listbox, struct skin* countlabel, struct skin* load, char* link, char* title); 45 46 int kinox_hoster_series(struct skin* grid, struct skin* listbox, struct skin* countlabel, struct skin* load, char* link, char* title); … … 64 65 char* youtube_hoster(char* link); 65 66 char* youtube(char* link); 67 char* amazon_hoster(char* link); 68 char* amazon(char* link); 66 69 char* putlocker(char* link); 67 70 char* filenuke(char* link); … … 106 109 int tvtoast_search_local(struct skin* grid, struct skin* listbox, struct skin* countlabel, struct skin* load, char* link, char* title, char* searchstr, int flag); 107 110 int nowtv_search_local(struct skin* grid, struct skin* listbox, struct skin* countlabel, struct skin* load, char* link, char* title, char* searchstr, int flag); 111 int amazon_search_local(struct skin* grid, struct skin* listbox, struct skin* countlabel, struct skin* load, char* link, char* title, char* searchstr, int flag); 108 112 int all_search_local(struct skin* grid, struct skin* listbox, struct skin* countlabel, struct skin* load, char* link, char* title, char* searchstr, int flag); 109 113 void mlehd_userauth(); -
titan/plugins/tithek/tithek_settings.h
r28637 r35286 14 14 struct skin* picratio = getscreennode(tithek_settings, "picratio"); 15 15 struct skin* hidxxx = getscreennode(tithek_settings, "hidxxx"); 16 struct skin* mlehd_user = getscreennode(tithek_settings, "mlehd_user");17 struct skin* mlehd_pass = getscreennode(tithek_settings, "mlehd_pass");16 struct skin* amazon_user = getscreennode(tithek_settings, "amazon_user"); 17 struct skin* amazon_pass = getscreennode(tithek_settings, "amazon_pass"); 18 18 19 19 addchoicebox(cover, "0", _("show auto entrys")); … … 47 47 setchoiceboxselection(hidxxx, getconfig("tithek_hid_xxx", NULL)); 48 48 49 changemask( mlehd_user, "abcdefghijklmnopqrstuvwxyz");50 changeinput( mlehd_user, getconfig("mlehd_user", NULL));49 changemask(amazon_user, "abcdefghijklmnopqrstuvwxyz"); 50 changeinput(amazon_user, getconfig("amazon_user", NULL)); 51 51 52 changemask( mlehd_pass, "abcdefghijklmnopqrstuvwxyz");53 changeinput( mlehd_pass, getconfig("mlehd_pass", NULL));52 changemask(amazon_pass, "abcdefghijklmnopqrstuvwxyz"); 53 changeinput(amazon_pass, getconfig("amazon_pass", NULL)); 54 54 55 55 drawscreen(tithek_settings, 0, 0); … … 71 71 addconfigscreencheck("tithek_pic_ratio", picratio, NULL); 72 72 addconfigscreencheck("tithek_hid_xxx", hidxxx, NULL); 73 addconfigscreen(" mlehd_user", mlehd_user);74 addconfigscreen(" mlehd_pass", mlehd_pass);73 addconfigscreen("amazon_user", amazon_user); 74 addconfigscreen("amazon_pass", amazon_pass); 75 75 break; 76 76 } -
titan/skins/tithek/skin.xml
r28637 r35286 26 26 <node parent="listbox" name="pay" text="Show Pay Streams" type="choicebox" valign="middle" width="100%" height="35"> 27 27 <node parent="listbox" name="hidxxx" text="Hid XXX Streams" type="choicebox" valign="middle" width="100%" height="35"> 28 <node parent="listbox" name=" mlehd_user" text="Mle-HDUser" type="inputbox" valign="middle" width="100%" height="35">29 <node parent="listbox" name=" mlehd_pass" text="Mle-HDPass" type="inputbox" valign="middle" width="100%" height="35">28 <node parent="listbox" name="amazon_user" text="Amazon Prime User" type="inputbox" valign="middle" width="100%" height="35"> 29 <node parent="listbox" name="amazon_pass" text="Amazon Prime Pass" type="inputbox" valign="middle" width="100%" height="35"> 30 30 <node name="buttonbar" posx="0" posy="0" width="100%" height="50" hspace="5" fontcol="black" fontsize="25" bordercol="titlebgcol" bordersize="1" borderradius="8" bgcol="titlebgcol" bgcol2="white" gradient="topmiddle"> 31 31 <node parent="buttonbar" name="b1" picmem="skin/key_ok_70x40.png" posx="0" posy="center" width="70" height="40">
Note: See TracChangeset
for help on using the changeset viewer.