forked from nesnomis/harbour-allradio2
Initial commit (new git name)
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
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()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user