From: Simon Ruderich Date: Sat, 1 Apr 2023 08:07:30 +0000 (+0200) Subject: multimedia: mpv: fix display of cache in OSD X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=a5773963246064c27c927a4d3c56a85ba9cf7d19;p=config%2Fdotfiles.git multimedia: mpv: fix display of cache in OSD --- diff --git a/multimedia/mpv/mpv.conf b/multimedia/mpv/mpv.conf index eb4ff5c..d8d9329 100644 --- a/multimedia/mpv/mpv.conf +++ b/multimedia/mpv/mpv.conf @@ -1,6 +1,6 @@ # Mpv (mplayer2 fork) configuration file. -# Copyright (C) 2011-2016 Simon Ruderich +# Copyright (C) 2011-2023 Simon Ruderich # # This file is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -59,7 +59,7 @@ osc=no # Display position/length and cache in the progress overlay ("P" binding). # Thanks to wm4 in $mpv-player on Freenode (2014-08-18 01:24 CEST). -osd-status-msg="${time-pos} / ${duration} (${percent-pos}%)${?cache-percent: Cache: ${cache-percent}%}" +osd-status-msg="${time-pos} / ${duration} (${percent-pos}%)${?demuxer-cache-duration: Cache: ${demuxer-cache-duration}s}" # Don't display attached pictures in sound files. audio-display=no