nathom / streamrip

A scriptable music downloader for Qobuz, Tidal, SoundCloud, and Deezer
GNU General Public License v3.0
2.55k stars 219 forks source link

[BUG] embed_max_width option in config file not working? #538

Open Tom4tot opened 8 months ago

Tom4tot commented 8 months ago

Describe the bug

If I change the -1 value to something like 1500, the setting gets ignored and the full cover is downloaded. Am i using the option wrongly or is not working

Command Used

rip url

Debug Traceback

rip url

Config File

[artwork]
# Write the image to the audio file
embed = false
# The size of the artwork to embed. Options: thumbnail, small, large, original.
# "original" images can be up to 30MB, and may fail embedding. 
# Using "large" is recommended.
embed_size = "large"
# If this is set to a value > 0, max(width, height) of the embedded art will be set to this value in pixels
# Proportions of the image will remain the same
embed_max_width = -1
# Save the cover image at the highest quality as a seperate jpg file
save_artwork = true
# If this is set to a value > 0, max(width, height) of the saved art will be set to this value in pixels
# Proportions of the image will remain the same
saved_max_width = 1500

Operating System

Windows 11

streamrip version

2.0.2

Screenshots and recordings

No response

Additional context

No response