1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-16 12:17:12 +00:00

{osc,select}.lua: show playlist entries with trailing /

If a playlist entry ends with a slash these scripts only show the
basename which is empty. Fix this by stripping trailing slashes so that
the last directory component becomes the basename.
This commit is contained in:
Guido Cella 2024-08-05 08:40:42 +02:00 committed by Kacper Michajłow
parent 67bd00f163
commit ee05804bfa
2 changed files with 8 additions and 2 deletions