From 0d12f5c49438c4af9bf56cb79a95ec0657567086 Mon Sep 17 00:00:00 2001 From: Lars Noack Date: Thu, 11 Apr 2024 13:53:02 +0200 Subject: [PATCH] feat: added metadata to logging --- build | 2 +- music_kraken/__init__.py | 2 +- music_kraken/audio/metadata.py | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/build b/build index 3d2b57b..0b600cf 100755 --- a/build +++ b/build @@ -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 diff --git a/music_kraken/__init__.py b/music_kraken/__init__.py index 43b89dd..788c82f 100644 --- a/music_kraken/__init__.py +++ b/music_kraken/__init__.py @@ -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() diff --git a/music_kraken/audio/metadata.py b/music_kraken/audio/metadata.py index 2a5cc57..114879a 100644 --- a/music_kraken/audio/metadata.py +++ b/music_kraken/audio/metadata.py @@ -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"],