diff --git a/components/Control.vue b/components/Control.vue
index 54d42304..07a56001 100644
--- a/components/Control.vue
+++ b/components/Control.vue
@@ -239,7 +239,12 @@ async function status() {
const timeInSec = timeToSeconds(timeStr.value)
playlistStore.remainingSec = playlistStore.currentClipStart + playlistStore.currentClipOut - timeInSec
const playedSec = playlistStore.currentClipOut - playlistStore.remainingSec
- playlistStore.progressValue = (playedSec * 100) / playlistStore.currentClipOut
+
+ if (playlistStore.currentClipOut === 0) {
+ playlistStore.progressValue = 0
+ } else {
+ playlistStore.progressValue = (playedSec * 100) / playlistStore.currentClipOut
+ }
if (breakStatusCheck.value) {
return
@@ -292,253 +297,3 @@ async function controlPlayout(state: string) {
}, 1000)
}
-
-
diff --git a/components/PlaylistGenerator.vue b/components/PlaylistGenerator.vue
new file mode 100644
index 00000000..760d6017
--- /dev/null
+++ b/components/PlaylistGenerator.vue
@@ -0,0 +1,401 @@
+
+
+
+
+
+