feat: added metadata to logging
This commit is contained in:
		
							
								
								
									
										2
									
								
								build
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								build
									
									
									
									
									
								
							@@ -35,7 +35,7 @@ python3 -m pip install -r requirements-dev.txt
 | 
				
			|||||||
python3 -m build
 | 
					python3 -m build
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# install the newest version
 | 
					# install the newest version
 | 
				
			||||||
python3 -m pip install .
 | 
					# python3 -m pip install .
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if [ "$test" = true ];
 | 
					if [ "$test" = true ];
 | 
				
			||||||
then
 | 
					then
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -9,7 +9,7 @@ from rich.console import Console
 | 
				
			|||||||
from .utils.shared import DEBUG, DEBUG_LOGGING
 | 
					from .utils.shared import DEBUG, DEBUG_LOGGING
 | 
				
			||||||
from .utils.config import logging_settings, main_settings, read_config
 | 
					from .utils.config import logging_settings, main_settings, read_config
 | 
				
			||||||
 | 
					
 | 
				
			||||||
__version__ = "1.13.0"
 | 
					__version__ = "1.14.0"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
read_config()
 | 
					read_config()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -63,6 +63,8 @@ def write_metadata_to_target(metadata: Metadata, target: Target, song: Song):
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    id3_object = AudioMetadata(file_location=target.file_path)
 | 
					    id3_object = AudioMetadata(file_location=target.file_path)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    LOGGER.info(str(metadata))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if song.artwork.best_variant is not None:
 | 
					    if song.artwork.best_variant is not None:
 | 
				
			||||||
        r = artwork_connection.get(
 | 
					        r = artwork_connection.get(
 | 
				
			||||||
            url=song.artwork.best_variant["url"],
 | 
					            url=song.artwork.best_variant["url"],
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user