mirror of
https://github.com/Kunsi/scheduled-plugin-pretalx-broadcast-tools.git
synced 2024-12-22 08:12:44 +00:00
181 lines
5.4 KiB
JSON
181 lines
5.4 KiB
JSON
{
|
|
"name": "Plugin: schedule.json",
|
|
"permissions": {
|
|
"network": "Has to fetch schedule from remote site"
|
|
},
|
|
"options": [{
|
|
"title": "Fonts",
|
|
"type": "section"
|
|
}, {
|
|
"title": "Room Name",
|
|
"ui_width": 6,
|
|
"name": "font_room",
|
|
"type": "font",
|
|
"default": "silkscreen.ttf"
|
|
}, {
|
|
"title": "Talk Title",
|
|
"ui_width": 6,
|
|
"name": "font_talk",
|
|
"type": "font",
|
|
"default": "silkscreen.ttf"
|
|
}, {
|
|
"title": "Day",
|
|
"ui_width": 6,
|
|
"name": "font_day",
|
|
"type": "font",
|
|
"default": "silkscreen.ttf"
|
|
}, {
|
|
"title": "Clock",
|
|
"ui_width": 6,
|
|
"name": "font_clock",
|
|
"type": "font",
|
|
"default": "silkscreen.ttf"
|
|
}, {
|
|
"title": "Track Name",
|
|
"ui_width": 6,
|
|
"name": "font_track",
|
|
"type": "font",
|
|
"default": "silkscreen.ttf"
|
|
}, {
|
|
"title": "all other text",
|
|
"ui_width": 6,
|
|
"name": "font_text",
|
|
"type": "font",
|
|
"default": "silkscreen.ttf"
|
|
}, {
|
|
"title": "Standalone Options",
|
|
"type": "section",
|
|
"name": "top_level_config",
|
|
"condition": ["node", "is_top_level"]
|
|
}, {
|
|
"title": "Topbar Font Size",
|
|
"ui_width": 4,
|
|
"name": "standalone_topbar_size",
|
|
"condition": ["config", "top_level_config"],
|
|
"type": "integer",
|
|
"default": 70,
|
|
"hint": "Font size for the header content (clock and day)"
|
|
}, {
|
|
"title": "Talk Font Size",
|
|
"ui_width": 4,
|
|
"name": "standalone_talk_size",
|
|
"condition": ["config", "top_level_config"],
|
|
"type": "integer",
|
|
"default": 50,
|
|
"hint": "Font size for talk titles. Room name and speaker names will use 80% of that."
|
|
}, {
|
|
"title": "Padding",
|
|
"ui_width": 4,
|
|
"name": "standalone_padding",
|
|
"condition": ["config", "top_level_config"],
|
|
"type": "integer",
|
|
"default": 20,
|
|
"hint": "Padding to the screen edge and between all content"
|
|
}, {
|
|
"title": "Design",
|
|
"type": "section"
|
|
}, {
|
|
"title": "Show Language",
|
|
"ui_width": 4,
|
|
"name": "show_language",
|
|
"type": "boolean",
|
|
"default": true
|
|
}, {
|
|
"title": "Show Track",
|
|
"ui_width": 4,
|
|
"name": "show_track",
|
|
"type": "boolean",
|
|
"default": true
|
|
}, {
|
|
"title": "Clock Format",
|
|
"ui_width": 4,
|
|
"name": "clock_format",
|
|
"type": "string",
|
|
"default": "%H:%M",
|
|
"hint": "strftime() format specifier"
|
|
}, {
|
|
"title": "Hide Talks Older Than",
|
|
"ui_width": 4,
|
|
"name": "hide_talks_older_than_minutes",
|
|
"type": "integer",
|
|
"default": 25,
|
|
"hint": "Hide talks from schedule view if they started more than X minutes ago. Talks that have already ended will never be shown."
|
|
}, {
|
|
"title": "Schedule",
|
|
"type": "section"
|
|
}, {
|
|
"title": "JSON flavour",
|
|
"ui_width": 12,
|
|
"name": "json_flavour",
|
|
"type": "select",
|
|
"default": "voc-schema",
|
|
"options": [
|
|
["pretalx-broadcast-tools", "pretalx-broadcast-tools (input event URL below)"],
|
|
["voc-schema", "schema-compatible JSON (input JSON URL below)"]
|
|
]
|
|
}, {
|
|
"title": "Schedule URL",
|
|
"ui_width": 12,
|
|
"name": "schedule_url",
|
|
"type": "string",
|
|
"default": "https://pretalx.example.com/my-super-cool-event/"
|
|
}, {
|
|
"title": "Rooms",
|
|
"type": "section",
|
|
"condition": ["!", ["config", "top_level_config"]],
|
|
"intro": "You can configure which device should be assigned to which room, so each device can show room-specific content. Devices which do not have a room set will still show content like 'all talks', but skip any pages which have room-specific content assigned."
|
|
}, {
|
|
"title": "Rooms",
|
|
"name": "rooms",
|
|
"doc_link": true,
|
|
"type": "list",
|
|
"condition": ["!", ["config", "top_level_config"]],
|
|
"itemname": "Room",
|
|
"items": [{
|
|
"title": "Room Name or UUID",
|
|
"ui_width": 6,
|
|
"name": "name",
|
|
"type": "string",
|
|
"hint": "Name of this room in your events native language or room UUID",
|
|
"default": ""
|
|
}, {
|
|
"title": "Serial",
|
|
"ui_width": 6,
|
|
"name": "serial",
|
|
"type": "device",
|
|
"default": ""
|
|
}, {
|
|
"title": "Text block A",
|
|
"ui_width": 6,
|
|
"name": "text_a",
|
|
"type": "text",
|
|
"hint": "Room-Specific text A",
|
|
"rows": 6,
|
|
"default": ""
|
|
}, {
|
|
"title": "Text block B",
|
|
"ui_width": 6,
|
|
"name": "text_b",
|
|
"type": "text",
|
|
"hint": "Room-Specific text B",
|
|
"rows": 6,
|
|
"default": ""
|
|
}, {
|
|
"title": "Image A",
|
|
"ui_width": 6,
|
|
"name": "image_a",
|
|
"hint": "Room-Specific image A",
|
|
"type": "resource",
|
|
"valid": ["image"],
|
|
"default": "empty.png"
|
|
}, {
|
|
"title": "Image B",
|
|
"ui_width": 6,
|
|
"name": "image_b",
|
|
"hint": "Room-Specific image B",
|
|
"type": "resource",
|
|
"valid": ["image"],
|
|
"default": "empty.png"
|
|
}]
|
|
}]
|
|
}
|