View Issue Details

IDProjectCategoryView StatusLast Update
0007687MMW v4Playerpublic2011-07-11 01:28
Reporterjiri Assigned To 
PriorityurgentSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version4.0 
Target Version4.0Fixed in Version4.0 
Summary0007687: Do not load unneeded dlls for video playback
DescriptionAs discussed over IM, MM shouldn't load video components, unless they are really needed. This way MM startup should be faster and MM should use less memory (if used for audio only). The first video playback can be slightly slower then though.
TagsNo tags attached.
Fixed in build1367

Relationships

related to 0007877 new Users should be able to enable/disable MM features 

Activities

michal

2011-04-22 10:46

developer   ~0024440

Fixed in build 1367.

lowlander

2011-04-29 18:14

developer   ~0024575

How can this be tested (ie how is it determined the video dll's should be loaded)?

Shouldn't this be extended to audio and portable device plugins? Ie if user has no FLAC files it shouldn't load FLAC dll, if user has never used iPod dll it shouldn't load it until user connects iPod? If automatic determination is difficult the user should be given the option in the Options to disable/enable the loading of the different audio/video/device dll's (in same section as splash screen setting). This will make MediaMonkey leaner and faster for those who only use a subset of it's capabilities. A setting is needed as reinstalling/updating would force user, as currently is the case, to again rename dll's the user doesn't use.

michal

2011-05-25 06:47

developer   ~0025628

This is related to some system dlls (mostly for Media Foundation stuff and QuickTime), not our dlls. They were prepared in RAM before, and now they are loaded only if they are needed. I mean shlwapi.dll, mfreadwrite.dll, mf.dll, mfplat.dll, QTSourcePXT.dll and QuickTime libraries.
Testing is problematic.. maybe try to use some tool for detecting, which dlls has main app. loaded.

Some GUI for selecting, which input/output/format/device plugins to load and use (e.g. something like in ICQ client Miranda), could be good feature, but was not subject of this topic.

gege

2011-05-25 18:30

reporter   ~0025643

@michal: regarding the aforementioned GUI, I think things can get much further, not only for disabling plugin DLLs. I always dreamed of MediaMonkey having the ability to enable/disable various of its features, just like Rhythmbox does in Linux.

Here is a list of some features I think could be "modularized" and then enabled/disabled at user's will:

- Support for various devices (MTP, generic USB, all iDevices and so on)
- Various plugin types (input, output, DSP, Visualization, General)
- Podcasts, Video, Photo (in future), Internet radio, Media sharing, Web node (and all web related features)
- CD/DVD burning, CD extraction and format conversion
- Virtual CD and Previews
- Party mode, Auto-DJ, Column browser and Art browser, Micro-player
- the list goes on...

We could think of these features as "bundled extensions". They could not be uninstalled, only enabled/disabled.

Turning a feature off would completely wipe away any mention of it (like menu items, nodes, option sheets...), which would lead to a much cleaner interface and less RAM usage.

Obviously, this is not subject of this topic and would require a lot of code re-engineering (although some features are already modularized in the form of a DLL).
But, as I said, it's a dream of mine...

gege

2011-05-25 18:55

reporter   ~0025644

Added a separate ticket for my wish: http://www.ventismedia.com/mantis/view.php?id=7877

peke

2011-07-11 01:28

developer   ~0026701

Original Verified on 1404