aboutsummaryrefslogtreecommitdiffstats
path: root/src/player_control.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/player_control.c')
-rw-r--r--src/player_control.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/player_control.c b/src/player_control.c
index 38d960031..25a0320c5 100644
--- a/src/player_control.c
+++ b/src/player_control.c
@@ -142,6 +142,8 @@ pc_set_pause(bool pause_flag)
void
pc_get_status(struct player_status *status)
{
+ player_command(PLAYER_COMMAND_REFRESH);
+
status->state = pc.state;
if (pc.state != PLAYER_STATE_STOP) {