diff --git a/components/PlayerControl.vue b/components/PlayerControl.vue index 8a80860b..09a45046 100644 --- a/components/PlayerControl.vue +++ b/components/PlayerControl.vue @@ -192,7 +192,7 @@ const streamUrl = ref( `/data/event/${configStore.configGui[configStore.configID].id}?endpoint=playout&uuid=${authStore.uuid}` ) -// 'http://127.0.0.1:8787/data/event/1?endpoint=system&uuid=f2f8c29b-712a-48c5-8919-b535d3a05a3a' +// 'http://127.0.0.1:8787/data/event/1?endpoint=playout&uuid=f2f8c29b-712a-48c5-8919-b535d3a05a3a' const { status, data, error, close } = useEventSource(streamUrl, [], { autoReconnect: { retries: -1, diff --git a/stores/playlist.ts b/stores/playlist.ts index b1fd968a..3a126806 100644 --- a/stores/playlist.ts +++ b/stores/playlist.ts @@ -82,7 +82,7 @@ export const usePlaylist = defineStore('playlist', { this.currentClipIn = item.media.in this.currentClipOut = item.media.out this.currentClipDuration = item.media.duration - this.currentClipTitle = item.media.title + this.currentClipTitle = item.media.title ?? '' this.currentClipIndex = item.index this.elapsedSec = item.elapsed this.ingestRuns = item.ingest diff --git a/types/index.d.ts b/types/index.d.ts index e85eaed5..5715938a 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -128,5 +128,6 @@ declare global { mode: string elapsed: number shift: number + title?: string } }