diff --git a/scripts/build-mpv.sh b/scripts/build-mpv.sh index 07439da..88c4a3e 100755 --- a/scripts/build-mpv.sh +++ b/scripts/build-mpv.sh @@ -22,4 +22,11 @@ echo "--disable-cplayer --disable-caca --disable-wayland --disable-gl-wayland -- sudo ./install ccache -s +cd mpv +python waf -v install --destdir=destdir +cd destdir +tar caf mpv.tar * +wget https://github.com/probonopd/uploadtool/raw/master/upload.sh +bash upload.sh mpv.tar + cd $OLDDIR diff --git a/src/qml/main.qml b/src/qml/main.qml index 505ef47..30af73d 100644 --- a/src/qml/main.qml +++ b/src/qml/main.qml @@ -150,10 +150,10 @@ ApplicationWindow { } function setProgressBarValue(val) { + progressBar.value = val timeLabel.text = player.createTimestamp(val) + " / " + player.createTimestamp( progressBar.to) + " (" + parseFloat( player.getProperty("speed").toFixed(2)) + "x)" - progressBar.value = val } function skipToNinth(val) {