http://kseti77xagomoqfzqnphxwhjjlfs2exj6b2fmr3sh6pk23tkcz5dseid.onion/git/mpv-scripts.git/commit/scripts/uosc/lib/menus.lua
OpenCommandMenuOptions +function toggle_menu_with_items(opts) + if Menu:is_open('menu') then + Menu:close() + else + open_command_menu({type = 'menu', items = get_menu_items(), search_submenus = true}, opts) + end +end + +---@alias TrackEventRemove {type: 'remove' | 'delete', index: number; value: any;} +---@alias TrackEventReload {type: 'reload', index: number; value: any;} +---@param opts {type: string; title: string; list_prop: string; active_prop?: string; footnote?: string; serializer:...