{{ forms.hidden('folderId') }}
{% endif %}
{% set title %}{% trans "URL" %}{% endset %}
{% set helpText %}{% trans "Please provide the remote URL to the file" %}{% endset %}
{{ forms.input("url", title, "", helpText) }}
{% set title %}{% trans "Name" %}{% endset %}
{% set helpText %}{% trans "Optional Media name, if left empty it will default to the file name" %}{% endset %}
{{ forms.input("optionalName", title, "", helpText) }}
{% set title %}{% trans "Enable Media Stats Collection?" %}{% endset %}
{% set helpText %}{% trans "Enable the collection of Proof of Play statistics for this Media Item. Ensure that ‘Enable Stats Collection’ is set to ‘On’ in the Display Settings." %}{% endset %}
{% set offOption %}{% trans "Off" %}{% endset %}
{% set onOption %}{% trans "On" %}{% endset %}
{% set inheritOption %}{% trans "Inherit" %}{% endset %}
{% set options = [
{ id: "Off", value: offOption },
{ id: "On", value: onOption },
{ id: "Inherit", value: inheritOption }
] %}
{{ forms.dropdown("enableStat", "single", title, theme.getSetting("MEDIA_STATS_ENABLED_DEFAULT"), options, "id", "value", helpText) }}