diff options
| author | RblSb <msrblsb@gmail.com> | 2025-05-19 03:06:41 +0300 |
|---|---|---|
| committer | RblSb <msrblsb@gmail.com> | 2025-05-24 13:59:03 +0300 |
| commit | 623d85f88bb42834b335801ad5d703f6945d38d2 (patch) | |
| tree | 857983c5c90f429e4764e4880f95d8f12a0f4595 /res | |
| parent | 4b48de4f824ce48f1466014a9e9aa24023212181 (diff) | |
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
Diffstat (limited to 'res')
| -rw-r--r-- | res/client.js | 10 |
1 files changed, 6 insertions, 4 deletions
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(); } |
