[GH-ISSUE #969] popup-music: position doesn't stop advancing when the player is paused #4517

Closed
opened 2026-05-23 00:54:00 +01:00 by JakeStanger · 3 comments
Owner

Originally created by @postsolar on GitHub (May 12, 2025).
Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/969

Describe the bug

When a player is paused, displayed position doesn't stop advancing. It keeps advancing on every second, displaying wrong position.

To Reproduce
Steps to reproduce the behavior:

  1. Add module music
  2. Click popup
  3. Play a track, pause it
  4. Observe position advancing despite the player being paused

Expected behavior

Position should not change when the player is paused

System information:

  • Distro: NixOS
  • Compositor: Hyprland
  • Ironbar version: 0.16.1

Configuration

Config
{
  "start": [
  ],
  "center": [
    {
      "truncate": {
        "max_length": 60,
        "mode": "start"
      },
      "type": "music"
    }
  ],
  "end": [
  ],
  "height": 30,
  "name": "hyprbar",
  "position": "top"
}

Additional context

playerctl version v2.4.1, in daemon mode (playerctld)

Originally created by @postsolar on GitHub (May 12, 2025). Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/969 **Describe the bug** When a player is paused, displayed position doesn't stop advancing. It keeps advancing on every second, displaying wrong position. **To Reproduce** Steps to reproduce the behavior: 1. Add module `music` 2. Click popup 3. Play a track, pause it 4. Observe position advancing despite the player being paused **Expected behavior** Position should not change when the player is paused **System information:** - Distro: NixOS - Compositor: Hyprland - Ironbar version: 0.16.1 **Configuration** <details><summary>Config</summary> ```json { "start": [ ], "center": [ { "truncate": { "max_length": 60, "mode": "start" }, "type": "music" } ], "end": [ ], "height": 30, "name": "hyprbar", "position": "top" } ``` </details> **Additional context** playerctl version v2.4.1, in daemon mode (`playerctld`)
JakeStanger 2026-05-23 00:54:00 +01:00
Author
Owner

@JakeStanger commented on GitHub (May 12, 2025):

For added context, I believe this will only occur in MPRIS mode

<!-- gh-comment-id:2871459635 --> @JakeStanger commented on GitHub (May 12, 2025): For added context, I believe this will only occur in MPRIS mode
Author
Owner

@postsolar commented on GitHub (May 12, 2025):

This seems to vary by player. Happens in Firefox and Chrome, but not in mpv.

I tried looking into how other MPRIS clients behave. Waybar is just broken (only updates on play and pause events), and Hyprpanel (Astal/AGS) handles Chrome but not Firefox 🤔

<!-- gh-comment-id:2873690403 --> @postsolar commented on GitHub (May 12, 2025): This seems to vary by player. Happens in Firefox and Chrome, but not in mpv. I tried looking into how other MPRIS clients behave. Waybar is just broken (only updates on play and pause events), and Hyprpanel (Astal/AGS) handles Chrome but not Firefox 🤔
Author
Owner

@postsolar commented on GitHub (Nov 21, 2025):

✔️ At least in Brave it doesn't happen anymore

<!-- gh-comment-id:3564765337 --> @postsolar commented on GitHub (Nov 21, 2025): ✔️ At least in Brave it doesn't happen anymore
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
JakeStanger/ironbar#4517
No description provided.