mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-28 23:42:51 -05:00
media: fix media player updates
This commit is contained in:
@@ -227,6 +227,13 @@ Item {
|
|||||||
|
|
||||||
property bool isSeeking: false
|
property bool isSeeking: false
|
||||||
|
|
||||||
|
Timer {
|
||||||
|
interval: 1000
|
||||||
|
running: activePlayer?.playbackState === MprisPlaybackState.Playing && !isSeeking
|
||||||
|
repeat: true
|
||||||
|
onTriggered: activePlayer?.positionChanged()
|
||||||
|
}
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
id: bgContainer
|
id: bgContainer
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
|||||||
Reference in New Issue
Block a user