Use file: in ffprobe as well
This commit is contained in:
		
							parent
							
								
									0457582ed5
								
							
						
					
					
						commit
						d8dc726fb7
					
				| @ -9,7 +9,7 @@ from typing import Any, Dict, List, Union | |||||||
| 
 | 
 | ||||||
| def probe_metadata(file: Path) -> Dict[str, Any]: | def probe_metadata(file: Path) -> Dict[str, Any]: | ||||||
|     output = subprocess.check_output( |     output = subprocess.check_output( | ||||||
|         ("ffprobe", "-show_streams", "-print_format", "json", file) |         ("ffprobe", "-show_streams", "-print_format", "json", f"file:{file}") | ||||||
|     ) |     ) | ||||||
|     return json.loads(output) |     return json.loads(output) | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user