2025-05-28 20:47:14 +02:00

18 lines
463 B
QML

import QtQuick 2.0
// This is my "quick and dirty" solution to fix the initial stuttering when playing a radio station.
// It is not pretty but it works, until there is a better solution (or fix in MediaPlayer.
Timer {
interval: 100; running: false; repeat: false
onTriggered: playStreamTimer()
function playStreamTimer() {
source = ""
source = _url_resolved
isPlaying = true
isPaused = false
play()
}
}