Remove ao-mute check
This commit is contained in:
		
							parent
							
								
									4dec5a3526
								
							
						
					
					
						commit
						c18fbe74d3
					
				| 
						 | 
				
			
			@ -83,8 +83,8 @@ function observePlaybackTime(_, current_pos)
 | 
			
		|||
                mp.set_property_number("playback-time", segment.segment[2])
 | 
			
		||||
                current_pos = segment.segment[2]
 | 
			
		||||
            elseif segment.actionType == "mute" then
 | 
			
		||||
                -- if ao-mute or mute is false, then it's not muted, which causes it to be muted
 | 
			
		||||
                local caused_mute = (mp.get_property_bool("ao-mute") or mp.get_property_bool("mute")) == false
 | 
			
		||||
                -- if mute is false, then it's not muted, which causes it to be muted
 | 
			
		||||
                local caused_mute = mp.get_property_bool("mute") == false
 | 
			
		||||
                -- if subs are visible, they'll be hidden
 | 
			
		||||
                local caused_hidden_subs = mp.get_property_bool("sub-visibility") == true
 | 
			
		||||
                if (caused_mute or caused_hidden_subs) and (video_data.current_mute_segment == nil
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue