feat: add periodic saving action
All checks were successful
repod / xml (push) Successful in 34s
repod / php (push) Successful in 1m1s
repod / nodejs (push) Successful in 2m15s
repod / release (push) Has been skipped

This commit is contained in:
Michel Roux 2024-01-14 19:56:11 +01:00
parent 861ecf0db1
commit 950ae269c9

View File

@ -103,3 +103,9 @@ export const player = {
}, },
}, },
} }
setInterval(() => {
if (player.state.paused === false) {
store.dispatch('player/time')
}
}, 40000)