Skip to content

Commit

Permalink
Lazy fix for YouTube shorts
Browse files Browse the repository at this point in the history
  • Loading branch information
po5 committed Sep 18, 2022
1 parent 4cbf4ba commit acc092d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions thumbfast.lua
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,12 @@ local function spawn(time)

spawned = true

local open_filename = mp.get_property("stream-open-filename")
local ytdl = open_filename and mp.get_property_bool("demuxer-via-network", false) and path ~= open_filename
if ytdl then
path = open_filename
end

if os_name == "" then
os_name = get_os()
end
Expand Down

0 comments on commit acc092d

Please sign in to comment.