Remove debug print

This commit is contained in:
blank X 2021-03-13 11:57:53 +07:00
parent cccc793a66
commit 79789a8099
Signed by: blankie
GPG Key ID: CC15FC822C7F61F5
1 changed files with 0 additions and 1 deletions

View File

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