Changeset 35286


Ignore:
Timestamp:
09/01/15 00:41:32 (9 years ago)
Author:
obi
Message:

[tithek] amazon step2 add prime login

Location:
titan
Files:
1 added
7 edited

Legend:

Unmodified
Added
Removed
  • titan/plugins/makesh4.sh

    r35049 r35286  
    114114compile "callmonitor1" "callmonitor1" "" ""
    115115compile "stopifnotused" "stopifnotused" "" ""
    116 compile "tithek" "tithek" "" ""
    117116compile "wins3" "wins3" "" ""
    118117compile "rgui" "rgui" "" ""
     
    147146cd "$HOME"/flashimg/$SRCDIR/plugins
    148147compile "facebook" "facebook" "" "-l curl"
    149 
     148compile "tithek" "tithek" "" "-l curl"
    150149
    151150#rm -r networkbrowser/networkbrowser
  • titan/plugins/tithek/tithek.c

    r34605 r35286  
    5050#include "vidto.h"
    5151#include "nowtv.h"
     52#include "amazon.h"
    5253
    5354char pluginname[] = "TiTan Mediathek";
  • titan/plugins/tithek/tithek.h

    r34617 r35286  
    8888//flag 74   - watchmovies series
    8989//flag 75   - watchmovies local search
     90//flag 75   - amazon
     91//flag 76   - amazon search
     92//flag 77   - amazon local search
    9093//flag 100  - all local search
    9194//flag 1000 - menu pincode
     
    13491352                if(tmpstr != NULL) tmpstr1 = tvtoast(tmpstr);
    13501353        }
     1354        else if(((struct tithek*)listbox->select->handle)->flag == 75)
     1355        {
     1356                if(tmpstr != NULL) tmpstr1 = amazon(tmpstr);
     1357        }
     1358
    13511359        free(tmpstr); tmpstr = NULL;
    13521360        free(tmpstr2); tmpstr2 = NULL;
     
    19371945                                clearscreen(grid);
    19381946
    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)
    19401948                                {
    19411949                                        submenu(listbox, load, title);
     
    21152123                                {
    21162124                                        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)
    21172130                                                if(screenlistbox(grid, listbox, countlabel, title, titheklink, &pagecount, &tithekexit, &oaktpage, &oaktline, &ogridcol, 0, 0) == 0) break;
    21182131                                }
  • titan/plugins/tithek/tithek_global.h

    r34615 r35286  
    255255        else if(ostrstr(tmplink, "vidto") != NULL)
    256256                streamurl = vidto(url);
     257        else if(ostrstr(tmplink, "amazon") != NULL)
     258                streamurl = amazon(url);
    257259        else
    258260                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  
    4242int kinox_search_cast(struct skin* grid, struct skin* listbox, struct skin* countlabel, struct skin* load, char* link, char* title, char* searchstr);
    4343int solarmovie_search(struct skin* grid, struct skin* listbox, struct skin* countlabel, struct skin* load, char* link, char* title, char* searchstr, int flag);
     44int amazon_search(struct skin* grid, struct skin* listbox, struct skin* countlabel, struct skin* load, char* link, char* title, char* searchstr, int flag);
    4445int kinox_hoster(struct skin* grid, struct skin* listbox, struct skin* countlabel, struct skin* load, char* link, char* title);
    4546int kinox_hoster_series(struct skin* grid, struct skin* listbox, struct skin* countlabel, struct skin* load, char* link, char* title);
     
    6465char* youtube_hoster(char* link);
    6566char* youtube(char* link);
     67char* amazon_hoster(char* link);
     68char* amazon(char* link);
    6669char* putlocker(char* link);
    6770char* filenuke(char* link);
     
    106109int tvtoast_search_local(struct skin* grid, struct skin* listbox, struct skin* countlabel, struct skin* load, char* link, char* title, char* searchstr, int flag);
    107110int nowtv_search_local(struct skin* grid, struct skin* listbox, struct skin* countlabel, struct skin* load, char* link, char* title, char* searchstr, int flag);
     111int amazon_search_local(struct skin* grid, struct skin* listbox, struct skin* countlabel, struct skin* load, char* link, char* title, char* searchstr, int flag);
    108112int all_search_local(struct skin* grid, struct skin* listbox, struct skin* countlabel, struct skin* load, char* link, char* title, char* searchstr, int flag);
    109113void mlehd_userauth();
  • titan/plugins/tithek/tithek_settings.h

    r28637 r35286  
    1414        struct skin* picratio = getscreennode(tithek_settings, "picratio");
    1515        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");
    1818
    1919        addchoicebox(cover, "0", _("show auto entrys"));
     
    4747        setchoiceboxselection(hidxxx, getconfig("tithek_hid_xxx", NULL));
    4848
    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));
    5151
    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));
    5454
    5555        drawscreen(tithek_settings, 0, 0);
     
    7171                        addconfigscreencheck("tithek_pic_ratio", picratio, NULL);
    7272                        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);
    7575                        break;
    7676                }
  • titan/skins/tithek/skin.xml

    r28637 r35286  
    2626                <node parent="listbox" name="pay" text="Show Pay Streams" type="choicebox" valign="middle" width="100%" height="35">
    2727                <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-HD User" type="inputbox" valign="middle" width="100%" height="35">
    29                 <node parent="listbox" name="mlehd_pass" text="Mle-HD Pass" 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">
    3030        <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">
    3131                <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.