Remove debug print

master
blank X 2 years ago
parent cccc793a66
commit 79789a8099
Signed by: blankie
GPG Key ID: CC15FC822C7F61F5

@ -53,7 +53,6 @@ function file_loaded()
local video_path = mp.get_property("path")
local video_title = mp.get_property("media-title")
youtube_id = string.match(video_title, ".* %(([%w-_]+)%)")
print(youtube_id)
if not string.match(video_path, "https?://.*%.?googlevideo%.com/.*") or not youtube_id or string.len(youtube_id) < 11 then return end
youtube_id = string.sub(youtube_id, 1, 11)