From 103d626c5652ebc2d58e7c8dc0eab96c9eea0ade Mon Sep 17 00:00:00 2001 From: Kitteh Date: Tue, 6 Nov 2018 09:11:06 +0000 Subject: [PATCH] [Scripts] Test uploading MPV. --- scripts/build-mpv.sh | 7 +++++++ src/qml/main.qml | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) 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) {