Changeset 19974


Ignore:
Timestamp:
02/07/13 00:07:27 (11 years ago)
Author:
obi
Message:

[titan] fix build

Location:
titan
Files:
10 edited

Legend:

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

    r18405 r19974  
    5151        if(checkbox("TF7700"))
    5252        {
    53                 deltimer(TopfieldVFDstimerthread);
     53                deltimer(TopfieldVFDstimerthread, 1);
    5454                pluginaktiv = 0;
    5555                debug(10, "TopfieldVFD removed !!!");
  • titan/plugins/dlna/dlna.h

    r19542 r19974  
    228228void screendlna()
    229229{
    230         int rcret = -1, ret = 0, i = 0;
     230        int rcret = -1, ret = 0;
    231231        struct skin* dlna = getscreen("dlnasettings");
    232232        struct skin* listbox = getscreennode(dlna, "listbox");
  • titan/plugins/dvdplayer/dvdplay.h

    r18973 r19974  
    5555
    5656                drawscreen(skin, 0, 0);
    57                 playwritevfd(file);
     57                playwritevfd(file, NULL);
    5858                rcret = dvdstart(file);
    5959#ifndef SIMULATE
     
    7171#endif
    7272
    73                 //screenplayinfobar(file, 0, playertype, flag);
     73                //screenplayinfobar(file, NULL, 0, playertype, flag);
    7474
    7575                //change codec if ac3default and video has ac3
     
    9191                                playinfobarcount++;
    9292                                if(playinfobarstatus > 0)
    93                                         screenplayinfobar(file, 0, playertype, flag);
     93                                        screenplayinfobar(file, NULL, 0, playertype, flag);
    9494                                if(playinfobarstatus == 1 && playinfobarcount >= getconfigint("infobartimeout", NULL) * 10)
    9595                                {
    9696                                        playinfobarstatus = 0;
    97                                         screenplayinfobar(NULL, 1, playertype, flag);
     97                                        screenplayinfobar(NULL, NULL, 1, playertype, flag);
    9898                                }
    9999
     
    114114                                        if(playinfobarstatus == 1)
    115115                                        {
    116                                                 screenplayinfobar(NULL, 1, playertype, flag);
     116                                                screenplayinfobar(NULL, NULL, 1, playertype, flag);
    117117                                                playinfobarstatus = 0;
    118118                                        }
     
    123123
    124124                                //if(rcret == getrcconfigint("rcyellow", NULL))
    125                                 //      playrcyellow(file, playinfobarstatus, playertype, flag);
     125                                //      playrcyellow(file, NULL, playinfobarstatus, playertype, flag);
    126126                               
    127127                                //if(rcret == getrcconfigint("rctext", NULL) || rcret == getrcconfigint("rcsubtitel", NULL))
    128                                 //      playrctext(file, playinfobarstatus, playertype, flag);
     128                                //      playrctext(file, NULL, playinfobarstatus, playertype, flag);
    129129                                       
    130130                                if(rcret == getrcconfigint("rcgreen", NULL))
    131131                                {
    132                                         playrcgreen(file, playinfobarstatus, playertype, flag);
     132                                        playrcgreen(file, NULL, playinfobarstatus, playertype, flag);
    133133                                        dvdchangevideo();
    134134                                }
    135135                                       
    136136                                if(rcret == getrcconfigint("rcred", NULL))
    137                                         playrcred(file, playinfobarstatus, playertype, flag);
     137                                        playrcred(file, NULL, playinfobarstatus, playertype, flag);
    138138
    139139                                if(rcret == getrcconfigint("rcinfo", NULL))
    140                                         playrcinfo(file, &playinfobarstatus, &playinfobarcount, playertype, flag);
     140                                        playrcinfo(file, NULL, &playinfobarstatus, &playinfobarcount, playertype, flag);
    141141                               
    142142                                if(rcret == getrcconfigint("rcff", NULL))
    143                                         playrcff(file, &playinfobarstatus, &playinfobarcount, playertype, flag);
     143                                        playrcff(file, NULL, &playinfobarstatus, &playinfobarcount, playertype, flag);
    144144                               
    145145                                if(rcret == getrcconfigint("rcfr", NULL))
    146                                         playrcfr(file, &playinfobarstatus, &playinfobarcount, playertype, flag);
     146                                        playrcfr(file, NULL, &playinfobarstatus, &playinfobarcount, playertype, flag);
    147147
    148148                                if(rcret == getrcconfigint("rcpause", NULL))
    149                                         playrcpause(file, &playinfobarstatus, &playinfobarcount, playertype, flag);
     149                                        playrcpause(file, NULL, &playinfobarstatus, &playinfobarcount, playertype, flag);
    150150
    151151                                if(rcret == getrcconfigint("rcplay", NULL))
    152                                         playrcplay(file, &playinfobarstatus, &playinfobarcount, playertype, flag);
     152                                        playrcplay(file, NULL, &playinfobarstatus, &playinfobarcount, playertype, flag);
    153153
    154154                                if(rcret == getrcconfigint("rc1", NULL))
    155                                         playrcjumpr(file, skip13, &playinfobarstatus, &playinfobarcount, playertype, flag);
     155                                        playrcjumpr(file, NULL, skip13, &playinfobarstatus, &playinfobarcount, playertype, flag);
    156156                               
    157157                                if(rcret == getrcconfigint("rc4", NULL))
    158                                         playrcjumpr(file, skip46, &playinfobarstatus, &playinfobarcount, playertype, flag);
     158                                        playrcjumpr(file, NULL, skip46, &playinfobarstatus, &playinfobarcount, playertype, flag);
    159159                               
    160160                                if(rcret == getrcconfigint("rc7", NULL))
    161                                         playrcjumpr(file, skip79, &playinfobarstatus, &playinfobarcount, playertype, flag);
     161                                        playrcjumpr(file, NULL, skip79, &playinfobarstatus, &playinfobarcount, playertype, flag);
    162162                               
    163163                                if(rcret == getrcconfigint("rc3", NULL))
    164                                         playrcjumpf(file, skip13, &playinfobarstatus, &playinfobarcount, playertype, flag);
     164                                        playrcjumpf(file, NULL, skip13, &playinfobarstatus, &playinfobarcount, playertype, flag);
    165165                               
    166166                                if(rcret == getrcconfigint("rc6", NULL))
    167                                         playrcjumpf(file, skip46, &playinfobarstatus, &playinfobarcount, playertype, flag);
     167                                        playrcjumpf(file, NULL, skip46, &playinfobarstatus, &playinfobarcount, playertype, flag);
    168168                               
    169169                                if(rcret == getrcconfigint("rc9", NULL))
    170                                         playrcjumpf(file, skip79, &playinfobarstatus, &playinfobarcount, playertype, flag);
     170                                        playrcjumpf(file, NULL, skip79, &playinfobarstatus, &playinfobarcount, playertype, flag);
    171171                        }
    172172                        //don't change this sleep, without this
     
    178178
    179179                        writevfd("DVD");
    180                         screenplayinfobar(file, 1, playertype, flag);
     180                        screenplayinfobar(file, NULL, 1, playertype, flag);
    181181
    182182                        if(startfile == NULL)
  • titan/plugins/mc/mc_audioplayer.h

    r19054 r19974  
    326326                {
    327327                        if((status.play == 1) || (status.playspeed != 0))
    328                                 playrcjumpr(filename, 10, &playinfobarstatus, &playinfobarcount, playertype, flag);
     328                                playrcjumpr(filename, NULL, 10, &playinfobarstatus, &playinfobarcount, playertype, flag);
    329329                }
    330330                else if(rcret == getrcconfigint("rc4", NULL))
    331331                {
    332332                        if((status.play == 1) || (status.playspeed != 0))
    333                                 playrcjumpr(filename, 30, &playinfobarstatus, &playinfobarcount, playertype, flag);
     333                                playrcjumpr(filename, NULL, 30, &playinfobarstatus, &playinfobarcount, playertype, flag);
    334334                }
    335335                else if(rcret == getrcconfigint("rc7", NULL))
    336336                {
    337337                        if((status.play == 1) || (status.playspeed != 0))
    338                                 playrcjumpr(filename, 60, &playinfobarstatus, &playinfobarcount, playertype, flag);
     338                                playrcjumpr(filename, NULL, 60, &playinfobarstatus, &playinfobarcount, playertype, flag);
    339339                }
    340340                else if(rcret == getrcconfigint("rc3", NULL))
    341341                {
    342342                        if((status.play == 1) || (status.playspeed != 0))
    343                                 playrcjumpf(filename, 10, &playinfobarstatus, &playinfobarcount, playertype, flag);
     343                                playrcjumpf(filename, NULL, 10, &playinfobarstatus, &playinfobarcount, playertype, flag);
    344344                }
    345345                else if(rcret == getrcconfigint("rc6", NULL))
    346346                {
    347347                        if((status.play == 1) || (status.playspeed != 0))
    348                                 playrcjumpf(filename, 30, &playinfobarstatus, &playinfobarcount, playertype, flag);
     348                                playrcjumpf(filename, NULL, 30, &playinfobarstatus, &playinfobarcount, playertype, flag);
    349349                }
    350350                else if(rcret == getrcconfigint("rc9", NULL))
    351351                {
    352352                        if((status.play == 1) || (status.playspeed != 0))
    353                                 playrcjumpf(filename, 60, &playinfobarstatus, &playinfobarcount, playertype, flag);
     353                                playrcjumpf(filename, NULL, 60, &playinfobarstatus, &playinfobarcount, playertype, flag);
    354354                }
    355355                else if(rcret == getrcconfigint("rcff", NULL))
    356356                {
    357357                        if((status.play == 1) || (status.playspeed != 0))
    358                                 playrcff(filename, &playinfobarstatus, &playinfobarcount, playertype, 2);
     358                                playrcff(filename, NULL, &playinfobarstatus, &playinfobarcount, playertype, 2);
    359359                }       
    360360                else if(rcret == getrcconfigint("rcfr", NULL))
    361361                {
    362362                        if((status.play == 1) || (status.playspeed != 0))
    363                                 playrcfr(filename, &playinfobarstatus, &playinfobarcount, playertype, 2);
     363                                playrcfr(filename, NULL, &playinfobarstatus, &playinfobarcount, playertype, 2);
    364364                }
    365365                else if(rcret == getrcconfigint("rcplay", NULL))
    366366                {
    367367                        if((status.play == 1) || (status.playspeed != 0))
    368                                 playrcplay(filename, &playinfobarstatus, &playinfobarcount, playertype, flag);
     368                                playrcplay(filename, NULL, &playinfobarstatus, &playinfobarcount, playertype, flag);
    369369                        //showplaylist(1);
    370370                }
     
    378378                        }
    379379                        if((status.play == 1) || (status.pause == 1))
    380                                 playrcpause(filename, &playinfobarstatus, &playinfobarcount, playertype, flag);
     380                                playrcpause(filename, NULL, &playinfobarstatus, &playinfobarcount, playertype, flag);
    381381                }
    382382                else if((rcret == getrcconfigint("rcchdown", NULL)) || (rcret == getrcconfigint("rcnext", NULL)))
     
    587587
    588588                                playerret = playerstart(filename);
    589                                 playwritevfd(filename);
     589                                playwritevfd(filename, NULL);
    590590
    591591                                #ifndef SIMULATE
     
    684684                                eof = 0;
    685685                                playerret = playerstart(filename);
    686                                 playwritevfd(filename);
     686                                playwritevfd(filename, NULL);
    687687
    688688                                #ifndef SIMULATE
  • titan/plugins/mc/mc_global.h

    r19053 r19974  
    757757                                                                playerret = playerstart(*filename);
    758758                                       
    759                                                         playwritevfd(*filename);
     759                                                        playwritevfd(*filename, NULL);
    760760                               
    761761       
     
    10021002                                        playerret = playerstart(*filename);
    10031003
    1004                                 playwritevfd(*filename);
     1004                                playwritevfd(*filename, NULL);
    10051005                               
    1006                                 //playwritevfd(*filename);
     1006                                //playwritevfd(*filename, NULL);
    10071007                                #ifndef SIMULATE
    10081008                                        if(playerret != 0)
     
    10161016                                status.play = 1;
    10171017                                if(flag == 1)
    1018                                         screenplayinfobar(*filename, 0, 0, 0);
     1018                                        screenplayinfobar(*filename, NULL, 0, 0, 0);
    10191019                        }                               
    10201020
  • titan/plugins/mc/mc_header.h

    r19893 r19974  
    33
    44void picplayer(struct skin* picscreen, struct skin* picture, struct skin* picname, char* filename, int flag);
    5 struct clist* addconfigscreen(char *key, struct skin *node);
    65
    76//void screenmc_audioplayer();
     
    98
    109//void mc_videoplayer_infobar(struct skin* apskin, struct skin* infobar, struct skin* spos, struct skin* slen, struct skin* sreverse, struct skin* sprogress, char* filename);
    11 void screenplayinfobar(char* file, int mode, int playertype, int flag);
    12 void playrcblue(char* file, int playinfobarstatus, int playertype, int flag);
    13 void playrcyellow(char* file, int playinfobarstatus, int playertype, int flag);
    14 void playrcred(char* file, int playinfobarstatus, int playertype, int flag);
    15 void playrcgreen(char* file, int playinfobarstatus, int playertype, int flag);
    16 void playrctext(char* file, int playinfobarstatus, int playertype, int flag);
    17 void playrcok(char* file, int playinfobarstatus, int playertype, int flag);
    18 void playrcplay(char* file, int* playinfobarstatus, int* playinfobarcount, int playertype, int flag);
    19 
    20 //global.h
    21 void setosdtransparent(int value);
    22 
    23 // mc_audioplayer.h
    24 //void playereof(struct skin* apskin, struct skin* filelist, struct skin* listbox, struct skin* filelistpath, struct skin* b2, int* skip, int* eof, int* playlist, int flag);
    25 //void playerrandom(struct skin* apskin, struct skin* filelist, struct skin* listbox, struct skin* b3, int* playlist, int flag);
    26 //void showplaylist(struct skin* apskin, struct skin* filelistpath, struct skin* filelist, struct skin* listbox1, struct skin* b2, int mode, int* playlist, int* eof);
    27 //void mc_audioplayer_infobar(struct skin* apskin, struct skin* infobar, struct skin* spos, struct skin* slen, struct skin* sreverse, struct skin* sprogress, char* filename);
    28 
    29 // playlist.h
    30 void getplaylistmaxold(struct skin* playlist, int* maxdirs, int* maxfiles);
    31 struct skin* getplaylistrandomold(struct skin* playlist, int maxdirs, int maxfiles);
    32 
    33 // menu.h
    34 struct skin* menu(struct skin* menu);
    35 
    36 // filelist.h
    37 void getfilelistmax(struct skin* filelist, int* maxdirs, int* maxfiles);
    38 //void getfilelist(struct skin* input, struct skin* filelistpath, struct skin* filelist, char* path, char* filemask, int tmpview, char* selection);
    39 void getfilelist(struct skin* input, struct skin* filelistpath, struct skin* filelist, char* path, char* filemask, int tmpview, char* selection);
    40 struct skin* getfilelistrandom(struct skin* filelist, int maxdirs, int maxfiles);
    41 
    42 // play.h
    43 void playrcjumpr(char* file, int sec, int* playinfobarstatus, int* playinfobarcount, int playertype, int flag);
    44 void playrcjumpf(char* file, int sec, int* playinfobarstatus, int* playinfobarcount, int playertype, int flag);
    45 void playrcpause(char* file, int* playinfobarstatus, int* playinfobarcount, int playertype, int flag);
    46 void playrcff(char* file, int* playinfobarstatus, int* playinfobarcount, int playertype, int flag);
    47 void playrcfr(char* file, int* playinfobarstatus, int* playinfobarcount, int playertype, int flag);
    48 void playwritevfd(char* file);
    49 
    50 // rc.h
    51 int writerc(int keycode);
     10void screenplayinfobar(char* file, char* showname, int mode, int playertype, int flag);
     11void playrcblue(char* file, char* showname, int playinfobarstatus, int playertype, int flag);
     12void playrcyellow(char* file, char* showname, int playinfobarstatus, int playertype, int flag);
     13void playrcred(char* file, char* showname, int playinfobarstatus, int playertype, int flag);
     14void playrcgreen(char* file, char* showname, int playinfobarstatus, int playertype, int flag);
     15void playrctext(char* file, char* showname, int playinfobarstatus, int playertype, int flag);
     16void playrcok(char* file, char* showname, int playinfobarstatus, int playertype, int flag);
     17void playrcplay(char* file, char* showname, int* playinfobarstatus, int* playinfobarcount, int playertype, int flag);
    5218
    5319// mc_settings.h
  • titan/plugins/mc/mc_pictureplayer.h

    r19952 r19974  
    8888        {
    8989                playerret = playerstart(track);
    90                 playwritevfd(track);
     90                playwritevfd(track, NULL);
    9191
    9292                #ifndef SIMULATE
     
    117117                {
    118118                        if((status.play == 1) || (status.playspeed != 0))
    119                                 playrcplay(filename, &playinfobarstatus, &playinfobarcount, playertype, flag);
     119                                playrcplay(filename, NULL, &playinfobarstatus, &playinfobarcount, playertype, flag);
    120120                }
    121121                else if(rcret == getrcconfigint("rcpause", NULL))
    122122                {
    123123                        if((status.play == 1) || (status.pause == 1))
    124                                 playrcpause(filename, &playinfobarstatus, &playinfobarcount, playertype, flag);
     124                                playrcpause(filename, NULL, &playinfobarstatus, &playinfobarcount, playertype, flag);
    125125                }
    126126                else if((rcret == getrcconfigint("rcchdown", NULL)) || (rcret == getrcconfigint("rcprev", NULL)))
     
    156156                {
    157157                        if(status.play == 1)
    158                                 playrcred(filename, playinfobarstatus, playertype, flag);
     158                                playrcred(filename, NULL, playinfobarstatus, playertype, flag);
    159159                        else
    160160                        {
     
    176176                {
    177177                        if(status.play == 1)
    178                                 playrcgreen(filename, playinfobarstatus, playertype, flag);
     178                                playrcgreen(filename, NULL, playinfobarstatus, playertype, flag);
    179179                        else
    180180                        {
     
    187187                {               
    188188                        if(status.play == 1)
    189                                 playrctext(filename, playinfobarstatus, playertype, flag);     
     189                                playrctext(filename, NULL, playinfobarstatus, playertype, flag);       
    190190                }
    191191                else if(rcret == getrcconfigint("rcmenu", NULL))
     
    225225                                {
    226226                                        playerret = playerstart(track);
    227                                         playwritevfd(filename);
     227                                        playwritevfd(filename, NULL);
    228228
    229229                                        #ifndef SIMULATE
     
    347347                                {
    348348                                        playerret = playerstart(filename);
    349                                         playwritevfd(filename);
     349                                        playwritevfd(filename, NULL);
    350350
    351351                                        #ifndef SIMULATE
     
    370370                                }
    371371
    372                                 screenplayinfobar(filename, 0, playertype, 0);                 
     372                                screenplayinfobar(filename, NULL, 0, playertype, 0);                   
    373373                                status.play = 1;
    374374                        }
     
    444444                        {
    445445                                playerret = playerstart(track);
    446                                 playwritevfd(filename);
     446                                playwritevfd(filename, NULL);
    447447
    448448                                #ifndef SIMULATE
  • titan/plugins/mc/mc_videoplayer.h

    r19054 r19974  
    109109                        if(playinfobarstatus > 0)
    110110                        {
    111                                 screenplayinfobar(filename, 0, playertype, 0);
     111                                screenplayinfobar(filename, NULL, 0, playertype, 0);
    112112                        }
    113113                        if(playinfobarstatus == 1 && playinfobarcount >= getconfigint("infobartimeout", NULL))
    114114                        {
    115115                                playinfobarstatus = 0;
    116                                 screenplayinfobar(NULL, 1, playertype, 0);
     116                                screenplayinfobar(NULL, NULL, 1, playertype, 0);
    117117                        }
    118118                }
     
    323323                {
    324324                        if((status.play == 1) || (status.playspeed != 0))
    325                                 playrcjumpr(filename, skip13, &playinfobarstatus, &playinfobarcount, playertype, flag);
     325                                playrcjumpr(filename, NULL, skip13, &playinfobarstatus, &playinfobarcount, playertype, flag);
    326326                }
    327327                else if(rcret == getrcconfigint("rc4", NULL))
    328328                {
    329329                        if((status.play == 1) || (status.playspeed != 0))
    330                                 playrcjumpr(filename, skip46, &playinfobarstatus, &playinfobarcount, playertype, flag);
     330                                playrcjumpr(filename, NULL, skip46, &playinfobarstatus, &playinfobarcount, playertype, flag);
    331331                }
    332332                else if(rcret == getrcconfigint("rc7", NULL))
    333333                {
    334334                        if((status.play == 1) || (status.playspeed != 0))
    335                                 playrcjumpr(filename, skip79, &playinfobarstatus, &playinfobarcount, playertype, flag);
     335                                playrcjumpr(filename, NULL, skip79, &playinfobarstatus, &playinfobarcount, playertype, flag);
    336336                }
    337337                else if(rcret == getrcconfigint("rc3", NULL))
    338338                {
    339339                        if((status.play == 1) || (status.playspeed != 0))
    340                                 playrcjumpf(filename, skip13, &playinfobarstatus, &playinfobarcount, playertype, flag);
     340                                playrcjumpf(filename, NULL, skip13, &playinfobarstatus, &playinfobarcount, playertype, flag);
    341341                }
    342342                else if(rcret == getrcconfigint("rc6", NULL))
    343343                {
    344344                        if((status.play == 1) || (status.playspeed != 0))
    345                                 playrcjumpf(filename, skip46, &playinfobarstatus, &playinfobarcount, playertype, flag);
     345                                playrcjumpf(filename, NULL, skip46, &playinfobarstatus, &playinfobarcount, playertype, flag);
    346346                }
    347347                else if(rcret == getrcconfigint("rc9", NULL))
    348348                {
    349349                        if((status.play == 1) || (status.playspeed != 0))
    350                                 playrcjumpf(filename, skip79, &playinfobarstatus, &playinfobarcount, playertype, flag);
     350                                playrcjumpf(filename, NULL, skip79, &playinfobarstatus, &playinfobarcount, playertype, flag);
    351351                }
    352352                else if(rcret == getrcconfigint("rcleft", NULL))
    353353                {
    354354                        if((status.play == 1) || (status.playspeed != 0))
    355                                 playrcjumpr(filename, 60, &playinfobarstatus, &playinfobarcount, playertype, flag);
     355                                playrcjumpr(filename, NULL, 60, &playinfobarstatus, &playinfobarcount, playertype, flag);
    356356                }
    357357                else if(rcret == getrcconfigint("rcright", NULL))
    358358                {
    359359                        if((status.play == 1) || (status.playspeed != 0))
    360                                 playrcjumpf(filename, 60, &playinfobarstatus, &playinfobarcount, playertype, flag);
     360                                playrcjumpf(filename, NULL, 60, &playinfobarstatus, &playinfobarcount, playertype, flag);
    361361                }
    362362                else if(rcret == getrcconfigint("rcdown", NULL))
    363363                {
    364364                        if((status.play == 1) || (status.playspeed != 0))
    365                                 playrcjumpr(filename, 600, &playinfobarstatus, &playinfobarcount, playertype, flag);
     365                                playrcjumpr(filename, NULL, 600, &playinfobarstatus, &playinfobarcount, playertype, flag);
    366366                }
    367367                else if(rcret == getrcconfigint("rcup", NULL))
    368368                {
    369369                        if((status.play == 1) || (status.playspeed != 0))
    370                                 playrcjumpf(filename, 600, &playinfobarstatus, &playinfobarcount, playertype, flag);
     370                                playrcjumpf(filename, NULL, 600, &playinfobarstatus, &playinfobarcount, playertype, flag);
    371371                }
    372372
     
    374374                {
    375375                        if((status.play == 1) || (status.playspeed != 0))
    376                                 playrcff(filename, &playinfobarstatus, &playinfobarcount, playertype, flag);
     376                                playrcff(filename, NULL, &playinfobarstatus, &playinfobarcount, playertype, flag);
    377377                }       
    378378                else if(rcret == getrcconfigint("rcfr", NULL))
    379379                {
    380380                        if((status.play == 1) || (status.playspeed != 0))
    381                                 playrcfr(filename, &playinfobarstatus, &playinfobarcount, playertype, flag);
     381                                playrcfr(filename, NULL, &playinfobarstatus, &playinfobarcount, playertype, flag);
    382382                }
    383383                else if(rcret == getrcconfigint("rcplay", NULL))
    384384                {
    385385//                      if((status.play == 1) || (status.playspeed != 0))
    386 //                              playrcplay(filename, &playinfobarstatus, &playinfobarcount, playertype, flag);
     386//                              playrcplay(filename, NULL, &playinfobarstatus, &playinfobarcount, playertype, flag);
    387387                        if((status.play == 1) || (status.pause == 1))
    388                                 playrcpause(filename, &playinfobarstatus, &playinfobarcount, playertype, flag);
     388                                playrcpause(filename, NULL, &playinfobarstatus, &playinfobarcount, playertype, flag);
    389389                }
    390390                else if(rcret == getrcconfigint("rcpause", NULL))
    391391                {
    392392                        if((status.play == 1) || (status.pause == 1))
    393                                 playrcpause(filename, &playinfobarstatus, &playinfobarcount, playertype, flag);
     393                                playrcpause(filename, NULL, &playinfobarstatus, &playinfobarcount, playertype, flag);
    394394                }
    395395                else if(rcret == getrcconfigint("rcnext", NULL))
     
    406406                {
    407407                        if(status.play == 1)
    408                                 playrcblue(filename, playinfobarstatus, playertype, flag);
     408                                playrcblue(filename, NULL, playinfobarstatus, playertype, flag);
    409409                        else
    410410                        {
     
    426426                {
    427427                        if(status.play == 1)
    428                                 playrcyellow(filename, playinfobarstatus, playertype, flag);                                           
     428                                playrcyellow(filename, NULL, playinfobarstatus, playertype, flag);                                             
    429429                        else
    430430                                playerrandom(apskin, filelist, listbox, b3, playlist, flag);
     
    433433                {
    434434                        if(status.play == 1)
    435                                 playrcred(filename, playinfobarstatus, playertype, flag);
     435                                playrcred(filename, NULL, playinfobarstatus, playertype, flag);
    436436                        else
    437437                        {
     
    457457                {
    458458                        if(status.play == 1)
    459                                 playrcgreen(filename, playinfobarstatus, playertype, flag);
     459                                playrcgreen(filename, NULL, playinfobarstatus, playertype, flag);
    460460                        else
    461461                        {
     
    468468                {               
    469469                        if(status.play == 1)
    470                                 playrctext(filename, playinfobarstatus, playertype, flag);     
     470                                playrctext(filename, NULL, playinfobarstatus, playertype, flag);       
    471471                }
    472472                else if(rcret == getrcconfigint("rcmenu", NULL))
     
    523523                                        filename = createpath(filelistpath->text, filelist->select->name);
    524524                                        debug(133, "filename: %s", filename);                           
    525                                         playrcred(filename, playinfobarstatus, playertype, flag);
     525                                        playrcred(filename, NULL, playinfobarstatus, playertype, flag);
    526526                                }
    527527                        }
    528528                        else
    529                                 playrcplay(filename, &playinfobarstatus, &playinfobarcount, playertype, flag);
     529                                playrcplay(filename, NULL, &playinfobarstatus, &playinfobarcount, playertype, flag);
    530530
    531531                        if(status.play == 0 && status.pause == 0)
     
    666666                        if((status.play == 1) || (status.playspeed != 0))
    667667                        {
    668                                 playrcok(filename, playinfobarstatus, playertype, flag);
     668                                playrcok(filename, NULL, playinfobarstatus, playertype, flag);
    669669                                continue;
    670670                        }
     
    719719                                        playerret = playerstart(filename);
    720720
    721                                 playwritevfd(filename);
     721                                playwritevfd(filename, NULL);
    722722
    723723                                #ifndef SIMULATE
     
    740740                                #endif
    741741
    742                                 screenplayinfobar(filename, 0, playertype, 0);                 
     742                                screenplayinfobar(filename, NULL, 0, playertype, 0);                   
    743743                                status.play = 1;
    744744                               
     
    856856                                        playerret = playerstart(filename);
    857857
    858                                 playwritevfd(filename);
     858                                playwritevfd(filename, NULL);
    859859
    860860                                #ifndef SIMULATE
     
    886886                                                                        {
    887887                                                                                fscanf(fbseek,"%s",skip1);
    888                                                                                 playrcjumpf(filename, atoll(skip1), &playinfobarstatus, &playinfobarcount, playertype, flag);           
     888                                                                                playrcjumpf(filename, NULL, atoll(skip1), &playinfobarstatus, &playinfobarcount, playertype, flag);             
    889889                                                                        }
    890890                                                                        free(skip1), skip1 = NULL;
     
    900900
    901901                                clearscreen(loadmediadb);
    902                                 screenplayinfobar(filename, 0, playertype, 0);
     902                                screenplayinfobar(filename, NULL, 0, playertype, 0);
    903903                                status.play = 1;
    904904
  • titan/plugins/tithek/tithek.h

    r19953 r19974  
    743743                                if(rcret == 1) return;
    744744                        }
    745                         screenplay(node->filename, node->title, 2, flag);
     745                        screenplay(node->filename, node->filename, 2, flag);
    746746                        if(status.mcaktiv == 0)
    747747                                servicecheckret(servicestart(status.lastservice->channel, NULL, NULL, 0), 0);
     
    16371637                                debug(99, "tmpstr: %s", tmpstr);
    16381638
    1639                                 playrcred(tmpstr, 1, 0, 99);
     1639                                playrcred(tmpstr, NULL, 1, 0, 99);
    16401640                                free(tmpstr), tmpstr = NULL;
    16411641                        }
  • titan/titan/header.h

    r19953 r19974  
    258258int videoclearbuffer(struct dvbdev* node);
    259259int videogetpts(struct dvbdev* node, uint64_t* pts);
     260int videoslowmotion(struct dvbdev* node, int frames);
    260261
    261262// scan.h
     
    287288int getplaylistmax(struct playlist* plist);
    288289struct playlist* getplaylistrandom(struct playlist* plist, int max);
     290void getplaylistmaxold(struct skin* playlist, int* maxdirs, int* maxfiles);
     291struct skin* getplaylistrandomold(struct skin* playlist, int maxdirs, int maxfiles);
    289292
    290293// screensaveradjust.h
     
    467470void getfilelist(struct skin* input, struct skin* filelistpath, struct skin* filelist, char* path, char* filemask, int tmpview, char* selection);
    468471int createfilelist(struct skin* screen, struct skin* node, int view);
     472void getfilelistmax(struct skin* filelist, int* maxdirs, int* maxfiles);
     473struct skin* getfilelistrandom(struct skin* filelist, int maxdirs, int maxfiles);
    469474
    470475//plugin.h
     
    561566//menu.h
    562567int menucall(struct skin* menunode, struct skin* menuentry, int check);
     568struct skin* menu(struct skin* menu);
    563569
    564570//textbox.h
     
    569575void delconfigtmpall();
    570576struct clist* addconfigscreencheck(char *key, struct skin *node, char* check);
     577struct clist* addconfigscreen(char *key, struct skin *node);
    571578struct clist* addconfigdef(char *key, char *value);
    572579struct clist* addconfigtmp(char *key, char *value);
     
    588595void delrc(int key, struct skin* owner, struct skin* screennode);
    589596int flushrc(unsigned int timeout);
     597int writerc(int keycode);
    590598
    591599//rcfunc.h
Note: See TracChangeset for help on using the changeset viewer.