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 /src/client | |
| 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 'src/client')
| -rw-r--r-- | src/client/Player.hx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/client/Player.hx b/src/client/Player.hx index 7fc021d..670d5da 100644 --- a/src/client/Player.hx +++ b/src/client/Player.hx @@ -601,7 +601,10 @@ class Player { } public function pause():Void { - if (!isSyncActive()) return; + // allow pausing when removing last video + if (videoList.length > 0) { + if (!isSyncActive()) return; + } if (player == null) return; if (!player.isVideoLoaded()) return; player.pause(); |
