feat: split media_types
option into video_types
, audio_types
, and image_types
This commit is contained in:
@@ -361,7 +361,7 @@ end
|
||||
---@param delta number
|
||||
function navigate_directory(delta)
|
||||
if not state.path or is_protocol(state.path) then return false end
|
||||
local paths, current_index = get_adjacent_files(state.path, config.media_types)
|
||||
local paths, current_index = get_adjacent_files(state.path, config.types.media)
|
||||
if paths and current_index then
|
||||
local _, path = decide_navigation_in_list(paths, current_index, delta)
|
||||
if path then mp.commandv('loadfile', path) return true end
|
||||
|
Reference in New Issue
Block a user