Bạn có thể nhấp chuột phải vào video và chọn thông tin, sau đó sao chép đường dẫn đến tệp, sau đó nhấn win+r
và nhậpexplorer.exe /select,c:\path\to\file.wmv
Biên tập:
Tôi đã thực hiện một phần mở rộng lua nguyên thủy sử dụng lệnh này. Đã thử nghiệm với vlc 3.0.4 trên windows 10 x64.
sử dụng:
- Lưu tập lệnh trong thư mục tiện ích mở rộng.
- Phát video mong muốn để biến nó thành mục danh sách phát hiện tại (chỉ chọn trong danh sách phát là không đủ.)
- Mở phần mở rộng
view->select_in_explorer
- Nhấp vào nút "select in explorer" trong cửa sổ hộp thoại.
- Trình thám hiểm sẽ mở với tệp đã chọn.
select_in_explorer.lua
-- "select_in_explorer.lua" -- VLC Extension
function descriptor()
return {
title = "Select in explorer",
version = "0.1",
author = "mb",
url = "",
shortdesc = "Select in explorer",
description = [[opens Windows explorer and select the currently played file]],
capabilities = {}
}
end
function activate()
dlg = vlc.dialog("Select in explorer")
update_dialog()
end
function deactivate()
end
function close()
vlc.deactivate()
end
function meta_changed()
return false
end
function update_dialog()
path = vlc.playlist.get(vlc.playlist.current()).path
dlg:add_button("select in explorer",select_in_explorer, 1, 1, 1, 1)
path_label = dlg:add_label(path, 2, 1, 1, 1)
dlg:show()
end
function select_in_explorer()
path = vlc.playlist.get(vlc.playlist.current()).path
cmd = "explorer.exe /select,"..path
io.popen(cmd)
end