{% set helpText %}{% trans "Please select one or more Playlists to embed. If selecting more than one use the Configuration tab to adjust how each Playlist is combined." %}{% endset %}
{{ forms.message(helpText) }}
{% set helpText %}{% trans "Optionally set Spot options to expand or shrink each Playlist to a particular size or duration. Leave the Spot options empty to use the count of Widgets in each Playlist." %}{% endset %}
{{ forms.message(helpText) }}
{% set helpText %}{% trans "Setting Spots to 0 will omit the first Playlist from the play order, and will be used as a Spot Fill option." %}{% endset %}
{{ forms.message(helpText) }}
#
{{ "Playlists"|trans }}
{% set helpText %}{% trans "How many spots would you like on this Sub-Playlist? This is used before ordering to expand or shrink the list to the specified size. Leave empty to use the count of Widgets." %}{% endset %}
{{ "Spots"|trans }}
{% set helpText %}{% trans "Set the duration of all Widgets in the Playlist to a specific value in seconds. Leave empty to use each Widget duration." %}{% endset %}
{{ "Spot Length"|trans }}
{% set helpText %}{% trans "If there are not enough Widgets fill all spots, how should the remaining spots be filled?" %}{% endset %}
{{ "Spot Fill"|trans }}
{% set title %}{% trans "Playlist Ordering" %}{% endset %}
{% set helpText %}{% trans "How would you like the Widgets on these Playlists to be ordered?" %}{% endset %}
{% set noneOption %}{% trans "Play all - Playlists will play in their entirety one after the other in the order they appear on the General tab" %}{% endset %}
{% set robinOption %}{% trans "Round Robin - take one Widget from each Playlist in the order they appear on the General tab and repeat" %}{% endset %}
{% set evenOption %}{% trans "Auto - ensure Widgets are played evenly from each Playlist using the total count of Widgets on all Playlists" %}{% endset %}
{% set options = [
{ id: "none", value: noneOption },
{ id: "roundrobin", value: robinOption },
{ id: "even", value: evenOption }
] %}
{{ forms.dropdown("arrangement", "single", title, module.getOption("arrangement"), options, "id", "value", helpText) }}
{% set title %}{% trans "Remaining Widgets" %}{% endset %}
{% set helpText %}{% trans "If there are Widgets left unordered at the end, what should be done with these Widgets?" %}{% endset %}
{% set noneOption %}{% trans "Add - After ordering any remaining Widgets are to be added to the end" %}{% endset %}
{% set dropOption %}{% trans "Discard - Uses the Playlist with the least Widgets and ignores remaining Widgets on the longer Playlists" %}{% endset %}
{% set repeatOption %}{% trans "Repeat - Uses the Playlist with the most Widgets and repeats remaining Widgets on the shorter Playlists" %}{% endset %}
{% set options = [
{ id: "none", value: noneOption },
{ id: "drop", value: dropOption },
{ id: "repeat", value: repeatOption }
] %}
{{ forms.dropdown("remainder", "single", title, module.getOption("remainder"), options, "id", "value", helpText) }}