media: progress update interval follows resources

This commit is contained in:
end-4 2025-09-18 08:12:52 +02:00
parent 47725ea4b5
commit fc0b069ad2
3 changed files with 4 additions and 4 deletions

View file

@ -21,7 +21,7 @@ Item {
Timer {
running: activePlayer?.playbackState == MprisPlaybackState.Playing
interval: 1000
interval: Config.options.resources.updateInterval
repeat: true
onTriggered: activePlayer.positionChanged()
}

View file

@ -46,9 +46,9 @@ Item { // Player instance
}
}
Timer { // Force update for prevision
Timer { // Force update for revision
running: playerController.player?.playbackState == MprisPlaybackState.Playing
interval: 1000
interval: Config.options.resources.updateInterval
repeat: true
onTriggered: {
playerController.player.positionChanged()

View file

@ -22,7 +22,7 @@ MouseArea {
Timer {
running: activePlayer?.playbackState == MprisPlaybackState.Playing
interval: 1000
interval: Config.options.resources.updateInterval
repeat: true
onTriggered: activePlayer.positionChanged()
}