feat: added metadata to logging

This commit is contained in:
Hazel 2024-04-11 13:53:02 +02:00
parent 1120974841
commit 0d12f5c494
3 changed files with 4 additions and 2 deletions

2
build
View File

@ -35,7 +35,7 @@ python3 -m pip install -r requirements-dev.txt
python3 -m build
# install the newest version
python3 -m pip install .
# python3 -m pip install .
if [ "$test" = true ];
then

View File

@ -9,7 +9,7 @@ from rich.console import Console
from .utils.shared import DEBUG, DEBUG_LOGGING
from .utils.config import logging_settings, main_settings, read_config
__version__ = "1.13.0"
__version__ = "1.14.0"
read_config()

View File

@ -63,6 +63,8 @@ def write_metadata_to_target(metadata: Metadata, target: Target, song: Song):
id3_object = AudioMetadata(file_location=target.file_path)
LOGGER.info(str(metadata))
if song.artwork.best_variant is not None:
r = artwork_connection.get(
url=song.artwork.best_variant["url"],