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