From 623d85f88bb42834b335801ad5d703f6945d38d2 Mon Sep 17 00:00:00 2001 From: RblSb Date: Mon, 19 May 2025 03:06:41 +0300 Subject: Migrate to yt-dlp - yt-dlp should be more stable and allows more cool stuff in future - easier to export cookies.txt with yt-dlp utility (cookies.json support removed) - better quality fallback if not enough space - keep progress reports after reconnections --- res/client.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'res/client.js') diff --git a/res/client.js b/res/client.js index ba579ba..2780e56 100644 --- a/res/client.js +++ b/res/client.js @@ -1,4 +1,4 @@ -// Generated by Haxe 4.3.6 +// Generated by Haxe 4.3.7 (function ($hx_exports, $global) { "use strict"; $hx_exports["client"] = $hx_exports["client"] || {}; $hx_exports["client"]["JsApi"] = $hx_exports["client"]["JsApi"] || {}; @@ -3383,8 +3383,10 @@ client_Player.prototype = { } } ,pause: function() { - if(!this.isSyncActive()) { - return; + if(this.videoList.items.length > 0) { + if(!this.isSyncActive()) { + return; + } } if(this.player == null) { return; @@ -3489,7 +3491,7 @@ client_Player.prototype = { } }; http.onError = function(msg) { - haxe_Log.trace(msg,{ fileName : "src/client/Player.hx", lineNumber : 674, className : "client.Player", methodName : "skipAd"}); + haxe_Log.trace(msg,{ fileName : "src/client/Player.hx", lineNumber : 677, className : "client.Player", methodName : "skipAd"}); }; http.request(); } -- cgit v1.2.3