Revert "Session version" (#1649)

* Revert "refactor: add version to session endpoint"

This reverts commit cd40a6e55e.

* Revert "Remove public event feature (#1645)"

This reverts commit 08d9e24871.

* Revert "Fix: rearrange playing event (#1640)"

This reverts commit 0649678dca.

* Revert "refactor: style tweaks to edit css modal"

This reverts commit a00ec2d02a.

* Revert "refactor: remove usages of framer-motion"

This reverts commit 54a74ccc2a.

* Revert "Upgrade expressjs (#1633)"

This reverts commit 6f3ab274bd.

* Revert "Refactor: require trigger in all events objects (#1636)"

This reverts commit 90870ecfb6.

* Revert "Fix: Correct boundary condition in applyDelay"

This reverts commit b640e0e181.

* Revert "let vite be the proxy to the dev server (#1630)"

This reverts commit c41fe824cf.

* Revert "refactor: migrate custom fields to transactions"

This reverts commit 62c8319d70.

* Revert "refactor: simplify validations"

This reverts commit b1d23467a2.

* Revert "refactor: create transaction system and apply to adding entry (#1620)"

This reverts commit 9a62daf047.

* Revert "Refactor: better rounding (#1594)"

This reverts commit b9ab1c6fd7.

* Revert "refactor: improve reorder logic"

This reverts commit c1054711b0.

* Revert "chore: simplify URLs"

This reverts commit a4d4f29a37.

* Revert "refactor: order is single source of truth"

This reverts commit 2793aadea0.

* Revert "refactor: refetch targets is enum"

This reverts commit e7cfb7d9d9.

* Revert "refactor: small ux improvements"

This reverts commit 256a851c9b.

* Revert "refactor: remove trivially inferred numEvents"

This reverts commit 4ab9c81cb8.

* Revert "feat: duplicate groups"

This reverts commit 2f13d6c89e.

* Revert "feat: create group from entry selection"

This reverts commit f1f7bad25e.

* Revert "feat: create block from rundown empty"

This reverts commit a8b52a48f7.

* Revert "fix: collapsed blocks dont render children"

This reverts commit cd0999b2ab.

* Revert "refactor: type cleanup and test improvements"

This reverts commit b4c60f3f04.

* Revert "feat: allow dissolving a block"

This reverts commit 5cefad3666.

* Revert "fix: uncontrolled prop on controlled component"

This reverts commit 7a6ecd8c34.

* Revert "refactor: improve return of reorder"

This reverts commit ba96ecfd91.

* Revert "refactor: mutations on batch elements must have IDs"

This reverts commit 7bed3757f2.

* Revert "chore: upgrade dependencies"

This reverts commit e2e755b1d2.

* Revert "refactor: extract utility to merge two arrays"

This reverts commit a77d23109d.

* Revert "refactor: change network mode defaults"

This reverts commit 0eb3b8d382.

* Revert "fix: delete nested events"

This reverts commit 0021185288.

* Revert "fix: add event at end of block"

This reverts commit 94c72ff4f6.

* Revert "refactor: make finder available in exported rundown"

This reverts commit e4c08dc9b2.

* Revert "assert non null and update test (#1604)"

This reverts commit ec74af0d62.

* Revert "Fix project renumber (#1597)"

This reverts commit b6d72dd082.

* Revert "Refactor: WebSocket from flush queue to one patch (#1595)"

This reverts commit 31c311daf0.

* Revert "Refactor: ms for api calls (#1593)"

This reverts commit e9b3cc6090.

* Revert "fix test (#1601)"

This reverts commit 543b04a097.

* Revert "fix: rebase master"

This reverts commit d39b85b6e6.

* Revert "chore: correct test path"

This reverts commit bbe107bb2b.

* Revert "refactor: extract rundown parsing"

This reverts commit c616240db1.

* Revert "chore: improve convention entry <> event"

This reverts commit 166be66ce3.

* Revert "refactor: maintain flat orders"

This reverts commit 4180d0a337.

* Revert "refactor: implement operations on nested events"

This reverts commit 78108e316c.

* Revert "refactor: process events in rundown"

This reverts commit 3bb8b70915.

* Revert "chore: improve convention entry <> event"

This reverts commit 1c4f13a0ed.

* Revert "chore: rename currentBlock > parent"

This reverts commit 3ca0abad53.

* Revert "refactor: fix delay positioning in gaps"

This reverts commit 030c8f897f.

* Revert "refactor(e2e): skip flaky test"

This reverts commit 68175cfa3b.

* Revert "refactor: improve project loading"

This reverts commit fd8f757851.

* Revert "refactor: gather group metadata"

This reverts commit 876d111c61.

* Revert "refactor: swap maintains schedule"

This reverts commit 730cb95c04.

* Revert "chore: rename files"

This reverts commit 3c388d4fb5.

* Revert "refactor: restructure model to contain an object of rundowns"

This reverts commit 2e23718d73.

* Revert "refactor: clearer relationship on rundown elements"

This reverts commit 89ea8c470b.

* Revert "refactor: use strict typing"

This reverts commit 178640bfc4.

* Revert "refactor: remove stop as a possible end action"

This reverts commit 4ed38340e0.

* Revert "refactor: restructure model to contain an object of rundowns"

This reverts commit 69eb9a5eff.

* Revert "chore: remove IDE files"

This reverts commit 351425127a.

* Revert "refactor: remove unused and legacy code"

This reverts commit 95f2ba37cc.
This commit is contained in:
Alex Christoffer Rasmussen
2025-06-20 12:28:20 +02:00
committed by GitHub
parent ad6804019b
commit 722e045b20
366 changed files with 13067 additions and 13052 deletions
+17 -18
View File
@@ -1,10 +1,9 @@
import { test, expect } from '@playwright/test';
import { randomUUID } from 'crypto';
import { readFile, unlink } from 'fs/promises';
import { readFile } from 'fs/promises';
const fileToUpload = 'e2e/tests/fixtures/e2e-test-db.json';
const fileToDownload = 'e2e/tests/fixtures/tmp/';
const fileToUpload = 'e2e/tests/fixtures/test-db.json';
const fileToDownload = 'e2e/tests/fixtures/tmp/test-db.json';
test('project file upload', async ({ page }) => {
await page.goto('http://localhost:4001/editor');
@@ -14,7 +13,7 @@ test('project file upload', async ({ page }) => {
await page.getByRole('button', { name: 'Delete all' }).click();
await page.getByRole('button', { name: 'toggle settings' }).click();
await page.getByRole('button', { name: 'Manage projects' }).click();
await page.getByRole('button', { name: 'Project', exact: true }).click();
// workaround to upload file on hidden input
// https://playwright.dev/docs/api/class-filechooser
@@ -36,30 +35,30 @@ test('project file upload', async ({ page }) => {
await expect(thirdTitle).toHaveValue('Lithuania');
});
//TODO: this works when testing locally, but not in github actions
test.fixme('project file download', async ({ page }) => {
await page.goto('http://localhost:4001/editor/?settings=project__manage');
test('project file download', async ({ page }) => {
await page.goto('http://localhost:4001/editor');
await page.getByRole('button', { name: 'toggle settings' }).click();
await page.getByRole('button', { name: 'Project', exact: true }).click();
await page
.getByRole('row', { name: /.*currently loaded/i })
.getByLabel('Options')
.click();
// workaround to download
// https://playwright.dev/docs/api/class-download
const downloadPromise = page.waitForEvent('download', { timeout: 10_000 });
const downloadPromise = page.waitForEvent('download');
await page
.getByRole('row', { name: RegExp('^test-db') })
.getByLabel('Options')
.click();
await page.getByRole('menuitem', { name: 'Download' }).click();
const download = await downloadPromise;
// Wait for the download process to complete and save the downloaded file somewhere.
const uniqFileToDownload = fileToDownload + randomUUID() + '.json';
await download.saveAs(uniqFileToDownload);
await download.saveAs(fileToDownload);
expect(download.failure()).toMatchObject({});
const original = JSON.parse(await readFile(fileToUpload, { encoding: 'utf-8' }));
const fromServer = JSON.parse(await readFile(uniqFileToDownload, { encoding: 'utf-8' }));
await unlink(uniqFileToDownload);
const fromServer = JSON.parse(await readFile(fileToDownload, { encoding: 'utf-8' }));
// when a file is parsed, the server will write the version number to the project file
original.settings.version = 'not-important';
+8 -1
View File
@@ -24,7 +24,7 @@ test.describe('pages routes are available', () => {
});
test('operator', async ({ page }) => {
await page.goto('http://localhost:4001/op');
await page.goto('http://localhost:4001/operator');
await expect(page).toHaveTitle(/ontime/);
await page.screenshot({ path: 'automated-screenshots/operator.png' });
@@ -58,6 +58,13 @@ test.describe('pages routes are available', () => {
await page.screenshot({ path: 'automated-screenshots/backstage.png' });
});
test('public', async ({ page }) => {
await page.goto('http://localhost:4001/public');
await expect(page).toHaveTitle(/ontime/);
await page.screenshot({ path: 'automated-screenshots/public.png' });
});
test('studio', async ({ page }) => {
await page.goto('http://localhost:4001/studio');
+6
View File
@@ -30,6 +30,12 @@ test.describe('test view navigation feature', () => {
page.locator('data-test-id=backstage-view');
await expect(page).toHaveURL('http://localhost:4001/backstage');
await page.getByRole('button', { name: 'toggle menu' }).click();
page.locator('data-test-id=navigation__menu');
await page.getByRole('link', { name: 'Public' }).click();
page.locator('data-test-id=public-view');
await expect(page).toHaveURL('http://localhost:4001/public');
await page.getByRole('button', { name: 'toggle menu' }).click();
page.locator('data-test-id=navigation__menu');
await page.getByRole('link', { name: 'Lower Thirds' }).click();
+5 -1
View File
@@ -67,7 +67,7 @@ test('delays are show correctly', async ({ page }) => {
await page.getByTestId('block__title').click();
await page.getByTestId('block__title').fill('test');
await page.getByTestId('block__title').press('Enter');
await expect(page.getByTestId('entry-1').locator('#block-status')).toHaveAttribute('data-timerType', 'count-down');
await expect(page.getByTestId('entry-1').locator('#block-status')).toHaveAttribute('data-ispublic', 'true');
// add a delay
await page.getByRole('button', { name: 'Delay' }).nth(0).click();
@@ -82,6 +82,10 @@ test('delays are show correctly', async ({ page }) => {
await page.goto('http://localhost:4001/cuesheet');
await page.getByRole('cell', { name: 'Delayed by 1 min' }).click();
// delay is NOT shown in the public view
await page.goto('http://localhost:4001/public');
await page.getByText('00:10→00:20').click();
// delay is shown in the backstage view
await page.goto('http://localhost:4001/backstage');
await page.getByText('00:11→00:21').click();
+2 -2
View File
@@ -20,8 +20,8 @@ test('CRUD operations on the rundown', async ({ page }) => {
await page.getByRole('button', { name: 'Event', exact: true }).nth(1).click();
expect(await page.getByTestId('entry-3').getByTestId('time-input-timeStart').inputValue()).toContain('00:30:00');
// test quick add options
// test quick add options - event is public
await page.getByRole('button', { name: 'Event', exact: true }).nth(1).click();
await expect(page.getByTestId('entry-4').locator('#block-status')).toHaveAttribute('data-timerType', 'count-down');
await expect(page.getByTestId('entry-4').locator('#block-status')).toHaveAttribute('data-ispublic', 'true');
});
@@ -1,13 +1,13 @@
import { test, expect } from '@playwright/test';
test('Copy-paste', async ({ page }) => {
test('Copy Past', async ({ page }) => {
await page.goto('http://localhost:4001/rundown');
// clear rundown
await page.getByRole('button', { name: 'Clear rundown' }).click();
await page.getByRole('button', { name: 'Delete all' }).click();
// create event
//create event
await page.getByRole('button', { name: 'Create Event' }).click();
await page.getByTestId('entry-1').click();
await page.getByLabel('Cue', { exact: true }).click();
@@ -18,22 +18,22 @@ test('Copy-paste', async ({ page }) => {
await page.getByTestId('block__title').fill('test');
await page.getByTestId('block__title').press('Enter');
// copy paste below
//copy past below
await page.locator('div').filter({ hasText: /^4$/ }).click();
await page.locator('div').filter({ hasText: /^4$/ }).press('Control+c');
await page.locator('div').filter({ hasText: /^4$/ }).press('Control+v');
// assert
//assert
await expect(page.getByTestId('entry-2')).toBeVisible();
await expect(page.getByTestId('entry-2').getByTestId('block__title')).toHaveValue('test');
await expect(page.getByTestId('entry-2').locator('#event-block')).toContainText('5');
// copy paste above
//copy past above
await page.locator('div').filter({ hasText: /^5$/ }).click();
await page.locator('div').filter({ hasText: /^5$/ }).press('Control+c');
await page.locator('div').filter({ hasText: /^5$/ }).press('Control+Shift+v');
// assert
//assert
await expect(page.getByTestId('entry-2')).toBeVisible();
await expect(page.getByTestId('entry-2').getByTestId('block__title')).toHaveValue('test');
await expect(page.getByTestId('entry-2').locator('#event-block')).toContainText('4.1');
@@ -46,17 +46,17 @@ test('Move', async ({ page }) => {
await page.getByRole('button', { name: 'Clear rundown' }).click();
await page.getByRole('button', { name: 'Delete all' }).click();
// create events
//create events
await page.getByRole('button', { name: 'Create Event' }).click();
await page.getByRole('button', { name: 'Event' }).nth(4).click();
await page.getByRole('button', { name: 'Event', exact: true }).nth(1).click();
// copy move down
//copy move down
await page.getByTestId('entry-1').locator('#event-block').getByText('1').click();
await page.getByTestId('entry-1').locator('#event-block div').filter({ hasText: '1' }).press('Alt+Control+ArrowDown');
await expect(page.getByTestId('entry-2').locator('#event-block')).toContainText('1');
// copy move up
//copy move up
await page.getByTestId('entry-3').locator('#event-block').getByText('3').click();
await page.getByTestId('entry-3').locator('#event-block div').filter({ hasText: '3' }).press('Alt+Control+ArrowUp');
await page.getByTestId('entry-2').locator('div').filter({ hasText: /^3$/ }).press('Alt+Control+ArrowUp');
@@ -70,25 +70,18 @@ test('Add block', async ({ page }) => {
await page.getByRole('button', { name: 'Clear rundown' }).click();
await page.getByRole('button', { name: 'Delete all' }).click();
// create events
//create events
await page.getByRole('button', { name: 'Create Event' }).click();
await page.getByPlaceholder(/event title/i).fill('test');
await page.getByTestId('entry-1').click();
await page.getByTestId('block__title').press('Escape');
// add block below
//add block below
await page.getByTestId('entry-1').locator('#event-block div').filter({ hasText: '1' }).press('Alt+B');
await page.getByPlaceholder(/block title/i).fill('block below');
await expect(page.getByPlaceholder('Block title')).toBeVisible();
// add block above
//add block above
await page.getByTestId('entry-1').locator('#event-block div').filter({ hasText: '1' }).press('Alt+Shift+B');
await page
.getByPlaceholder(/block title/i)
.first()
.fill('block above');
await expect(page.getByTestId(/block__title/i).first()).toHaveValue('block above');
await expect(page.getByTestId(/block__title/i).nth(2)).toHaveValue('block below');
await expect(page.getByTestId('entry-1').getByTestId(/block__title/)).toHaveValue('test');
await expect(page.getByTestId('entry-0').getByTestId('block__title')).toBeVisible();
});
test('Add delay', async ({ page }) => {
+2 -2
View File
@@ -32,7 +32,7 @@ test('time until absolute', async ({ page }) => {
await page.getByTestId('entry-1').getByTestId('time-input-duration').fill('30s');
await page.getByTestId('entry-1').getByTestId('time-input-duration').press('Enter');
await expect(page.getByTestId('entry-2').locator('#event-block')).toContainText('30s');
await expect(page.getByTestId('entry-2').locator('#event-block')).toContainText('29s');
await expect(page.getByTestId('entry-3').locator('#event-block')).toContainText('10m');
await expect(page.getByTestId('entry-4').locator('#event-block')).toContainText('20m');
});
@@ -69,7 +69,7 @@ test('time until relative', async ({ page }) => {
await page.getByTestId('entry-1').getByTestId('time-input-duration').fill('30s');
await page.getByTestId('entry-1').getByTestId('time-input-duration').press('Enter');
await expect(page.getByTestId('entry-2').locator('#event-block')).toContainText('30s');
await expect(page.getByTestId('entry-2').locator('#event-block')).toContainText('29s');
await expect(page.getByTestId('entry-3').locator('#event-block')).toContainText('10m');
await expect(page.getByTestId('entry-4').locator('#event-block')).toContainText('20m');
});
@@ -1,27 +0,0 @@
import { test, expect } from '@playwright/test';
test('Rearrange while playing', async ({ page }) => {
await page.goto('http://localhost:4001/rundown');
// clear rundown
await page.getByRole('button', { name: 'Clear rundown' }).click();
await page.getByRole('button', { name: 'Delete all' }).click();
// create events
await page.getByRole('button', { name: 'Create Event' }).click();
await page.getByRole('button', { name: 'Event' }).nth(4).click();
await page.getByRole('button', { name: 'Event', exact: true }).nth(1).click();
// start event 2
await page.getByTestId('entry-2').getByRole('button', { name: 'Start event' }).click();
await expect(page.getByTestId('entry-2').locator('#event-block')).toHaveCSS('background-color', 'rgb(8, 122, 39)');
// move event 2 up
await page.getByTestId('entry-2').locator('#event-block').getByText('2').click();
await page.getByTestId('entry-2').locator('#event-block div').filter({ hasText: '2' }).press('Alt+Control+ArrowUp');
// event CUE1 should new be entry 2
await expect(page.getByTestId('entry-2').locator('#event-block')).toContainText('1');
// but entry 1 should be the one playing (it will be unlinked as it will be the first event)
await expect(page.getByTestId('entry-1').locator('#event-block')).toHaveCSS('background-color', 'rgb(8, 122, 39)');
});
-520
View File
@@ -1,520 +0,0 @@
{
"rundowns": {
"demo": {
"id": "demo",
"title": "Eurovision Demo",
"order": [
"32d31",
"21cd2",
"0b371",
"3cd28",
"e457f",
"01e85",
"1c420",
"b7737",
"d3a80",
"8276c",
"2340b",
"cb90b",
"503c4",
"5e965",
"bab4a",
"d3eb1"
],
"flatOrder": [
"32d31",
"21cd2",
"0b371",
"3cd28",
"e457f",
"01e85",
"1c420",
"b7737",
"d3a80",
"8276c",
"2340b",
"cb90b",
"503c4",
"5e965",
"bab4a",
"d3eb1"
],
"entries": {
"32d31": {
"type": "event",
"id": "32d31",
"cue": "SF1.01",
"title": "Albania",
"note": "SF1.01",
"endAction": "none",
"timerType": "count-down",
"countToEnd": false,
"linkStart": false,
"timeStrategy": "lock-end",
"timeStart": 36000000,
"timeEnd": 37200000,
"duration": 1200000,
"skip": false,
"colour": "",
"parent": null,
"revision": 0,
"delay": 0,
"dayOffset": 0,
"gap": 0,
"timeWarning": 500000,
"timeDanger": 100000,
"custom": {
"song": "Sekret",
"artist": "Ronela Hajati"
}
},
"21cd2": {
"type": "event",
"id": "21cd2",
"cue": "SF1.02",
"title": "Latvia",
"note": "SF1.02",
"endAction": "none",
"timerType": "count-down",
"countToEnd": false,
"linkStart": false,
"timeStrategy": "lock-end",
"timeStart": 37500000,
"timeEnd": 38700000,
"duration": 1200000,
"skip": false,
"colour": "",
"parent": null,
"revision": 0,
"delay": 0,
"dayOffset": 0,
"gap": 300000,
"timeWarning": 500000,
"timeDanger": 100000,
"custom": {
"song": "Eat Your Salad",
"artist": "Citi Zeni"
}
},
"0b371": {
"type": "event",
"id": "0b371",
"cue": "SF1.03",
"title": "Lithuania",
"note": "SF1.03",
"endAction": "none",
"timerType": "count-down",
"countToEnd": false,
"linkStart": false,
"timeStrategy": "lock-end",
"timeStart": 39000000,
"timeEnd": 40200000,
"duration": 1200000,
"skip": false,
"colour": "",
"parent": null,
"revision": 0,
"delay": 0,
"dayOffset": 0,
"gap": 300000,
"timeWarning": 500000,
"timeDanger": 100000,
"custom": {
"song": "Sentimentai",
"artist": "Monika Liu"
}
},
"3cd28": {
"type": "event",
"id": "3cd28",
"cue": "SF1.04",
"title": "Switzerland",
"note": "SF1.04",
"endAction": "none",
"timerType": "count-down",
"countToEnd": false,
"linkStart": false,
"timeStrategy": "lock-end",
"timeStart": 40500000,
"timeEnd": 41700000,
"duration": 1200000,
"skip": false,
"colour": "",
"parent": null,
"revision": 0,
"delay": 0,
"dayOffset": 0,
"gap": 300000,
"timeWarning": 500000,
"timeDanger": 100000,
"custom": {
"song": "Boys Do Cry",
"artist": "Marius Bear"
}
},
"e457f": {
"type": "event",
"id": "e457f",
"cue": "SF1.05",
"title": "Slovenia",
"note": "SF1.05",
"endAction": "none",
"timerType": "count-down",
"countToEnd": false,
"linkStart": false,
"timeStrategy": "lock-end",
"timeStart": 42000000,
"timeEnd": 43200000,
"duration": 1200000,
"skip": false,
"colour": "",
"parent": null,
"revision": 0,
"delay": 0,
"dayOffset": 0,
"gap": 300000,
"timeWarning": 500000,
"timeDanger": 100000,
"custom": {
"song": "Disko",
"artist": "LPS"
}
},
"01e85": {
"type": "block",
"id": "01e85",
"title": "Lunch break",
"note": "",
"colour": "",
"events": [],
"skip": false,
"custom": {},
"revision": 0,
"startTime": null,
"endTime": null,
"duration": 0,
"isFirstLinked": false
},
"1c420": {
"type": "event",
"id": "1c420",
"cue": "SF1.06",
"title": "Ukraine",
"note": "SF1.06",
"endAction": "none",
"timerType": "count-down",
"countToEnd": false,
"linkStart": false,
"timeStrategy": "lock-end",
"timeStart": 47100000,
"timeEnd": 48300000,
"duration": 1200000,
"skip": false,
"colour": "",
"parent": null,
"revision": 0,
"delay": 0,
"dayOffset": 0,
"gap": 3900000,
"timeWarning": 500000,
"timeDanger": 100000,
"custom": {
"song": "Stefania",
"artist": "Kalush Orchestra"
}
},
"b7737": {
"type": "event",
"id": "b7737",
"cue": "SF1.07",
"title": "Bulgaria",
"note": "SF1.07",
"endAction": "none",
"timerType": "count-down",
"countToEnd": false,
"linkStart": false,
"timeStrategy": "lock-end",
"timeStart": 48600000,
"timeEnd": 49800000,
"duration": 1200000,
"skip": false,
"colour": "",
"parent": null,
"revision": 0,
"delay": 0,
"dayOffset": 0,
"gap": 300000,
"timeWarning": 500000,
"timeDanger": 100000,
"custom": {
"song": "Intention",
"artist": "Intelligent Music Project"
}
},
"d3a80": {
"type": "event",
"id": "d3a80",
"cue": "SF1.08",
"title": "Netherlands",
"note": "SF1.08",
"endAction": "none",
"timerType": "count-down",
"countToEnd": false,
"linkStart": false,
"timeStrategy": "lock-end",
"timeStart": 50100000,
"timeEnd": 51300000,
"duration": 1200000,
"skip": false,
"colour": "",
"parent": null,
"revision": 0,
"delay": 0,
"dayOffset": 0,
"gap": 300000,
"timeWarning": 500000,
"timeDanger": 100000,
"custom": {
"song": "De Diepte",
"artist": "S10"
}
},
"8276c": {
"type": "event",
"id": "8276c",
"cue": "SF1.09",
"title": "Moldova",
"note": "SF1.09",
"endAction": "none",
"timerType": "count-down",
"countToEnd": false,
"linkStart": false,
"timeStrategy": "lock-end",
"timeStart": 51600000,
"timeEnd": 52800000,
"duration": 1200000,
"skip": false,
"colour": "",
"parent": null,
"revision": 0,
"delay": 0,
"dayOffset": 0,
"gap": 300000,
"timeWarning": 500000,
"timeDanger": 100000,
"custom": {
"song": "Trenuletul",
"artist": "Zdob si Zdub"
}
},
"2340b": {
"type": "event",
"id": "2340b",
"cue": "SF1.10",
"title": "Portugal",
"note": "SF1.10",
"endAction": "none",
"timerType": "count-down",
"countToEnd": false,
"linkStart": false,
"timeStrategy": "lock-end",
"timeStart": 53100000,
"timeEnd": 54300000,
"duration": 1200000,
"skip": false,
"colour": "",
"parent": null,
"revision": 0,
"delay": 0,
"dayOffset": 0,
"gap": 300000,
"timeWarning": 500000,
"timeDanger": 100000,
"custom": {
"song": "Saudade Saudade",
"artist": "Maro"
}
},
"cb90b": {
"type": "block",
"id": "cb90b",
"title": "Afternoon break",
"note": "",
"colour": "",
"events": [],
"skip": false,
"custom": {},
"revision": 0,
"startTime": null,
"endTime": null,
"duration": 0,
"isFirstLinked": false
},
"503c4": {
"type": "event",
"id": "503c4",
"cue": "SF1.11",
"title": "Croatia",
"note": "SF1.11",
"endAction": "none",
"timerType": "count-down",
"countToEnd": false,
"linkStart": false,
"timeStrategy": "lock-end",
"timeStart": 56100000,
"timeEnd": 57300000,
"duration": 1200000,
"skip": false,
"colour": "",
"parent": null,
"revision": 0,
"delay": 0,
"dayOffset": 0,
"gap": 1800000,
"timeWarning": 500000,
"timeDanger": 100000,
"custom": {
"song": "Guilty Pleasure",
"artist": "Mia Dimsic"
}
},
"5e965": {
"type": "event",
"id": "5e965",
"cue": "SF1.12",
"title": "Denmark",
"note": "SF1.12",
"endAction": "none",
"timerType": "count-down",
"countToEnd": false,
"linkStart": false,
"timeStrategy": "lock-end",
"timeStart": 57600000,
"timeEnd": 58800000,
"duration": 1200000,
"skip": false,
"colour": "",
"parent": null,
"revision": 0,
"delay": 0,
"dayOffset": 0,
"gap": 300000,
"timeWarning": 500000,
"timeDanger": 100000,
"custom": {
"song": "The Show",
"artist": "Reddi"
}
},
"bab4a": {
"type": "event",
"id": "bab4a",
"cue": "SF1.13",
"title": "Austria",
"note": "SF1.13",
"endAction": "none",
"timerType": "count-down",
"countToEnd": false,
"linkStart": false,
"timeStrategy": "lock-end",
"timeStart": 59100000,
"timeEnd": 60300000,
"duration": 1200000,
"skip": false,
"colour": "",
"parent": null,
"revision": 0,
"delay": 0,
"dayOffset": 0,
"gap": 300000,
"timeWarning": 500000,
"timeDanger": 100000,
"custom": {
"song": "Halo",
"artist": "LUM!X & Pia Maria"
}
},
"d3eb1": {
"type": "event",
"id": "d3eb1",
"cue": "SF1.14",
"title": "Greece",
"note": "SF1.14",
"endAction": "none",
"timerType": "count-down",
"countToEnd": false,
"linkStart": false,
"timeStrategy": "lock-end",
"timeStart": 60600000,
"timeEnd": 61800000,
"duration": 1200000,
"skip": false,
"colour": "",
"parent": null,
"revision": 0,
"delay": 0,
"dayOffset": 0,
"gap": 300000,
"timeWarning": 500000,
"timeDanger": 100000,
"custom": {
"song": "Die Together",
"artist": "Amanda Tenfjord"
}
}
},
"revision": 0
}
},
"project": {
"title": "Eurovision Song Contest",
"description": "Turin 2022",
"backstageUrl": "www.github.com/cpvalente/ontime",
"backstageInfo": "Rehearsal Schedule - Turin 2022\nAll performers to wear full costumes for 1st rehearsal",
"projectLogo": null,
"custom": []
},
"settings": {
"app": "ontime",
"version": "-",
"serverPort": 4001,
"editorKey": null,
"operatorKey": null,
"timeFormat": "24",
"language": "en"
},
"viewSettings": {
"dangerColor": "#ED3333",
"endMessage": "",
"freezeEnd": false,
"normalColor": "#ffffffcc",
"overrideStyles": false,
"warningColor": "#FFAB33"
},
"customFields": {
"Song": {
"label": "Song",
"type": "string",
"colour": "#339E4E"
},
"Artist": {
"label": "Artist",
"type": "string",
"colour": "#3E75E8"
}
},
"urlPresets": [
{
"enabled": true,
"alias": "test",
"pathAndParams": "lower?bg=ff2&text=f00&size=0.6&transition=5"
}
],
"automation": {
"enabledAutomations": false,
"enabledOscIn": true,
"oscPortIn": 8888,
"triggers": [],
"automations": {}
}
}
+459
View File
@@ -0,0 +1,459 @@
{
"rundown": [
{
"id": "32d31",
"type": "event",
"title": "Albania",
"timeStart": 36000000,
"timeEnd": 37200000,
"duration": 1200000,
"timeStrategy": "lock-duration",
"linkStart": null,
"endAction": "none",
"timerType": "count-down",
"countToEnd": false,
"isPublic": true,
"skip": false,
"note": "SF1.01",
"colour": "",
"delay": 0,
"dayOffset": 0,
"gap": 0,
"cue": "SF1.01",
"revision": 0,
"timeWarning": 120000,
"timeDanger": 60000,
"custom": {
"song": "Sekret",
"artist": "Ronela Hajati"
}
},
{
"id": "21cd2",
"type": "event",
"title": "Latvia",
"timeStart": 37500000,
"timeEnd": 38700000,
"duration": 1200000,
"timeStrategy": "lock-duration",
"linkStart": null,
"endAction": "none",
"timerType": "count-down",
"countToEnd": false,
"isPublic": true,
"skip": false,
"note": "SF1.02",
"colour": "",
"delay": 0,
"dayOffset": 0,
"gap": 0,
"cue": "SF1.02",
"revision": 0,
"timeWarning": 120000,
"timeDanger": 60000,
"custom": {
"song": "Eat Your Salad",
"artist": "Citi Zeni"
}
},
{
"id": "0b371",
"type": "event",
"title": "Lithuania",
"timeStart": 39000000,
"timeEnd": 40200000,
"duration": 1200000,
"timeStrategy": "lock-duration",
"linkStart": null,
"endAction": "none",
"timerType": "count-down",
"countToEnd": false,
"isPublic": true,
"skip": false,
"note": "SF1.03",
"colour": "",
"delay": 0,
"dayOffset": 0,
"gap": 0,
"cue": "SF1.03",
"revision": 0,
"timeWarning": 120000,
"timeDanger": 60000,
"custom": {
"song": "Sentimentai",
"artist": "Monika Liu"
}
},
{
"id": "3cd28",
"type": "event",
"title": "Switzerland",
"timeStart": 40500000,
"timeEnd": 41700000,
"duration": 1200000,
"timeStrategy": "lock-duration",
"linkStart": null,
"endAction": "none",
"timerType": "count-down",
"countToEnd": false,
"isPublic": true,
"skip": false,
"note": "SF1.04",
"colour": "",
"delay": 0,
"dayOffset": 0,
"gap": 0,
"cue": "SF1.04",
"revision": 0,
"timeWarning": 120000,
"timeDanger": 60000,
"custom": {
"song": "Boys Do Cry",
"artist": "Marius Bear"
}
},
{
"id": "e457f",
"type": "event",
"title": "Slovenia",
"timeStart": 42000000,
"timeEnd": 43200000,
"duration": 1200000,
"timeStrategy": "lock-duration",
"linkStart": null,
"endAction": "none",
"timerType": "count-down",
"countToEnd": false,
"isPublic": true,
"skip": false,
"note": "SF1.05",
"colour": "",
"delay": 0,
"dayOffset": 0,
"gap": 0,
"cue": "SF1.05",
"revision": 0,
"timeWarning": 120000,
"timeDanger": 60000,
"custom": {
"song": "Disko",
"artist": "LPS"
}
},
{
"title": "Lunch break",
"type": "block",
"id": "01e85"
},
{
"id": "1c420",
"type": "event",
"title": "Ukraine",
"timeStart": 47100000,
"timeEnd": 48300000,
"duration": 1200000,
"timeStrategy": "lock-duration",
"linkStart": null,
"endAction": "none",
"timerType": "count-down",
"countToEnd": false,
"isPublic": true,
"skip": false,
"note": "SF1.06",
"colour": "",
"delay": 0,
"dayOffset": 0,
"gap": 0,
"cue": "SF1.06",
"revision": 0,
"timeWarning": 120000,
"timeDanger": 60000,
"custom": {
"song": "Stefania",
"artist": "Kalush Orchestra"
}
},
{
"id": "b7737",
"type": "event",
"title": "Bulgaria",
"timeStart": 48600000,
"timeEnd": 49800000,
"duration": 1200000,
"timeStrategy": "lock-duration",
"linkStart": null,
"endAction": "none",
"timerType": "count-down",
"countToEnd": false,
"isPublic": true,
"skip": false,
"note": "SF1.07",
"colour": "",
"delay": 0,
"dayOffset": 0,
"gap": 0,
"cue": "SF1.07",
"revision": 0,
"timeWarning": 120000,
"timeDanger": 60000,
"custom": {
"song": "Intention",
"artist": "Intelligent Music Project"
}
},
{
"id": "d3a80",
"type": "event",
"title": "Netherlands",
"timeStart": 50100000,
"timeEnd": 51300000,
"duration": 1200000,
"timeStrategy": "lock-duration",
"linkStart": null,
"endAction": "none",
"timerType": "count-down",
"countToEnd": false,
"isPublic": true,
"skip": false,
"note": "SF1.08",
"colour": "",
"delay": 0,
"dayOffset": 0,
"gap": 0,
"cue": "SF1.08",
"revision": 0,
"timeWarning": 120000,
"timeDanger": 60000,
"custom": {
"song": "De Diepte",
"artist": "S10"
}
},
{
"id": "8276c",
"type": "event",
"title": "Moldova",
"timeStart": 51600000,
"timeEnd": 52800000,
"duration": 1200000,
"timeStrategy": "lock-duration",
"linkStart": null,
"endAction": "none",
"timerType": "count-down",
"countToEnd": false,
"isPublic": true,
"skip": false,
"note": "SF1.09",
"colour": "",
"delay": 0,
"dayOffset": 0,
"gap": 0,
"cue": "SF1.09",
"revision": 0,
"timeWarning": 120000,
"timeDanger": 60000,
"custom": {
"song": "Trenuletul",
"artist": "Zdob si Zdub"
}
},
{
"id": "2340b",
"type": "event",
"title": "Portugal",
"timeStart": 53100000,
"timeEnd": 54300000,
"duration": 1200000,
"timeStrategy": "lock-duration",
"linkStart": null,
"endAction": "none",
"timerType": "count-down",
"countToEnd": false,
"isPublic": true,
"skip": false,
"note": "SF1.10",
"colour": "",
"delay": 0,
"dayOffset": 0,
"gap": 0,
"cue": "SF1.10",
"revision": 0,
"timeWarning": 120000,
"timeDanger": 60000,
"custom": {
"song": "Saudade Saudade",
"artist": "Maro"
}
},
{
"title": "Afternoon break",
"type": "block",
"id": "cb90b"
},
{
"id": "503c4",
"type": "event",
"title": "Croatia",
"timeStart": 56100000,
"timeEnd": 57300000,
"duration": 1200000,
"timeStrategy": "lock-duration",
"linkStart": null,
"endAction": "none",
"timerType": "count-down",
"countToEnd": false,
"isPublic": true,
"skip": false,
"note": "SF1.11",
"colour": "",
"delay": 0,
"dayOffset": 0,
"gap": 0,
"cue": "SF1.11",
"revision": 0,
"timeWarning": 120000,
"timeDanger": 60000,
"custom": {
"song": "Guilty Pleasure",
"artist": "Mia Dimsic"
}
},
{
"id": "5e965",
"type": "event",
"title": "Denmark",
"timeStart": 57600000,
"timeEnd": 58800000,
"duration": 1200000,
"timeStrategy": "lock-duration",
"linkStart": null,
"endAction": "none",
"timerType": "count-down",
"countToEnd": false,
"isPublic": true,
"skip": false,
"note": "SF1.12",
"colour": "",
"delay": 0,
"dayOffset": 0,
"gap": 0,
"cue": "SF1.12",
"revision": 0,
"timeWarning": 120000,
"timeDanger": 60000,
"custom": {
"song": "The Show",
"artist": "Reddi"
}
},
{
"id": "bab4a",
"type": "event",
"title": "Austria",
"timeStart": 59100000,
"timeEnd": 60300000,
"duration": 1200000,
"timeStrategy": "lock-duration",
"linkStart": null,
"endAction": "none",
"timerType": "count-down",
"countToEnd": false,
"isPublic": true,
"skip": false,
"note": "SF1.13",
"colour": "",
"delay": 0,
"dayOffset": 0,
"gap": 0,
"cue": "SF1.13",
"revision": 0,
"timeWarning": 120000,
"timeDanger": 60000,
"custom": {
"song": "Halo",
"artist": "LUM!X & Pia Maria"
}
},
{
"id": "d3eb1",
"type": "event",
"title": "Greece",
"timeStart": 60600000,
"timeEnd": 61800000,
"duration": 1200000,
"timeStrategy": "lock-duration",
"linkStart": null,
"endAction": "none",
"timerType": "count-down",
"countToEnd": false,
"isPublic": true,
"skip": false,
"note": "SF1.14",
"colour": "",
"delay": 0,
"dayOffset": 0,
"gap": 0,
"cue": "SF1.14",
"revision": 0,
"timeWarning": 120000,
"timeDanger": 60000,
"custom": {
"song": "Die Together",
"artist": "Amanda Tenfjord"
}
}
],
"project": {
"title": "Eurovision Song Contest",
"description": "Turin 2022",
"publicUrl": "www.getontime.no",
"publicInfo": "Rehearsal Schedule - Turin 2022",
"backstageUrl": "www.github.com/cpvalente/ontime",
"backstageInfo": "Rehearsal Schedule - Turin 2022\nAll performers to wear full costumes for 1st rehearsal",
"projectLogo": null,
"custom": []
},
"settings": {
"app": "ontime",
"version": "3.10.2",
"serverPort": 4001,
"editorKey": null,
"operatorKey": null,
"timeFormat": "24",
"language": "en"
},
"viewSettings": {
"overrideStyles": false,
"normalColor": "#ffffffcc",
"warningColor": "#FFAB33",
"dangerColor": "#ED3333",
"endMessage": "",
"freezeEnd": false
},
"urlPresets": [
{
"enabled": true,
"alias": "test",
"pathAndParams": "lower?bg=ff2&text=f00&size=0.6&transition=5"
}
],
"automation": {
"enabledAutomations": false,
"enabledOscIn": true,
"oscPortIn": 8888,
"triggers": [],
"automations": {}
},
"customFields": {
"song": {
"type": "string",
"colour": "",
"label": "song"
},
"artist": {
"type": "string",
"colour": "",
"label": "artist"
}
}
}