A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://gist.github.com/Sneakpeakcss/05a97d509b8be67a6f11400b0bee54ab below:

mpv player script to open directory and select currently playing file (Windows). · GitHub

Last active August 8, 2025 06:14

Clone this repository at <script src="https://gist.github.com/Sneakpeakcss/05a97d509b8be67a6f11400b0bee54ab.js"></script>

Save Sneakpeakcss/05a97d509b8be67a6f11400b0bee54ab to your computer and use it in GitHub Desktop.

mpv player script to open directory and select currently playing file (Windows).

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters -- open-in-explorer.lua mp.add_key_binding(nil, "open-in-explorer", function() local path = mp.get_property("path") if path ~= nil and not path:match("^%a[%a%d-_]+://") then path = string.gsub(path, "/", "\\") mp.command_native({ name = "subprocess", playback_only = false, args = { 'explorer', '/select,', path .. ' ' }, }) else mp.osd_message("Invalid path: " .. (path or "No path provided")) end end)

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4