Update youtube.lua

ravensorrow fix
This commit is contained in:
FalloNero
2026-10-29 19:46:44 +01:00
committed by GitHub
parent 5c84a1b2b4
commit ef03178f25
+2 -1
View File
@@ -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