diff --git a/src/views/ConfigurationVideoView.vue b/src/views/ConfigurationVideoView.vue index 580dbdb0f..3c42bf532 100644 --- a/src/views/ConfigurationVideoView.vue +++ b/src/views/ConfigurationVideoView.vue @@ -7,8 +7,8 @@ class="flex flex-col items-center px-5 py-3 m-5 font-medium text-center border rounded-md text-grey-darken-1 bg-grey-lighten-5 w-[40%]" >

- This is the video configuration page. Here you can configure the behavior of your video streams and download - or discard saved videos and subtitle logs. + This is the video configuration page. Here you can configure the behavior of your video streams, clear local + storage and download or discard unprocesses video chunks.


@@ -60,92 +60,6 @@ There are videos being processed in background. Please wait until they are finished to download or discard.

- -
-

No videos available.

-

- Use the MiniVideoRecorder widget to record some videos and them come back here to download or discard those. -

-
- - - - - - - -
=> { temporaryDbSize.value = size } -const discardAndUpdateDB = async (filenames: string[]): Promise => { - await videoStore.discardFilesFromVideoDB(filenames) - await fetchVideoAndLogsData() - selectedFilesNames.value = [] -} - -const downloadAndUpdateDB = async (filenames: string[]): Promise => { - await videoStore.downloadFilesFromVideoDB(filenames) - await fetchVideoAndLogsData() - selectedFilesNames.value = [] -} - -async function playVideoOnModal(videoFileName: string[]): Promise { - const videoBlob = await videoStore.videoStoringDB.getItem(videoFileName[0]) - if (!(videoBlob instanceof Blob)) { - console.error('Video data is not a Blob:', videoBlob) - return - } - const tempFileUrl = URL.createObjectURL(videoBlob) - videoFile.value = tempFileUrl - openVideoPlayerDialog.value = true -} - const clearTemporaryVideoFiles = async (): Promise => { const videosBeingRecorded = videoStore.keysAllUnprocessedVideos.length > videoStore.keysFailedUnprocessedVideos.length @@ -331,11 +221,4 @@ watch(areThereVideosProcessing, async () => { }) const nUnprocVideos = computed(() => videoStore.keysFailedUnprocessedVideos.length) - -type ReadonlyHeaders = VDataTable['$props']['headers'] -const headers: ReadonlyHeaders = [ - { title: 'Name', align: 'start', key: 'filename', sortable: true }, - { title: 'Size', align: 'center', key: 'size', sortable: true }, - { title: 'Actions', align: 'center', key: 'actions', sortable: false }, -]