mirror of
https://github.com/FalloNero/yt-dlp4vlc.git
synced 2026-11-04 00:20:57 -05:00
Update youtube.lua
ravensorrow fix
This commit is contained in:
+2
-1
@@ -9,9 +9,10 @@ function sleep(s)
|
|||||||
repeat until os.time() > ntime
|
repeat until os.time() > ntime
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- ravensorrow fix :3
|
||||||
function probe()
|
function probe()
|
||||||
-- Check if the input is a YouTube link
|
-- Check if the input is a YouTube link
|
||||||
return vlc.access == "http" or vlc.access == "https" and
|
return (vlc.access == "http" or vlc.access == "https") and
|
||||||
(string.match(vlc.path, "youtube%.com") or string.match(vlc.path, "youtu%.be"))
|
(string.match(vlc.path, "youtube%.com") or string.match(vlc.path, "youtu%.be"))
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user