mirror of
https://github.com/rydesun/dotfiles.git
synced 2025-12-26 22:55:00 +08:00
fix(mpv): disable autoload stream url
This commit is contained in:
parent
ef1e09fe35
commit
ee1c4d9449
1 changed files with 3 additions and 0 deletions
|
|
@ -60,6 +60,9 @@ local function autoload_series()
|
|||
end
|
||||
|
||||
local filepath = mp.get_property("path", "")
|
||||
if filepath == nil or filepath:find("^http[s]?://") then
|
||||
return
|
||||
end
|
||||
local dir, filename = utils.split_path(filepath)
|
||||
if #dir == 0 then
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue