fix(mpv): disable autoload stream url

This commit is contained in:
rydesun 2021-07-09 01:36:19 +08:00
parent ef1e09fe35
commit ee1c4d9449

View file

@ -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