diff --git a/web/index.js b/web/index.js index 05dbf95..0005c06 100644 --- a/web/index.js +++ b/web/index.js @@ -554,6 +554,9 @@ const component_audio_player = { this.ffmpeg_config = ffmpeg_config }, prepare_func() { + if (!this.file.id) { + return + } this.playing_file = {} this.is_preparing = true axios.post('/api/v1/prepare_file_stream_direct', {