mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-24 21:42:51 -05:00
media: fix media player updates
This commit is contained in:
@@ -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