diff options
| author | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2026-01-07 01:07:12 -0800 |
|---|---|---|
| committer | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2026-01-07 01:07:12 -0800 |
| commit | d9efccd403dbb189e99f6c43fdad16940e695e30 (patch) | |
| tree | e6d28d95b14146b93fec6dca00502a6c7cfd867c /osd.lua | |
| parent | 0eb133c814538f000a8416880383aa4468b919c3 (diff) | |
| download | mpv-iptv-menu-d9efccd403dbb189e99f6c43fdad16940e695e30.tar.gz mpv-iptv-menu-d9efccd403dbb189e99f6c43fdad16940e695e30.tar.xz | |
use real-time count for favourites
Diffstat (limited to 'osd.lua')
| -rw-r--r-- | osd.lua | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -296,6 +296,11 @@ function mt:redraw(menus, depth, favourites, playing_id) #menu.options) do local opt = menu.options[i] + -- use real-time count for favourites + if opt.id == 'favourites' then + opt.info = tostring(#favourites) + end + local selected = i == menu.cursor and not menu.search_active local info = { selected = selected, |
