this is not needed
This commit is contained in:
parent
1c62995663
commit
bdb0f48c4d
2
README
2
README
|
@ -5,5 +5,7 @@ Also this uses curl rather than python to get the ranges.
|
|||
There is also no cache so the ranges may get redownloaded
|
||||
if you watch a video more than once.
|
||||
|
||||
b toggles between on/off
|
||||
|
||||
Here is a link to the original one:
|
||||
https://github.com/po5/mpv_sponsorblock
|
||||
|
|
|
@ -53,10 +53,7 @@ function file_loaded()
|
|||
youtube_id = string.sub(youtube_id, 1, 11)
|
||||
|
||||
getranges()
|
||||
if not ranges then
|
||||
mp.unregister_event(file_loaded)
|
||||
return
|
||||
end
|
||||
if not ranges then return end
|
||||
|
||||
ON = true
|
||||
mp.add_key_binding("b","sponsorblock",toggle)
|
||||
|
|
Reference in New Issue