Set auto_restart prop to true on mpv instance
This commit is contained in:
parent
2100c1495d
commit
c87905f6c2
1 changed files with 1 additions and 1 deletions
|
@ -334,7 +334,7 @@ const createMpv = (data: { extraParameters?: string[]; properties?: Record<strin
|
||||||
mpvInstance = new MpvAPI(
|
mpvInstance = new MpvAPI(
|
||||||
{
|
{
|
||||||
audio_only: true,
|
audio_only: true,
|
||||||
auto_restart: false,
|
auto_restart: true,
|
||||||
binary: MPV_BINARY_PATH || '',
|
binary: MPV_BINARY_PATH || '',
|
||||||
time_update: 1,
|
time_update: 1,
|
||||||
},
|
},
|
||||||
|
|
Reference in a new issue