diff --git a/mpv/portable_config/scripts/playlistmanager.lua b/mpv/portable_config/scripts/playlistmanager.lua index 60f6b57..44197bc 100644 --- a/mpv/portable_config/scripts/playlistmanager.lua +++ b/mpv/portable_config/scripts/playlistmanager.lua @@ -347,7 +347,7 @@ function normalize(path) path = mp.command_native({"normalize-path", path}) else local directory = mp.get_property("working-directory", "") - path = mp.utils.join_path(directory, path:gusb('^%.[\\/]','')) + path = utils.join_path(directory, path:gsub('^%.[\\/]','')) if is_windows then path = path:gsub("\\", "/") end end return path