Changeset 28008
- Timestamp:
- 03/28/14 03:51:11 (10 years ago)
- Location:
- titan/titan
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/keyactions.h
r28005 r28008 71 71 if(child->del == PLUGINDELMARK && (status.security == 1 || (status.security == 0 && checkpluginskip(child->name) == 0))) 72 72 { 73 if( !ostrncmp("Media Center", child->name, 12))74 { 75 addmenulist(&mlist, "MediaCenter", NULL, child->pic, 0, 0);76 } 77 else if( !ostrncmp("TiTan Mediathek", child->name, 15))78 { 79 addmenulist(&mlist, "MediaThek", NULL, child->pic, 0, 0);80 } 81 else if( !ostrncmp("Titan Media Center", child->name, 18))82 { 83 addmenulist(&mlist, "TitanMediaCenter", NULL, child->pic, 0, 0);73 if(ostrcmp(child->name, "Media Center") == 0) 74 { 75 addmenulist(&mlist, child->name, NULL, child->pic, 0, 0); 76 } 77 else if(ostrcmp(child->name, "TiTan Mediathek") == 0) 78 { 79 addmenulist(&mlist, child->name, NULL, child->pic, 0, 0); 80 } 81 else if(ostrcmp(child->name, "Titan Media Center") == 0) 82 { 83 addmenulist(&mlist, child->name, NULL, child->pic, 0, 0); 84 84 } 85 85 } … … 211 211 return; 212 212 } 213 else if(ostrcmp(keyconf, "MediaCenter") == 0)214 {215 struct skin* pluginnode = getplugin("Media Center");216 void (*startplugin)(void);217 status.infobaraktiv = 0;218 subtitlepause(1);219 status.infobar = 0;220 221 if(pluginnode != NULL)222 {223 startplugin = dlsym(pluginnode->pluginhandle, "start");224 if(startplugin != NULL)225 startplugin();226 }227 status.infobaraktiv = 1;228 drawscreen(skin, 0, 0);229 subtitlepause(0);230 231 freemenulist(mlist, 1); mlist = NULL;232 resettvpic();233 return;234 }235 else if(ostrcmp(keyconf, "Mediathek") == 0)236 {237 struct skin* pluginnode = getplugin("TiTan Mediathek");238 void (*startplugin)(void);239 status.infobaraktiv = 0;240 subtitlepause(1);241 status.infobar = 0;242 243 if(pluginnode != NULL)244 {245 startplugin = dlsym(pluginnode->pluginhandle, "start");246 if(startplugin != NULL)247 startplugin();248 }249 status.infobaraktiv = 1;250 drawscreen(skin, 0, 0);251 subtitlepause(0);252 253 freemenulist(mlist, 1); mlist = NULL;254 resettvpic();255 return;256 }257 else if(ostrcmp(keyconf, "TitanMediaCenter") == 0)258 {259 struct skin* pluginnode = getplugin("Titan Media Center");260 void (*startplugin)(void);261 status.infobaraktiv = 0;262 subtitlepause(1);263 status.infobar = 0;264 265 if(pluginnode != NULL)266 {267 startplugin = dlsym(pluginnode->pluginhandle, "start");268 if(startplugin != NULL)269 startplugin();270 }271 status.infobaraktiv = 1;272 drawscreen(skin, 0, 0);273 subtitlepause(0);274 275 freemenulist(mlist, 1); mlist = NULL;276 resettvpic();277 return;278 }279 213 280 214 pluginnode = getplugin(keyconf); -
titan/titan/settings_mediabutton.h
r28005 r28008 26 26 if(child->del == PLUGINDELMARK && (status.security == 1 || (status.security == 0 && checkpluginskip(child->name) == 0))) 27 27 { 28 if( !ostrncmp("Media Center", child->name, 12))28 if(ostrcmp(child->name, "Media Center") == 0) 29 29 { 30 30 addmenulist(&mlist, "MediaCenter", NULL, child->pic, 0, 0); 31 31 } 32 else if( !ostrncmp("TiTan Mediathek", child->name, 15))32 else if(ostrcmp(child->name, "TiTan Mediathek") == 0) 33 33 { 34 34 addmenulist(&mlist, "MediaThek", NULL, child->pic, 0, 0); 35 35 } 36 else if( !ostrncmp("Titan Media Center", child->name, 15))36 else if(ostrcmp(child->name, "Titan Media Center") == 0) 37 37 { 38 38 addmenulist(&mlist, "TitanMediaCenter", NULL, child->pic, 0, 0);
Note: See TracChangeset
for help on using the changeset viewer.