Uploaded image for project: 'Picard'
  1. Picard
  2. PICARD-763

Add support for PLUGIN_INCOMPATIBLE_PLATFORMS for plugins known to not work on certain platforms

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • Plugins API
    • None

      Some plugins may depend on platform-specific third party libs or tools, to cope with that i propose to add a PLUGIN_INCOMPATIBLE_PLATFORMS listing platforms a plugin is known to not work.

      PLUGIN_INCOMPATIBLE_PLATFORMS = [list of plaforms]
      where list of plaforms consists of a list of values from https://docs.python.org/2/library/sys.html#sys.platform

      I prefer to list platforms known as incompatible, so plugins not having such field will be considered as compatible and eventually emit an error.
      We can do the check at load time, excluding any plugin marked as incompatible with the platform Picard is running on.

      See https://github.com/musicbrainz/picard-plugins/pull/35#discussion_r40308550

            Unassigned Unassigned
            zas Zas
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                Version Package