Changeset 42897 for titan/plugins/mc/mc_iptvplayer.h
- Timestamp:
- 10/11/18 20:24:19 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/plugins/mc/mc_iptvplayer.h
r40379 r42897 17 17 readmediadb(getconfig("mediadbfile", NULL), 0, 0); 18 18 19 char* filename = NULL, *title = NULL, *currentdirectory = NULL, *selectedfile = NULL, *lastid = NULL, *tmpstr = NULL ;19 char* filename = NULL, *title = NULL, *currentdirectory = NULL, *selectedfile = NULL, *lastid = NULL, *tmpstr = NULL, *showname = NULL; 20 20 int rcret = 0, rcwait = 1000, playerret = 0, flag = 4, skip = 0, eof = 0, playinfobarcount = 0, playinfobarstatus = 1, count = 0, tmpview = 0, playlist = 0, playertype = 0; 21 21 int videooff = 0; … … 93 93 if(playinfobarstatus > 0) 94 94 { 95 if(videooff == 0) screenplayinfobar(filename, NULL, 0, playertype, 0);95 if(videooff == 0) screenplayinfobar(filename, showname, 0, playertype, 0); 96 96 } 97 97 if(playinfobarstatus == 1 && playinfobarcount >= getconfigint("infobartimeout", NULL)) … … 115 115 } 116 116 if((status.play == 1) || (status.pause == 1) || (status.playspeed != 0)) 117 playrcpause(filename, NULL, &playinfobarstatus, &playinfobarcount, playertype, flag);117 playrcpause(filename, showname, &playinfobarstatus, &playinfobarcount, playertype, flag); 118 118 } 119 119 else if(rcret == getrcconfigint("rcplay", NULL)) 120 120 { 121 121 if((status.play == 1) || (status.pause == 1) || (status.playspeed != 0)) 122 playrcplay(filename, NULL, &playinfobarstatus, &playinfobarcount, playertype, flag);122 playrcplay(filename, showname, &playinfobarstatus, &playinfobarcount, playertype, flag); 123 123 //showplaylist(1); 124 124 } … … 238 238 } 239 239 else 240 playrcplay(filename, NULL, &playinfobarstatus, &playinfobarcount, playertype, flag);240 playrcplay(filename, showname, &playinfobarstatus, &playinfobarcount, playertype, flag); 241 241 242 242 if(status.play == 0 && status.pause == 0) … … 338 338 { 339 339 debug(50, "listbox->select->name: %s", listbox->select->name); 340 filename = ostrcat("", listbox->select->name, 0, 0); 340 filename = ostrcat(listbox->select->name, NULL, 0, 0); 341 showname = ostrcat(listbox->select->text, NULL, 0, 0); 341 342 342 343 changetext(b2, _("Playlist-Mode")); … … 528 529 free(lastid), lastid = NULL; 529 530 free(filename), filename = NULL; 531 free(showname), showname = NULL; 530 532 free(currentdirectory), currentdirectory = NULL; 531 533 free(selectedfile), selectedfile = NULL;
Note: See TracChangeset
for help on using the changeset viewer.