http://kseti77xagomoqfzqnphxwhjjlfs2exj6b2fmr3sh6pk23tkcz5dseid.onion/git/mpv-scripts.git/commit/scripts/uosc/lib/menus.lua
.' + end + local files, directories, error = read_directory(serialized.path, { + types = opts.allowed_types, + hidden = options.show_hidden_files, + }) + if error then + return {}, 1, error + end + local is_root = not serialized.dirname + + if not files or not directories then return {}, 0 end + + sort_strings(directories) + sort_strings(files) + + -- Pre-populate items with parent directory selector if not at root + -- Each item value is a serialized path table it points...