mirror of
				https://github.com/blakeblackshear/frigate.git
				synced 2025-10-27 10:52:11 +01:00 
			
		
		
		
	start_time is a datetime obj
This commit is contained in:
		
							parent
							
								
									613f1f6bd6
								
							
						
					
					
						commit
						def889e3a8
					
				@ -270,7 +270,7 @@ class RecordingMaintainer(threading.Thread):
 | 
			
		||||
            ][0]
 | 
			
		||||
 | 
			
		||||
            # ensure delayed segment info does not lead to lost segments
 | 
			
		||||
            if most_recently_processed_frame_time >= start_time:
 | 
			
		||||
            if most_recently_processed_frame_time >= start_time.timestamp():
 | 
			
		||||
                record_mode = self.config.cameras[camera].record.retain.mode
 | 
			
		||||
                return await self.move_segment(
 | 
			
		||||
                    camera, start_time, end_time, duration, cache_path, record_mode
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user