aboutsummaryrefslogtreecommitdiffstats
path: root/src/server/cache/Cache.hx
diff options
context:
space:
mode:
authorRblSb <msrblsb@gmail.com>2025-09-03 10:30:19 +0300
committerRblSb <msrblsb@gmail.com>2025-09-03 10:30:19 +0300
commit9ec382facd8d7813716a10e5f7db3ca7f4ba0259 (patch)
tree323d4eb3b2b0d51c030daf63c1dac7db974f2b63 /src/server/cache/Cache.hx
parent0a771c1ab48819561c766790092407cf602fd68c (diff)
/crash, update yt-dlp on start, newer node fix
Diffstat (limited to 'src/server/cache/Cache.hx')
-rw-r--r--src/server/cache/Cache.hx5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/server/cache/Cache.hx b/src/server/cache/Cache.hx
index 56749d8..cfe2f66 100644
--- a/src/server/cache/Cache.hx
+++ b/src/server/cache/Cache.hx
@@ -28,7 +28,10 @@ class Cache {
youtubeCache = new YoutubeCache(main, this);
rawCache = new RawCache(main, this);
isYtReady = youtubeCache.checkYtDeps();
- if (isYtReady) youtubeCache.cleanYtInputFiles();
+ if (isYtReady) {
+ youtubeCache.cleanYtInputFiles();
+ youtubeCache.checkUpdate();
+ }
}
public function getCachedFiles():Array<String> {
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage