diff options
author | Toby Vincent <tobyv@tobyvin.dev> | 2024-10-05 14:53:25 -0500 |
---|---|---|
committer | Toby Vincent <tobyv@tobyvin.dev> | 2024-10-05 14:53:25 -0500 |
commit | 8dfe8425d01a438b4dd4fc1ddb6423bb066424f4 (patch) | |
tree | 43709eedc6012c11e980f6a5846ef7094e9e113b /mpv | |
parent | b3455d3d2467366aaa3053436aaeae21c82e38ac (diff) |
fix(mpv): fix vod playback and cache
Diffstat (limited to 'mpv')
-rwxr-xr-x | mpv/.config/mpv/mpv.conf | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mpv/.config/mpv/mpv.conf b/mpv/.config/mpv/mpv.conf index 4026f6c..35779dd 100755 --- a/mpv/.config/mpv/mpv.conf +++ b/mpv/.config/mpv/mpv.conf @@ -27,6 +27,7 @@ write-filename-in-watch-later-config=yes # Caching cache=yes +demuxer-max-bytes=32MiB demuxer-max-back-bytes=512MiB [lowish-latency] @@ -45,7 +46,7 @@ write-filename-in-watch-later-config=no [stream] profile-desc=streaming live video -profile-cond=path:find("twitch%.tv/") or get("media-title", ""):find("twitch%.tv/") or filename:find("%.m3u8$") +profile-cond=((path:find("twitch%.tv/") or get("media-title", ""):find("twitch%.tv/")) and not path:find("twitch%.tv/videos")) or filename:find("%.m3u8$") profile=lowish-latency save-position-on-quit=no resume-playback=no |