- Moderator
- #1
For a time I've been thinking that the default plugins that ship with MediaPortal should be single plugin DLLs like 3rd party plugins are. The main reason for this is that I don't use any of these plugins (ok, Home plugin is what I need) and don't want them to be loaded at all. Currently this is not possible since all of these plugins are bundled in one big DLL.
I did a quick and dirty test and removed all default plugin code except Home in WindowPlugins project. Luckily there were only few compilation errors and I managed to create a WindowPlugins.dll which only contains Home (which is required to run MP). Using this custom DLL I didn't see any problems in MP Configuration or running MP. And starting up MP was really fast.
What I'm suggesting would not change anything on the user side, the configuration and all would still work same as before. On the code side this would mean moving the code to separate projects & fixing compile errors (these errors btw indicate a bad design) but in general no new code should be required.
Work in progress:
https://github.com/MediaPortal/Medi...low_windowplugins_dll_to_separate_plugin_dlls
https://issues.team-mediaportal.com/browse/MP1-4315
Binary Installer for TEST
- See attachment
- Please provide all DEBUG logs if you have issues
BUILD
Based on MP 1.6 Final :
[14-01-10 18:05:14] Link: http://tinyurl.com/mqjfv6t
I did a quick and dirty test and removed all default plugin code except Home in WindowPlugins project. Luckily there were only few compilation errors and I managed to create a WindowPlugins.dll which only contains Home (which is required to run MP). Using this custom DLL I didn't see any problems in MP Configuration or running MP. And starting up MP was really fast.
What I'm suggesting would not change anything on the user side, the configuration and all would still work same as before. On the code side this would mean moving the code to separate projects & fixing compile errors (these errors btw indicate a bad design) but in general no new code should be required.
Work in progress:
https://github.com/MediaPortal/Medi...low_windowplugins_dll_to_separate_plugin_dlls
https://issues.team-mediaportal.com/browse/MP1-4315
Binary Installer for TEST
- See attachment
- Please provide all DEBUG logs if you have issues
BUILD
Based on MP 1.6 Final :
[14-01-10 18:05:14] Link: http://tinyurl.com/mqjfv6t
Last edited by a moderator: