From 734c08e596bb87d6af57b246dd1c98712f4ef4bd Mon Sep 17 00:00:00 2001 From: Eriq Taing Date: Wed, 10 Jun 2026 20:26:12 -0400 Subject: [PATCH] [AI] Added audio progress bar --- osd/PlayerControl.qml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/osd/PlayerControl.qml b/osd/PlayerControl.qml index d15013f..8206feb 100644 --- a/osd/PlayerControl.qml +++ b/osd/PlayerControl.qml @@ -188,6 +188,22 @@ Item { elide: Text.ElideRight text: playerController.player?.trackArtist } + + Rectangle { + Layout.fillWidth: true + Layout.preferredHeight: 2 + color: blendedColors.colLayer1 + visible: playerController.player?.length > 0 + + Rectangle { + anchors.top: parent.top + anchors.bottom: parent.bottom + anchors.left: parent.left + color: blendedColors.colPrimary + width: (playerController.player?.position / playerController.player?.length) * parent.width + radius: parent.height / 2 + } + } RowLayout { Layout.fillWidth: true Layout.preferredHeight: 32