aboutsummaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2026-07-03 21:34:29 -0700
committerPinapelz <yukais@pinapelz.com>2026-07-03 21:34:29 -0700
commita4f3064542ddad6939598e7e60ca0090be07df60 (patch)
treead913ebf42be12ed5f285398332dde70d6697feb /src/client
parent361e4d860fcca66dad0dd99b965b297d92ac748c (diff)
add indicator when caching content on remoteHEADmaster
Signed-off-by: Pinapelz <yukais@pinapelz.com>
Diffstat (limited to 'src/client')
-rw-r--r--src/client/Main.hx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/Main.hx b/src/client/Main.hx
index bea6b6b..62c12f8 100644
--- a/src/client/Main.hx
+++ b/src/client/Main.hx
@@ -424,8 +424,10 @@ class Main {
url: url,
atEnd: atEnd
};
+ if (doCache) showProgressInfo(Lang.get("caching") + "...");
player.getVideoData(obj, (data:VideoData) -> {
if (data.duration == 0) {
+ if (doCache) hideDynamicChin();
serverMessage(Lang.get("addVideoError"));
return;
}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage