Changeset 41862 for titan/plugins


Ignore:
Timestamp:
Jan 31, 2018, 6:34:03 PM (2 years ago)
Author:
obi
Message:

test kino url

Location:
titan/plugins/tithek
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • titan/plugins/tithek/tithek.c

    r41465 r41862  
    123123        status.listboxselectcol = convertcol("tithek_selectcol");
    124124
     125        if(getconfig("kino_url", NULL) == NULL)
     126                addconfigtmp("kino_url", "kinos.to");
     127
    125128//      if(checkbox("WHITEBOX") == 1)
    126129//              screentithekplay("http://atemio.dyndns.tv/mediathek/mainmenu.crenova.list", "Operator - Mainmenu", 1);
  • titan/plugins/tithek/tithek_settings.h

    r41465 r41862  
    1818        struct skin* vk_user = getscreennode(tithek_settings, "vk_user");
    1919        struct skin* vk_pass = getscreennode(tithek_settings, "vk_pass");
     20        struct skin* kino_url = getscreennode(tithek_settings, "kino_url");
    2021        struct skin* autoupdate = getscreennode(tithek_settings, "autoupdate");
    2122        struct skin* b3 = getscreennode(tithek_settings, "b3");
     
    8081                changeinput(vk_pass, "****");
    8182
     83        changemask(kino_url, "abcdefghijklmnopqrstuvwxyz");
     84        changeinput(kino_url, getconfig("kino_url", NULL));
     85
     86        if(!file_exist("/mnt/swapextensions/etc/.codecpack") && !file_exist("/var/swap/etc/.codecpack") && !file_exist("/var/etc/.codecpack"))
     87                kino_url->hidden = YES;
     88
    8289        b3->hidden = YES;
    8390        b4->hidden = YES;
     
    102109                        addconfigscreencheck("tithek_hid_xxx", hidxxx, NULL);
    103110                        addconfigscreencheck("tithek_autoupdate", autoupdate, NULL);
     111                        addconfigscreen("kino_url", kino_url);
    104112/*
    105113                        if(amazon_user->ret != NULL && ostrcmp(amazon_user->ret, "****") != 0)
Note: See TracChangeset for help on using the changeset viewer.