Changeset 25767


Ignore:
Timestamp:
01/28/14 17:18:20 (9 years ago)
Author:
obi
Message:

update drdish to tectime mediathek

Location:
titan
Files:
6 edited
1 moved

Legend:

Unmodified
Added
Removed
  • titan/plugins/tithek/drdish.h

    r25161 r25767  
    1 #ifndef DRDISH_H
    2 #define DRDISH_H
     1#ifndef TECTIME_H
     2#define TECTIME_H
    33
    4 int drdish_search_local(struct skin* grid, struct skin* listbox, struct skin* countlabel, struct skin* load, char* link, char* title, char* searchstr, int flag)
     4int tectime_search_local(struct skin* grid, struct skin* listbox, struct skin* countlabel, struct skin* load, char* link, char* title, char* searchstr, int flag)
    55{
    66        char* tmpstr = NULL, *tmpstr1 = NULL, *line = NULL, *menu = NULL, *search = NULL;
     
    2222                string_tolower(search);
    2323
    24                 tmpstr = gethttp("atemio.dyndns.tv", "/mediathek/drdish/streams/drdish.all-sorted.list", 80, NULL, HTTPAUTH, 5000, NULL, 0);
     24                tmpstr = gethttp("atemio.dyndns.tv", "/mediathek/tectime/streams/tectime.all-sorted.list", 80, NULL, HTTPAUTH, 5000, NULL, 0);
    2525
    2626                struct splitstr* ret1 = NULL;
     
    5353                        {
    5454                                line = string_replace_all("http://atemio.dyndns.tv/", "http://imageshack.us/md/up/grd/", line, 1);
    55                                 menu = ostrcat("/tmp/tithek/drdish.search.list", NULL, 0, 0);
     55                                menu = ostrcat("/tmp/tithek/tectime.search.list", NULL, 0, 0);
    5656                                writesys(menu, line, 0);
    5757                                struct tithek* tnode = (struct tithek*)listbox->select->handle;
  • titan/plugins/tithek/tithek.c

    r25165 r25767  
    3838#include "internettv.h"
    3939#include "giga.h"
    40 #include "drdish.h"
     40#include "tectime.h"
    4141#include "netzkino.h"
    4242
  • titan/plugins/tithek/tithek.h

    r25165 r25767  
    6565//flag 51   - ard local serach
    6666//flag 52   - zdf local serach
    67 //flag 53   - drdish local serach
     67//flag 53   - tectime local serach
    6868//flag 54   - giga local serach
    6969//flag 55   - beeg local serach
     
    18951895                                else if(check == 17)
    18961896                                {
    1897                                         if(drdish_search_local(grid, listbox, countlabel, load, ((struct tithek*)listbox->select->handle)->link, "DrDish - Search (local)", tmpstr, 0) == 0)
    1898                                         {
    1899                                                 oaktpage = listbox->aktpage;
    1900                                                 oaktline = listbox->aktline;
    1901                                                 ogridcol = listbox->gridcol;
    1902                                                 char* tmpstr = ostrcat(((struct tithek*)listbox->select->handle)->link, NULL, 0, 0);
    1903                                                 char* tmpstr1 = ostrcat("DrDish - Search (local)", " - ", 0, 0);
     1897                                        if(tectime_search_local(grid, listbox, countlabel, load, ((struct tithek*)listbox->select->handle)->link, "TecTime - Search (local)", tmpstr, 0) == 0)
     1898                                        {
     1899                                                oaktpage = listbox->aktpage;
     1900                                                oaktline = listbox->aktline;
     1901                                                ogridcol = listbox->gridcol;
     1902                                                char* tmpstr = ostrcat(((struct tithek*)listbox->select->handle)->link, NULL, 0, 0);
     1903                                                char* tmpstr1 = ostrcat("TecTime - Search (local)", " - ", 0, 0);
    19041904                                                char* tmpstr2 = ostrcat(tmpstr1, ((struct tithek*)listbox->select->handle)->title, 1, 0);
    19051905                                                screentithekplay(tmpstr, tmpstr2, 0);
     
    24182418                                else if(((struct tithek*)listbox->select->handle)->flag == 53)
    24192419                                {
    2420                                         if(drdish_search_local(grid, listbox, countlabel, load, ((struct tithek*)listbox->select->handle)->link, ((struct tithek*)listbox->select->handle)->title, NULL, 0) == 0)
     2420                                        if(tectime_search_local(grid, listbox, countlabel, load, ((struct tithek*)listbox->select->handle)->link, ((struct tithek*)listbox->select->handle)->title, NULL, 0) == 0)
    24212421                                        {
    24222422                                                oaktpage = listbox->aktpage;
  • titan/plugins/tithek/tithek_header.h

    r25165 r25767  
    6464int ard_search_local(struct skin* grid, struct skin* listbox, struct skin* countlabel, struct skin* load, char* link, char* title, char* searchstr, int flag);
    6565int zdf_search_local(struct skin* grid, struct skin* listbox, struct skin* countlabel, struct skin* load, char* link, char* title, char* searchstr, int flag);
    66 int drdish_search_local(struct skin* grid, struct skin* listbox, struct skin* countlabel, struct skin* load, char* link, char* title, char* searchstr, int flag);
     66int tectime_search_local(struct skin* grid, struct skin* listbox, struct skin* countlabel, struct skin* load, char* link, char* title, char* searchstr, int flag);
    6767int giga_search_local(struct skin* grid, struct skin* listbox, struct skin* countlabel, struct skin* load, char* link, char* title, char* searchstr, int flag);
    6868int beeg_search_local(struct skin* grid, struct skin* listbox, struct skin* countlabel, struct skin* load, char* link, char* title, char* searchstr, int flag);
  • titan/skins/tithek/tithekmainmenu/mainmenu-tectime.list

    r25766 r25767  
    1 Category#http://atemio.dyndns.tv/mediathek/drdish/drdish.category.list#http://atemio.dyndns.tv/mediathek/menu/category.jpg#category.jpg#DrDish#0
    2 A-Z#http://atemio.dyndns.tv/mediathek/drdish/drdish.a-z.list#http://atemio.dyndns.tv/mediathek/menu/a-z.jpg#a-z.jpg#DrDish#0
    3 All Sorted#http://atemio.dyndns.tv/mediathek/drdish/streams/drdish.all-sorted.list#http://atemio.dyndns.tv/mediathek/menu/all-sorted.jpg#all-sorted.jpg#DrDish#0
    4 Search (local)#http://atemio.dyndns.tv/mediathek/drdish/streams/mainmenu-drdish.list#http://atemio.dyndns.tv/mediathek/menu/search.jpg#search.jpg#DrDish#53
     1Category#http://atemio.dyndns.tv/mediathek/tectime/tectime.category.list#http://atemio.dyndns.tv/mediathek/menu/category.jpg#category.jpg#TecTime#0
     2A-Z#http://atemio.dyndns.tv/mediathek/tectime/tectime.a-z.list#http://atemio.dyndns.tv/mediathek/menu/a-z.jpg#a-z.jpg#TecTime#0
     3All Sorted#http://atemio.dyndns.tv/mediathek/tectime/streams/tectime.all-sorted.list#http://atemio.dyndns.tv/mediathek/menu/all-sorted.jpg#all-sorted.jpg#TecTime#0
     4Search (local)#http://atemio.dyndns.tv/mediathek/tectime/streams/mainmenu-tectime.list#http://atemio.dyndns.tv/mediathek/menu/search.jpg#search.jpg#TecTime#53
  • titan/skins/tithek/tithekmainmenu/mainmenu.list

    r25750 r25767  
    1616Movie4k#http://atemio.dyndns.tv/mediathek/mainmenu-movie4k.list#http://atemio.dyndns.tv/mediathek/menu/movie4k.jpg#movie4k.jpg#TiThek#9997
    1717XXX-XVIDEOS#http://atemio.dyndns.tv/mediathek/mainmenu-xvideos.list#http://atemio.dyndns.tv/mediathek/menu/xvideos.jpg#xvideos.jpg#TiThek#1000
    18 DrDish#http://atemio.dyndns.tv/mediathek/mainmenu-drdish.list#http://atemio.dyndns.tv/mediathek/menu/drdish.jpg#drdish.jpg#TiThek#0
     18TecTime#http://atemio.dyndns.tv/mediathek/mainmenu-tectime.list#http://atemio.dyndns.tv/mediathek/menu/tectime.jpg#tectime.jpg#TiThek#0
    1919Giga#http://atemio.dyndns.tv/mediathek/mainmenu-giga.list#http://atemio.dyndns.tv/mediathek/menu/giga.jpg#giga.jpg#TiThek#0
    2020ARD#http://atemio.dyndns.tv/mediathek/mainmenu-ard.list#http://atemio.dyndns.tv/mediathek/menu/ard.jpg#ard.jpg#TiThek#0
  • titan/titan/play.h

    r25693 r25767  
    651651                addmenulist(&mlist, "Search on ARD (local)", NULL, NULL, 0, 0);
    652652                addmenulist(&mlist, "Search on ZDF (local)", NULL, NULL, 0, 0);
    653                 addmenulist(&mlist, "Search on DrDish (local)", NULL, NULL, 0, 0);
     653                addmenulist(&mlist, "Search on TecTime (local)", NULL, NULL, 0, 0);
    654654                addmenulist(&mlist, "Search on Giga (local)", NULL, NULL, 0, 0);
    655655                addmenulist(&mlist, "Search on Rtl-Now (local)", NULL, NULL, 0, 0);
     
    736736                else if(ostrcmp(mbox->name, "Search on ZDF (local)") == 0)
    737737                        ret = 16;
    738                 else if(ostrcmp(mbox->name, "Search on DrDish (local)") == 0)
     738                else if(ostrcmp(mbox->name, "Search on TecTime (local)") == 0)
    739739                        ret = 17;
    740740                else if(ostrcmp(mbox->name, "Search on Giga (local)") == 0)
Note: See TracChangeset for help on using the changeset viewer.