Skip to content

Commit e259bfc

Browse files
committed
select.lua: use current-watch-history-path property
1 parent 6ff7544 commit e259bfc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

player/lua/select.lua

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -437,8 +437,7 @@ local function format_history_entry(entry)
437437
end
438438

439439
mp.add_key_binding(nil, "select-watch-history", function ()
440-
local history_file_path = mp.command_native(
441-
{"expand-path", mp.get_property("watch-history-path")})
440+
local history_file_path = mp.get_property("current-watch-history-path")
442441
local history_file, error_message = io.open(history_file_path)
443442
if not history_file then
444443
show_warning(mp.get_property_native("save-watch-history")

0 commit comments

Comments
 (0)