mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-10-26 04:57:47 -04:00
media: fix media player updates
This commit is contained in:
1 parent
318c50bc6c
commit
460486fe25
1 file changed
+7
@@ -227,6 +227,13 @@ Item {
|
||||
|
||||
property bool isSeeking: false
|
||||
|
||||
Timer {
|
||||
interval: 1000
|
||||
running: activePlayer?.playbackState === MprisPlaybackState.Playing && !isSeeking
|
||||
repeat: true
|
||||
onTriggered: activePlayer?.positionChanged()
|
||||
}
|
||||
|
||||
Item {
|
||||
id: bgContainer
|
||||
anchors.fill: parent
|
||||
|
||||
Reference in new issue
Block a user