mirror of
				https://github.com/TeamPiped/Piped.git
				synced 2024-08-14 23:57:27 +00:00 
			
		
		
		
	Allow infinite sponsorblock skips when looping is selected.
This commit is contained in:
		
							parent
							
								
									d77ab806e5
								
							
						
					
					
						commit
						83573d8ee7
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -105,7 +105,7 @@ export default {
 | 
			
		|||
                    if (this.sponsors && this.sponsors.segments) {
 | 
			
		||||
                        const time = videoEl.currentTime;
 | 
			
		||||
                        this.sponsors.segments.map(segment => {
 | 
			
		||||
                            if (!segment.skipped) {
 | 
			
		||||
                            if (!segment.skipped || this.selectedAutoLoop) {
 | 
			
		||||
                                const end = segment.segment[1];
 | 
			
		||||
                                if (time >= segment.segment[0] && time < end) {
 | 
			
		||||
                                    console.log("Skipped segment at " + time);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue