[GH-ISSUE #967] popup-music doesnt display time above 1h #4516

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

Originally created by @Ly-sec on GitHub (May 10, 2025).
Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/967

Describe the bug
The popup-music does not display anything above an hour.
Example: Videos/Music that is exactly 1 hour displays as 00:00, everything above displays only the minutes (instead of 1:20:00 it displays 20:00).

To Reproduce

  1. Add module music
  2. Click popup
  3. Only displays everything under 1 hour.

Expected behavior
Should display the actual length of said video/music.

System information:

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

Configuration

Config
musicModule = {
    type = "music";
    player = "*";
    interval = 2;
    truncate = {
      mode = "end";
      length = 28;
      max_length = 32;
    };
    tooltip = true;
    format = "{artist} - {title}";
  };
Styles

not important since I only added color/background-color.

Screenshots

Image

Originally created by @Ly-sec on GitHub (May 10, 2025). Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/967 **Describe the bug** The `popup-music` does not display anything above an hour. Example: Videos/Music that is exactly 1 hour displays as 00:00, everything above displays only the minutes (instead of 1:20:00 it displays 20:00). **To Reproduce** 1. Add module `music` 2. Click popup 3. Only displays everything under 1 hour. **Expected behavior** Should display the actual length of said video/music. **System information:** - Distro: NixOS - Compositor: Hyprland - Ironbar version: 0.16.1 **Configuration** <details><summary>Config</summary> ``` musicModule = { type = "music"; player = "*"; interval = 2; truncate = { mode = "end"; length = 28; max_length = 32; }; tooltip = true; format = "{artist} - {title}"; }; ``` </details> <details><summary>Styles</summary> not important since I only added color/background-color. </details> **Screenshots** ![Image](https://github.com/user-attachments/assets/7381dae7-7783-4f41-8b50-a1329eb6eec3)
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#4516
No description provided.