Uploaded image for project: 'MediaPortal 2'
  1. MediaPortal 2
  2. MP2-304

Move ShellThumbnail (WindowsAPI) from MediaPortal.Common into a MetadataExtractor plugin

    XMLWordPrintable

Details

    • Icon: Improvement/Rework Improvement/Rework
    • Resolution: Fixed
    • Icon: Major Major
    • 2.0.0-alpha.4
    • 2.0.0-alpha.1, 2.0.0-alpha.2
    • None
    • None
    • Operating System: Windows 7
      Platform: Intel

    Description

      Using the ShellThumbnailing, also called thumbnail generation through WindowsApi, creates a dependency from MediaPortal.Common to
       - Microsoft.WindowsAPICodePack.dll and
       - Microsoft.WindowsAPICodePack.Shell.dll

      The result is that these dll files required running every MediaPortal application (i.e. ServiceMonitor) which needs the Common library (i.e. for logging).
      It is also not possible to get rid easily of the shell thumbnailing if a user does not want to use it.

      There might be additional reasons, i.e. easier replacement if there are better thumbnail generators available than using the windows API.

      In the first change it might not be need to implement new interface to make the thumbnailing more flexible. It should be enough to start moving the thumbnailing code into it's own plugin and create dependencies from other plugins which are using this code.

      Attachments

        Activity

          People

            morpheus_xx morpheus_xx
            chefkoch chefkoch (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: