From a6bbc79721dc0dc47e545c8740ccf8f647bb6cce Mon Sep 17 00:00:00 2001 From: jonathan Date: Wed, 31 Mar 2021 13:33:11 +0200 Subject: [PATCH] check also status from systemd --- pages/player.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/player.vue b/pages/player.vue index e69eeaa9..31b81754 100644 --- a/pages/player.vue +++ b/pages/player.vue @@ -454,7 +454,7 @@ export default { const engine = this.configGui[this.configID].engine_service.split('/').slice(-1)[0].split('.')[0] const status = await this.$axios.post('api/player/system/', { run: 'status', engine }) - if (status.data.data && status.data.data === 'RUNNING') { + if (status.data.data && (status.data.data === 'RUNNING' || status.data.data === 'active')) { this.isPlaying = 'is-playing' } else { this.isPlaying = ''