Changeset 28002
- Timestamp:
- 03/28/14 02:49:44 (10 years ago)
- Location:
- titan/titan
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/keyactions.h
r28000 r28002 66 66 if(key == 3) 67 67 { 68 addmenulist(&mlist, "MediaCenter", NULL, NULL, 0, 0); 68 addmenulist(&mlist, "RecordPlayer", NULL, NULL, 0, 0); 69 70 while(child != NULL) 71 { 72 if(child->del == PLUGINDELMARK && (status.security == 1 || (status.security == 0 && checkpluginskip(child->name) == 0))) 73 { 74 if(!ostrncmp("Media Center", child->name, 12)) 75 { 76 addmenulist(&mlist, "MediaCenter", NULL, child->pic, 0, 0); 77 } 78 else if(!ostrncmp("TiTan Mediathek", child->name, 15)) 79 { 80 addmenulist(&mlist, "MediaThek", NULL, child->pic, 0, 0); 81 } 82 else if(!ostrncmp("Titan Media Center", child->name, 15)) 83 { 84 addmenulist(&mlist, "TitanMediaCenter", NULL, child->pic, 0, 0); 85 } 86 } 87 child = child->next; 88 } 89 90 // addmenulist(&mlist, "MediaCenter", NULL, NULL, 0, 0); 69 91 // addmenulist(&mlist, "VideoPlayer", NULL, NULL, 0, 0); 70 92 // addmenulist(&mlist, "AudioPlayer", NULL, NULL, 0, 0); 71 93 // addmenulist(&mlist, "PicturePlayer", NULL, NULL, 0, 0); 72 addmenulist(&mlist, "MediaThek", NULL, NULL, 0, 0);94 // addmenulist(&mlist, "MediaThek", NULL, NULL, 0, 0); 73 95 addmenulist(&mlist, "MiniPlayer", NULL, NULL, 0, 0); 74 addmenulist(&mlist, "RecordPlayer", NULL, NULL, 0, 0);75 96 } 76 97 else … … 222 243 { 223 244 struct skin* pluginnode = getplugin("TiTan Mediathek"); 245 void (*startplugin)(void); 246 status.infobaraktiv = 0; 247 subtitlepause(1); 248 status.infobar = 0; 249 250 if(pluginnode != NULL) 251 { 252 startplugin = dlsym(pluginnode->pluginhandle, "start"); 253 if(startplugin != NULL) 254 startplugin(); 255 } 256 status.infobaraktiv = 1; 257 drawscreen(skin, 0, 0); 258 subtitlepause(0); 259 260 freemenulist(mlist, 1); mlist = NULL; 261 resettvpic(); 262 return; 263 } 264 else if(ostrcmp(keyconf, "TitanMediaCenter") == 0) 265 { 266 struct skin* pluginnode = getplugin("Titan Media Center"); 224 267 void (*startplugin)(void); 225 268 status.infobaraktiv = 0; -
titan/titan/settings_mediabutton.h
r28000 r28002 17 17 free(tmptxt), tmptxt = NULL; 18 18 19 addmenulist(&mlist, "MediaCenter", NULL, NULL, 0, 0); 20 // addmenulist(&mlist, "VideoPlayer", NULL, NULL, 0, 0); 21 // addmenulist(&mlist, "AudioPlayer", NULL, NULL, 0, 0); 22 // addmenulist(&mlist, "PicturePlayer", NULL, NULL, 0, 0); 23 addmenulist(&mlist, "MediaThek", NULL, NULL, 0, 0); 19 addmenulist(&mlist, "RecordPlayer", NULL, NULL, 0, 0); 20 21 while(child != NULL) 22 { 23 if(child->del == PLUGINDELMARK && (status.security == 1 || (status.security == 0 && checkpluginskip(child->name) == 0))) 24 { 25 if(!ostrncmp("Media Center", child->name, 12)) 26 { 27 addmenulist(&mlist, "MediaCenter", NULL, child->pic, 0, 0); 28 } 29 else if(!ostrncmp("TiTan Mediathek", child->name, 15)) 30 { 31 addmenulist(&mlist, "MediaThek", NULL, child->pic, 0, 0); 32 } 33 else if(!ostrncmp("Titan Media Center", child->name, 15)) 34 { 35 addmenulist(&mlist, "TitanMediaCenter", NULL, child->pic, 0, 0); 36 } 37 } 38 child = child->next; 39 } 40 24 41 addmenulist(&mlist, "MiniPlayer", NULL, NULL, 0, 0); 25 addmenulist(&mlist, "RecordPlayer", NULL, NULL, 0, 0);26 42 27 43 char* mediakey = getconfig("mediakey", NULL);
Note: See TracChangeset
for help on using the changeset viewer.