Browse Source

Remove debug print

master
blank X 1 year ago
parent
commit
79789a8099
Signed by: blankie
GPG Key ID: CC15FC822C7F61F5
  1. 1
      sponsorblock_minimal.lua

1
sponsorblock_minimal.lua

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

Loading…
Cancel
Save