From 906c917f014d5aaca9d109a2fe6ff74aca240ceb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wies=C5=82aw=20=C5=A0olt=C3=A9s?= Date: Tue, 5 Dec 2017 08:48:19 +0100 Subject: [PATCH] Create GetProgress_WavPackEnc.progress --- config/progress/GetProgress_WavPackEnc.progress | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 config/progress/GetProgress_WavPackEnc.progress diff --git a/config/progress/GetProgress_WavPackEnc.progress b/config/progress/GetProgress_WavPackEnc.progress new file mode 100644 index 00000000..6ca623fd --- /dev/null +++ b/config/progress/GetProgress_WavPackEnc.progress @@ -0,0 +1,4 @@ +function GetProgress(s) + if string.match(s, '^created') ~= nil then return "100"; + else return string.match(s, '(%d+)%% done'); end; +end