feat: improved trace
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				ci/woodpecker/push/woodpecker Pipeline was successful
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	ci/woodpecker/push/woodpecker Pipeline was successful
				
			This commit is contained in:
		@@ -256,7 +256,7 @@ class Page:
 | 
				
			|||||||
                    stop_at_level=stop_at_level,
 | 
					                    stop_at_level=stop_at_level,
 | 
				
			||||||
                    post_process=False,
 | 
					                    post_process=False,
 | 
				
			||||||
                    type_string=type(music_object).__name__,
 | 
					                    type_string=type(music_object).__name__,
 | 
				
			||||||
                    title_string=music_object.title_string,
 | 
					                    entity_string=music_object.option_string,
 | 
				
			||||||
                )
 | 
					                )
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                if new_music_object is None:
 | 
					                if new_music_object is None:
 | 
				
			||||||
@@ -278,7 +278,7 @@ class Page:
 | 
				
			|||||||
        enforce_type: Type[DatabaseObject] = None, 
 | 
					        enforce_type: Type[DatabaseObject] = None, 
 | 
				
			||||||
        post_process: bool = True,
 | 
					        post_process: bool = True,
 | 
				
			||||||
        type_string: str = "",
 | 
					        type_string: str = "",
 | 
				
			||||||
        title_string: str = "",
 | 
					        entity_string: str = "",
 | 
				
			||||||
    ) -> Optional[DatabaseObject]:
 | 
					    ) -> Optional[DatabaseObject]:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        obj_type = self.get_source_type(source)
 | 
					        obj_type = self.get_source_type(source)
 | 
				
			||||||
@@ -306,7 +306,7 @@ class Page:
 | 
				
			|||||||
            return None
 | 
					            return None
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if stop_at_level > 0:
 | 
					        if stop_at_level > 0:
 | 
				
			||||||
            trace(f"fetching {type_string} [{title_string}] [stop_at_level={stop_at_level}]")
 | 
					            trace(f"fetching {type_string} [{entity_string}] [stop_at_level={stop_at_level}]")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            collection: Collection
 | 
					            collection: Collection
 | 
				
			||||||
            for collection_str in music_object.DOWNWARDS_COLLECTION_STRING_ATTRIBUTES:
 | 
					            for collection_str in music_object.DOWNWARDS_COLLECTION_STRING_ATTRIBUTES:
 | 
				
			||||||
@@ -364,7 +364,7 @@ class Page:
 | 
				
			|||||||
        skip_details: bool = False, 
 | 
					        skip_details: bool = False, 
 | 
				
			||||||
        process_metadata_anyway: bool = True
 | 
					        process_metadata_anyway: bool = True
 | 
				
			||||||
    ) -> DownloadResult:
 | 
					    ) -> DownloadResult:
 | 
				
			||||||
        trace(f"downloading {type(music_object).__name__} [{music_object.title_string}]")
 | 
					        trace(f"downloading {type(music_object).__name__} [{music_object.option_string}]")
 | 
				
			||||||
        skip_next_details = skip_details
 | 
					        skip_next_details = skip_details
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        # Skips all releases, that are defined in shared.ALBUM_TYPE_BLACKLIST, if download_all is False
 | 
					        # Skips all releases, that are defined in shared.ALBUM_TYPE_BLACKLIST, if download_all is False
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user