Set auto_restart prop to true on mpv instance

This commit is contained in:
jeffvli 2023-05-09 18:55:54 -07:00
parent 2100c1495d
commit c87905f6c2

View file

@ -334,7 +334,7 @@ const createMpv = (data: { extraParameters?: string[]; properties?: Record<strin
mpvInstance = new MpvAPI(
{
audio_only: true,
auto_restart: false,
auto_restart: true,
binary: MPV_BINARY_PATH || '',
time_update: 1,
},