Skip to main content
Skip table of contents

MediaPortal Connector Workflow Input Parameters [GL OG]

The MediaPortal Connector can provide the following workflow input parameters:

  • ObjectId
    • Type: String
    • Contains the item ID of the MediaPortal assets on which a workflow is started as an abstract Platform Uri, e.g. "pf://platform/item/ITEM-VX-364/"
  • Title
    • Type: String
    • Contains the title of the asset
  • RenamedTitle (String)
    • Type: String
    • If an asset is put into a MediaPortal Collection, it can be renamed in the Collection
    • This parameter will contain the renamed title, or if it was not renamed it will also contain the normal title
  • TimeCodeIn (Timecode)
    • Type: Timecode (sub-Type of String)
    • The value will be calculated as timecode in Vidispine notation. The calculation is done one basis of following parameters provided by MediaPortal:
      • markIn as framecount
      • timebase
  • Duration (Timecode)
    • Type: Timecode (sub-Type of String)
    • The value will be calculated as timecode in Vidispine notation. The calculation is done one basis of following parameters provided by MediaPortal:
      • duration as framecount
      • timebase
  • IsPartialRange (Boolean)
    • Type: Boolean
    • Videos in an MediaPortal Collection can have a mark-in and mar-out specifying a partial segment of that video.
    • Partial clips in a MediaPortal Collection will have set this parameter to true.
    • All other videos (also videos from search result list) will have this parameter set to false.


Single Workflow Input Parameters

For starting workflows on a single asset in the search results list of MediaPortal you can still use workflows that must at least have one of the above workflow input parameters.
Each of those parameters will get automatically the values assigned as described above.
If the workflow has additional input parameters their values will have to be specified in the MediaPortal Send to dialog manually.

List of Workflow Input Parameters (For Multi-Instance Workflows)

It is highly recommended to use WorkflowObjects JSON object as the input parameter for MediaPortal Send to workflows. This parameter has to be specified as Input for Multi-Instance tasks or sub-workflows. MediaPortal will provide all of the above parameters in this JSON as a list. If a workflow is triggered on a single asset in MediaPortal, the list will contain one element with all those parameters. If it is triggered on a MediaPortal Collection with several assets, it will provide a list of elements with all those parameters.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.