diff --git a/CHANGELOG.md b/CHANGELOG.md index f067e3e..b83f52e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 0.6.9 +- Fix low resolution cover art +- Fix crash when missing ffmpeg + ## 0.6.8 - Improve check for direct download availability of podcasts diff --git a/README.md b/README.md index a6c0de7..1e78065 100644 --- a/README.md +++ b/README.md @@ -26,15 +26,13 @@ Dependencies: - Python 3.9 or greater -- FFmpeg* +- FFmpeg Installation: python -m pip install git+https://zotify.xyz/zotify/zotify.git ``` -\*Zotify will work without FFmpeg but transcoding will be unavailable. - ### Command line usage ``` diff --git a/setup.cfg b/setup.cfg index e758cd6..3393bd5 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = zotify -version = 0.6.8 +version = 0.6.9 author = Zotify Contributors description = A highly customizable music and podcast downloader long_description = file: README.md diff --git a/zotify/track.py b/zotify/track.py index 2bee539..f82ceee 100644 --- a/zotify/track.py +++ b/zotify/track.py @@ -255,8 +255,11 @@ def download_track(mode: str, track_id: str, extra_keys=None, disable_progressba except ValueError: Printer.print(PrintChannel.SKIPS, f"### Skipping lyrics for {song_name}: lyrics not available ###") convert_audio_format(filename_temp) - set_audio_tags(filename_temp, artists, genres, name, album_name, release_year, disc_number, track_number) - set_music_thumbnail(filename_temp, image_url) + try: + set_audio_tags(filename_temp, artists, genres, name, album_name, release_year, disc_number, track_number) + set_music_thumbnail(filename_temp, image_url) + except Exception: + Printer.print(PrintChannel.ERRORS, "Unable to write metadata, ensure ffmpeg is installed and added to your PATH.") if filename_temp != filename: Path(filename_temp).rename(filename)