mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-08 04:50:12 +02:00
potential fix for mpv clear (#1360)
This commit is contained in:
@@ -114,7 +114,7 @@ const createMpv = async (data: {
|
||||
mpv.on('status', (status) => {
|
||||
if (status.property === 'playlist-pos') {
|
||||
if (status.value === -1) {
|
||||
mpv?.stop();
|
||||
mpv?.pause();
|
||||
}
|
||||
|
||||
if (status.value !== 0) {
|
||||
|
||||
Reference in New Issue
Block a user