Skip to content

[BUG] error downloading track: '' — exception swallowed with no type info, logged with empty message despite successful download #938

@joeripzbongz

Description

@joeripzbongz

Describe the bug

When downloading an album, the following error is logged for every track:

ERROR Error downloading track: '' album.py:41

Despite this error, files download successfully with correct metadata. The exception message is empty, meaning the actual exception type is completely swallowed and invisible to the user.

Expected behavior
No error should be logged when a track downloads and tags successfully.
Actual behavior
Every track logs Error downloading track: '' with an empty exception message immediately after the tagging step, even though:

The file is present on disk
All metadata is correctly applied
The failed downloads database shows no entries

The sequence for every track is:

DEBUG    Tagging with [('TIT2', ...), ('TPE1', ...), ...]    tagger.py:254
ERROR    Error downloading track: ''                          album.py:41

Command Used

rip -v url "https://www.deezer.com/us/album/228114162"

Debug Traceback

DEBUG    Deezer info for downloadable: {'quality': 0, 'id': 1364539312,                   downloadable.py:123
                    'quality_to_size': [3240018, 0, 0], 'url':
                    'https://cdnt-stream.dzcdn.net/media/1/1/1/5/1/1364539312/1516153f79ce76d8f75d56
                    319196ae3d.mp3?hdnea=exp=1772112892~acl=/media/1/1/1/5/1/1364539312/1516153f79ce
                    76d8f75d56319196ae3d.mp3*~data=user_id=6780973383,iat=1772040892~hmac=ede4b68779
                    25bf93252849af43981bbc36369ac810c2ada7077ba4d0cace7db8'}
           DEBUG    Deezer file (id 1364539302) at                                                   downloadable.py:167
                    https://f-cdnt-stream.dzcdn.net/media/1/1/c/2/6/1364539302/c2696f4245e4e427f961f
                    3a64326682a.mp3?hdnea=exp=1772112889~acl=/media/1/1/c/2/6/1364539302/c2696f4245e
                    4e427f961f3a64326682a.mp3*~data=user_id=6780973383,iat=1772040889~hmac=5fca8a961
                    2097b29f62739094d051011c80e6112b41437f4b989b1d838a86276 is encrypted. Decrypting
                    with b'7d=g>i"bb,tboofo'
[12:34:52] DEBUG    Tagging with [('TIT2', TIT2(encoding=<Encoding.UTF8: 3>, text=['All Night Diner'])),   tagger.py:254
                    ('TPE1', TPE1(encoding=<Encoding.UTF8: 3>, text=['Modest Mouse'])), ('TALB',
                    TALB(encoding=<Encoding.UTF8: 3>, text=['Interstate 8'])), ('TPE2',
                    TPE2(encoding=<Encoding.UTF8: 3>, text=['Modest Mouse'])), ('TYER',
                    TYER(encoding=<Encoding.UTF8: 3>, text=['2021'])), ('TCON',
                    TCON(encoding=<Encoding.UTF8: 3>, text=['Alternative'])), ('USLT',
                    USLT(encoding=<Encoding.UTF8: 3>, lang='XXX', desc='', text='')), ('TRCK',
                    TRCK(encoding=<Encoding.UTF8: 3>, text=['2/11'])), ('TPOS',
                    TPOS(encoding=<Encoding.UTF8: 3>, text=['1/1'])), ('TSRC',
                    TSRC(encoding=<Encoding.UTF8: 3>, text=['USFP71449202']))]
           ERROR    Error downloading track: ''                                                              album.py:41
           DEBUG    Deezer file (id 1364539292) at                                                   downloadable.py:167
                    https://f-cdnt-stream.dzcdn.net/media/1/1/7/b/2/1364539292/7b264c3cae93eb683be13
                    bc1fc6924fc.mp3?hdnea=exp=1772112889~acl=/media/1/1/7/b/2/1364539292/7b264c3cae9
                    3eb683be13bc1fc6924fc.mp3*~data=user_id=6780973383,iat=1772040889~hmac=c257a897a
                    dc9c415e6d536c1846c391ed0c2df8137b21afb90056ba5af117db0 is encrypted. Decrypting
                    with b'0hf<5>p1c.$5;d3;'
[12:34:53] DEBUG    Tagging with [('TIT2', TIT2(encoding=<Encoding.UTF8: 3>, text=['Interstate 8'])),      tagger.py:254
                    ('TPE1', TPE1(encoding=<Encoding.UTF8: 3>, text=['Modest Mouse'])), ('TALB',
                    TALB(encoding=<Encoding.UTF8: 3>, text=['Interstate 8'])), ('TPE2',
                    TPE2(encoding=<Encoding.UTF8: 3>, text=['Modest Mouse'])), ('TYER',
                    TYER(encoding=<Encoding.UTF8: 3>, text=['2021'])), ('TCON',
                    TCON(encoding=<Encoding.UTF8: 3>, text=['Alternative'])), ('USLT',
                    USLT(encoding=<Encoding.UTF8: 3>, lang='XXX', desc='', text='')), ('TRCK',
                    TRCK(encoding=<Encoding.UTF8: 3>, text=['1/11'])), ('TPOS',
                    TPOS(encoding=<Encoding.UTF8: 3>, text=['1/1'])), ('TSRC',
                    TSRC(encoding=<Encoding.UTF8: 3>, text=['USFP71449201']))]
           ERROR    Error downloading track: ''                                                              album.py:41
           DEBUG    Deezer file (id 1364539322) at                                                   downloadable.py:167
                    https://cdnt-stream.dzcdn.net/media/1/1/6/1/4/1364539322/6147e31ed8bb78f215597c1
                    9c9ad0480.mp3?hdnea=exp=1772112890~acl=/media/1/1/6/1/4/1364539322/6147e31ed8bb7
                    8f215597c19c9ad0480.mp3*~data=user_id=6780973383,iat=1772040890~hmac=711083cf493
                    571e96381f473729e4bda6ef6d21856bd2690309a9e982de6d3a8 is encrypted. Decrypting
                    with b'b3c;<?!d0) 51k4>'
[12:34:55] DEBUG    Tagging with [('TIT2', TIT2(encoding=<Encoding.UTF8: 3>, text=['Tundra/Desert'])),     tagger.py:254
                    ('TPE1', TPE1(encoding=<Encoding.UTF8: 3>, text=['Modest Mouse'])), ('TALB',
                    TALB(encoding=<Encoding.UTF8: 3>, text=['Interstate 8'])), ('TPE2',
                    TPE2(encoding=<Encoding.UTF8: 3>, text=['Modest Mouse'])), ('TYER',
                    TYER(encoding=<Encoding.UTF8: 3>, text=['2021'])), ('TCON',
                    TCON(encoding=<Encoding.UTF8: 3>, text=['Alternative'])), ('USLT',
                    USLT(encoding=<Encoding.UTF8: 3>, lang='XXX', desc='', text='')), ('TRCK',
                    TRCK(encoding=<Encoding.UTF8: 3>, text=['4/11'])), ('TPOS',
                    TPOS(encoding=<Encoding.UTF8: 3>, text=['1/1'])), ('TSRC',
                    TSRC(encoding=<Encoding.UTF8: 3>, text=['USFP71449204']))]
           ERROR    Error downloading track: ''                                                              album.py:41
           DEBUG    Deezer file (id 1364539392) at                                                   downloadable.py:167
                    https://f-cdnt-stream.dzcdn.net/media/1/1/d/5/7/1364539392/d570c626e4ce4e53db255
                    6f1f642b707.mp3?hdnea=exp=1772112890~acl=/media/1/1/d/5/7/1364539392/d570c626e4c
                    e4e53db2556f1f642b707.mp3*~data=user_id=6780973383,iat=1772040890~hmac=362ec6a75
                    9e6be0f5440448bac6d87b7368bb391ab5ed9133816392c23e330d0 is encrypted. Decrypting
                    with b"1b0:9?'a?/ ceho;"
[12:34:56] DEBUG    Tagging with [('TIT2', TIT2(encoding=<Encoding.UTF8: 3>, text=['Edit the Sad Parts     tagger.py:254
                    (Live)'])), ('TPE1', TPE1(encoding=<Encoding.UTF8: 3>, text=['Modest Mouse'])),
                    ('TALB', TALB(encoding=<Encoding.UTF8: 3>, text=['Interstate 8'])), ('TPE2',
                    TPE2(encoding=<Encoding.UTF8: 3>, text=['Modest Mouse'])), ('TYER',
                    TYER(encoding=<Encoding.UTF8: 3>, text=['2021'])), ('TCON',
                    TCON(encoding=<Encoding.UTF8: 3>, text=['Alternative'])), ('USLT',
                    USLT(encoding=<Encoding.UTF8: 3>, lang='XXX', desc='', text='')), ('TRCK',
                    TRCK(encoding=<Encoding.UTF8: 3>, text=['11/11'])), ('TPOS',
                    TPOS(encoding=<Encoding.UTF8: 3>, text=['1/1'])), ('TSRC',
                    TSRC(encoding=<Encoding.UTF8: 3>, text=['USFP71449211']))]
[12:34:57] ERROR    Error downloading track: ''                                                              album.py:41
           DEBUG    Deezer file (id 1364539362) at                                                   downloadable.py:167
                    https://f-cdnt-stream.dzcdn.net/media/1/1/e/f/4/1364539362/ef4ce422c8108e62c8a0b
                    4cf7b02aef6.mp3?hdnea=exp=1772112890~acl=/media/1/1/e/f/4/1364539362/ef4ce422c81
                    08e62c8a0b4cf7b02aef6.mp3*~data=user_id=6780973383,iat=1772040890~hmac=8b403aadd
                    d1f41670296249bbb56b41119b3cadb33f9da49a3236b0eb25e8e8f is encrypted. Decrypting
                    with b'5c7>11#5f~rg><7g'
           DEBUG    Tagging with [('TIT2', TIT2(encoding=<Encoding.UTF8: 3>, text=['Novocaine Stain        tagger.py:254
                    (Live)'])), ('TPE1', TPE1(encoding=<Encoding.UTF8: 3>, text=['Modest Mouse'])),
                    ('TALB', TALB(encoding=<Encoding.UTF8: 3>, text=['Interstate 8'])), ('TPE2',
                    TPE2(encoding=<Encoding.UTF8: 3>, text=['Modest Mouse'])), ('TYER',
                    TYER(encoding=<Encoding.UTF8: 3>, text=['2021'])), ('TCON',
                    TCON(encoding=<Encoding.UTF8: 3>, text=['Alternative'])), ('USLT',
                    USLT(encoding=<Encoding.UTF8: 3>, lang='XXX', desc='', text='')), ('TRCK',
                    TRCK(encoding=<Encoding.UTF8: 3>, text=['8/11'])), ('TPOS',
                    TPOS(encoding=<Encoding.UTF8: 3>, text=['1/1'])), ('TSRC',
                    TSRC(encoding=<Encoding.UTF8: 3>, text=['USFP71449208']))]
           ERROR    Error downloading track: ''                                                              album.py:41
           DEBUG    Deezer file (id 1364539352) at                                                   downloadable.py:167
                    https://cdnt-stream.dzcdn.net/media/1/1/a/5/c/1364539352/a5c565bca6a73535b53fb61
                    f25760f5d.mp3?hdnea=exp=1772112890~acl=/media/1/1/a/5/c/1364539352/a5c565bca6a73
                    535b53fb61f25760f5d.mp3*~data=user_id=6780973383,iat=1772040891~hmac=dce783a8928
                    a31796a552a9488435bc6241e93135cf7db6b2cde8dc1d7085f52 is encrypted. Decrypting
                    with b"2m7k6m'ca.&a0n7f"
[12:34:58] DEBUG    Tagging with [('TIT2', TIT2(encoding=<Encoding.UTF8: 3>, text=['Buttons to Push the    tagger.py:254
                    Buttons (Live)'])), ('TPE1', TPE1(encoding=<Encoding.UTF8: 3>, text=['Modest
                    Mouse'])), ('TALB', TALB(encoding=<Encoding.UTF8: 3>, text=['Interstate 8'])),
                    ('TPE2', TPE2(encoding=<Encoding.UTF8: 3>, text=['Modest Mouse'])), ('TYER',
                    TYER(encoding=<Encoding.UTF8: 3>, text=['2021'])), ('TCON',
                    TCON(encoding=<Encoding.UTF8: 3>, text=['Alternative'])), ('USLT',
                    USLT(encoding=<Encoding.UTF8: 3>, lang='XXX', desc='', text='')), ('TRCK',
                    TRCK(encoding=<Encoding.UTF8: 3>, text=['7/11'])), ('TPOS',
                    TPOS(encoding=<Encoding.UTF8: 3>, text=['1/1'])), ('TSRC',
                    TSRC(encoding=<Encoding.UTF8: 3>, text=['USFP71449207']))]
           ERROR    Error downloading track: ''                                                              album.py:41
           DEBUG    Deezer file (id 1364539382) at                                                   downloadable.py:167
                    https://f-cdnt-stream.dzcdn.net/media/1/1/1/b/0/1364539382/1b05e3a9b9d8721d9fbca
                    8fd89c6e785.mp3?hdnea=exp=1772112891~acl=/media/1/1/1/b/0/1364539382/1b05e3a9b9d
                    8721d9fbca8fd89c6e785.mp3*~data=user_id=6780973383,iat=1772040891~hmac=9f076a127
                    e58f2c4eda987efd3a827296c7312810328cd1f1bf248e4e2fdf3ea is encrypted. Decrypting
                    with b'87dl0aq3`-!3l>64'
[12:34:59] DEBUG    Tagging with [('TIT2', TIT2(encoding=<Encoding.UTF8: 3>, text=['Whenever You Breathe   tagger.py:254
                    Out, I Breathe In (Positive Negative) (Live)'])), ('TPE1',
                    TPE1(encoding=<Encoding.UTF8: 3>, text=['Modest Mouse'])), ('TALB',
                    TALB(encoding=<Encoding.UTF8: 3>, text=['Interstate 8'])), ('TPE2',
                    TPE2(encoding=<Encoding.UTF8: 3>, text=['Modest Mouse'])), ('TYER',
                    TYER(encoding=<Encoding.UTF8: 3>, text=['2021'])), ('TCON',
                    TCON(encoding=<Encoding.UTF8: 3>, text=['Alternative'])), ('USLT',
                    USLT(encoding=<Encoding.UTF8: 3>, lang='XXX', desc='', text='')), ('TRCK',
                    TRCK(encoding=<Encoding.UTF8: 3>, text=['10/11'])), ('TPOS',
                    TPOS(encoding=<Encoding.UTF8: 3>, text=['1/1'])), ('TSRC',
                    TSRC(encoding=<Encoding.UTF8: 3>, text=['USFP71449210']))]
           ERROR    Error downloading track: ''                                                              album.py:41
           DEBUG    Deezer file (id 1364539332) at                                                   downloadable.py:167
                    https://cdnt-stream.dzcdn.net/media/1/1/f/5/2/1364539332/f52ad30d84cd775bf0235f6
                    b6f9b1d7e.mp3?hdnea=exp=1772112891~acl=/media/1/1/f/5/2/1364539332/f52ad30d84cd7
                    75bf0235f6b6f9b1d7e.mp3*~data=user_id=6780973383,iat=1772040891~hmac=0c6b49054c1
                    4c70a0251dd262529387de4f88d4161fa0b06a7056b871fbb5d9e is encrypted. Decrypting
                    with b'03<;3ks32{|ho;32'
[12:35:01] DEBUG    Tagging with [('TIT2', TIT2(encoding=<Encoding.UTF8: 3>, text=['Edit the Sad           tagger.py:254
                    Parts'])), ('TPE1', TPE1(encoding=<Encoding.UTF8: 3>, text=['Modest Mouse'])),
                    ('TALB', TALB(encoding=<Encoding.UTF8: 3>, text=['Interstate 8'])), ('TPE2',
                    TPE2(encoding=<Encoding.UTF8: 3>, text=['Modest Mouse'])), ('TYER',
                    TYER(encoding=<Encoding.UTF8: 3>, text=['2021'])), ('TCON',
                    TCON(encoding=<Encoding.UTF8: 3>, text=['Alternative'])), ('USLT',
                    USLT(encoding=<Encoding.UTF8: 3>, lang='XXX', desc='', text='')), ('TRCK',
                    TRCK(encoding=<Encoding.UTF8: 3>, text=['5/11'])), ('TPOS',
                    TPOS(encoding=<Encoding.UTF8: 3>, text=['1/1'])), ('TSRC',
                    TSRC(encoding=<Encoding.UTF8: 3>, text=['USFP71449205']))]
           ERROR    Error downloading track: ''                                                              album.py:41
           DEBUG    Deezer file (id 1364539342) at                                                   downloadable.py:167
                    https://cdnt-stream.dzcdn.net/media/1/1/6/e/3/1364539342/6e331cd70100911b5bcae5f
                    af402e738.mp3?hdnea=exp=1772112891~acl=/media/1/1/6/e/3/1364539342/6e331cd701009
                    11b5bcae5faf402e738.mp3*~data=user_id=6780973383,iat=1772040891~hmac=219824f1763
                    16f6e69753cbb2e7e2982777657be342b29fc43bc911f27e06ef5 is encrypted. Decrypting
                    with b'7b`k2l"27| l5?ad'
[12:35:03] DEBUG    Tagging with [('TIT2', TIT2(encoding=<Encoding.UTF8: 3>, text=['Beach Side Property    tagger.py:254
                    (Live)'])), ('TPE1', TPE1(encoding=<Encoding.UTF8: 3>, text=['Modest Mouse'])),
                    ('TALB', TALB(encoding=<Encoding.UTF8: 3>, text=['Interstate 8'])), ('TPE2',
                    TPE2(encoding=<Encoding.UTF8: 3>, text=['Modest Mouse'])), ('TYER',
                    TYER(encoding=<Encoding.UTF8: 3>, text=['2021'])), ('TCON',
                    TCON(encoding=<Encoding.UTF8: 3>, text=['Alternative'])), ('USLT',
                    USLT(encoding=<Encoding.UTF8: 3>, lang='XXX', desc='', text='')), ('TRCK',
                    TRCK(encoding=<Encoding.UTF8: 3>, text=['6/11'])), ('TPOS',
                    TPOS(encoding=<Encoding.UTF8: 3>, text=['1/1'])), ('TSRC',
                    TSRC(encoding=<Encoding.UTF8: 3>, text=['USFP71449206']))]
           ERROR    Error downloading track: ''                                                              album.py:41
           DEBUG    Deezer file (id 1364539372) at                                                   downloadable.py:167
                    https://f-cdnt-stream.dzcdn.net/media/1/1/b/2/a/1364539372/b2ac293031cfb3605085a
                    554add2e8d6.mp3?hdnea=exp=1772112891~acl=/media/1/1/b/2/a/1364539372/b2ac293031c
                    fb3605085a554add2e8d6.mp3*~data=user_id=6780973383,iat=1772040892~hmac=70482b9ac
                    09f197f0a36a5cca32b9bfc194cae1e7d23989857ef42cb2debf7fa is encrypted. Decrypting
                    with b'75boek(62*&3kdm0'
           DEBUG    Tagging with [('TIT2', TIT2(encoding=<Encoding.UTF8: 3>, text=['Broke (Live)'])),      tagger.py:254
                    ('TPE1', TPE1(encoding=<Encoding.UTF8: 3>, text=['Modest Mouse'])), ('TALB',
                    TALB(encoding=<Encoding.UTF8: 3>, text=['Interstate 8'])), ('TPE2',
                    TPE2(encoding=<Encoding.UTF8: 3>, text=['Modest Mouse'])), ('TYER',
                    TYER(encoding=<Encoding.UTF8: 3>, text=['2021'])), ('TCON',
                    TCON(encoding=<Encoding.UTF8: 3>, text=['Alternative'])), ('USLT',
                    USLT(encoding=<Encoding.UTF8: 3>, lang='XXX', desc='', text='')), ('TRCK',
                    TRCK(encoding=<Encoding.UTF8: 3>, text=['9/11'])), ('TPOS',
                    TPOS(encoding=<Encoding.UTF8: 3>, text=['1/1'])), ('TSRC',
                    TSRC(encoding=<Encoding.UTF8: 3>, text=['USFP71449209']))]
           ERROR    Error downloading track: ''                                                              album.py:41
[12:35:04] DEBUG    Deezer file (id 1364539312) at                                                   downloadable.py:167
                    https://cdnt-stream.dzcdn.net/media/1/1/1/5/1/1364539312/1516153f79ce76d8f75d563
                    19196ae3d.mp3?hdnea=exp=1772112892~acl=/media/1/1/1/5/1/1364539312/1516153f79ce7
                    6d8f75d56319196ae3d.mp3*~data=user_id=6780973383,iat=1772040892~hmac=ede4b687792
                    5bf93252849af43981bbc36369ac810c2ada7077ba4d0cace7db8 is encrypted. Decrypting
                    with b'>`3l;mpcc%/1:=g6'
           DEBUG    Tagging with [('TIT2', TIT2(encoding=<Encoding.UTF8: 3>, text=['Sleepwalking (Couples  tagger.py:254
                    Only Dance Prom Night)'])), ('TPE1', TPE1(encoding=<Encoding.UTF8: 3>, text=['Modest
                    Mouse'])), ('TALB', TALB(encoding=<Encoding.UTF8: 3>, text=['Interstate 8'])),
                    ('TPE2', TPE2(encoding=<Encoding.UTF8: 3>, text=['Modest Mouse'])), ('TYER',
                    TYER(encoding=<Encoding.UTF8: 3>, text=['2021'])), ('TCON',
                    TCON(encoding=<Encoding.UTF8: 3>, text=['Alternative'])), ('USLT',
                    USLT(encoding=<Encoding.UTF8: 3>, lang='XXX', desc='', text='')), ('TRCK',
                    TRCK(encoding=<Encoding.UTF8: 3>, text=['3/11'])), ('TPOS',
                    TPOS(encoding=<Encoding.UTF8: 3>, text=['1/1'])), ('TSRC',
                    TSRC(encoding=<Encoding.UTF8: 3>, text=['USFP71449203']))]
           ERROR    Error downloading track: ''                                                              album.py:41
─────────────────────────────────────────────── Downloading Interstate 8 ───────────────────────────────────────────────
           DEBUG    Removing dirs {'F:\\Music\\Modest Mouse - Interstate 8 (2021) [FLAC]                   artwork.py:19
                    [16B-44100kHz]\\__artwork'}

Config File

[downloads]
# Folder where tracks are downloaded to
folder = "F:\\Music"
# Put Qobuz albums in a 'Qobuz' folder, Tidal albums in 'Tidal' etc.
source_subdirectories = false
# Put tracks in an album with 2 or more discs into a subfolder named `Disc N` 
disc_subdirectories = false
# Download (and convert) tracks all at once, instead of sequentially. 
# If you are converting the tracks, or have fast internet, this will 
# substantially improve processing speed.
concurrency = false
# The maximum number of tracks to download at once
# If you have very fast internet, you will benefit from a higher value,
# A value that is too high for your bandwidth may cause slowdowns
# Set to -1 for no limit
max_connections = 6
# Max number of API requests per source to handle per minute
# Set to -1 for no limit
requests_per_minute = 60
# Verify SSL certificates for API connections
# Set to false if you encounter SSL certificate verification errors (not recommended)
verify_ssl = true

[qobuz]
# 1: 320kbps MP3, 2: 16/44.1, 3: 24/<=96, 4: 24/>=96
quality = 1
# This will download booklet pdfs that are included with some albums
download_booklets = false

# Authenticate to Qobuz using auth token? Value can be true/false only
use_auth_token = false
# Enter your userid if the above use_auth_token is set to true, else enter your email
email_or_userid = ""
# Enter your auth token if the above use_auth_token is set to true, else enter the md5 hash of your plaintext password
password_or_token = ""
# Do not change
app_id = ""
# Do not change
secrets = []

[tidal]
# 0: 256kbps AAC, 1: 320kbps AAC, 2: 16/44.1 "HiFi" FLAC, 3: 24/44.1 "MQA" FLAC
quality = 0
# This will download videos included in Video Albums.
download_videos = false

# Do not change any of the fields below
user_id = ""
country_code = ""
access_token = ""
refresh_token = ""
# Tokens last 1 week after refresh. This is the Unix timestamp of the expiration
# time. If you haven't used streamrip in more than a week, you may have to log
# in again using `rip config --tidal`
token_expiry = ""

[deezer]
# 0, 1, or 2
# This only applies to paid Deezer subscriptions. Those using deezloader
# are automatically limited to quality = 1
quality = 0
# An authentication cookie that allows streamrip to use your Deezer account
# See https://github.com/nathom/streamrip/wiki/Finding-Your-Deezer-ARL-Cookie
# for instructions on how to find this
arl = "REDACTED"
# This allows for free 320kbps MP3 downloads from Deezer
# If an arl is provided, deezloader is never used
use_deezloader = true
# This warns you when the paid deezer account is not logged in and rip falls
# back to deezloader, which is unreliable
deezloader_warnings = true

[soundcloud]
# Only 0 is available for now
quality = 0
# This changes periodically, so it needs to be updated
client_id = ""
app_version = ""

[youtube]
# Only 0 is available for now
quality = 0
# Download the video along with the audio
download_videos = false
# The path to download the videos to
video_downloads_folder = "C:\\Users\\joeri\\StreamripDownloads\\YouTubeVideos"

[database]
# Create a database that contains all the track IDs downloaded so far
# Any time a track logged in the database is requested, it is skipped
# This can be disabled temporarily with the --no-db flag
downloads_enabled = true
# Path to the downloads database 
downloads_path = "C:\\Users\\joeri\\AppData\\Roaming\\streamrip\\downloads.db"
# If a download fails, the item ID is stored here. Then, `rip repair` can be
# called to retry the downloads
failed_downloads_enabled = true
failed_downloads_path = "C:\\Users\\joeri\\AppData\\Roaming\\streamrip\\failed_downloads.db"

# Convert tracks to a codec after downloading them.
[conversion]
enabled = true
# FLAC, ALAC, OPUS, MP3, VORBIS, or AAC
codec = ""
# In Hz. Tracks are downsampled if their sampling rate is greater than this. 
# Value of 48000 is recommended to maximize quality and minimize space
sampling_rate = 48000
# Only 16 and 24 are available. It is only applied when the bit depth is higher
# than this value.
bit_depth = 16
# Only applicable for lossy codecs
lossy_bitrate = 320

# Filter a Qobuz artist's discography. Set to 'true' to turn on a filter.
# This will also be applied to other sources, but is not guaranteed to work correctly
[qobuz_filters]
# Remove Collectors Editions, live recordings, etc.
extras = false
# Picks the highest quality out of albums with identical titles.
repeats = false
# Remove EPs and Singles
non_albums = false
# Remove albums whose artist is not the one requested
features = false
# Skip non studio albums
non_studio_albums = false
# Only download remastered albums
non_remaster = false

[artwork]
# Write the image to the audio file
embed = true
# 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 = "small"
# 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 = false
# 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 = -1


[metadata]
# Sets the value of the 'ALBUM' field in the metadata to the playlist's name. 
# This is useful if your music library software organizes tracks based on album name.
set_playlist_to_album = true
# If part of a playlist, sets the `tracknumber` field in the metadata to the track's 
# position in the playlist instead of its position in its album
renumber_playlist_tracks = true
# The following metadata tags won't be applied
# See https://github.com/nathom/streamrip/wiki/Metadata-Tag-Names for more info
exclude = []

# Changes the folder and file names generated by streamrip.
[filepaths]
# Create folders for single tracks within the downloads directory using the folder_format
# template
add_singles_to_folder = false
# Available keys: "albumartist", "title", "year", "bit_depth", "sampling_rate",
# "id", and "albumcomposer"
folder_format = "{albumartist} - {title} ({year}) [{container}] [{bit_depth}B-{sampling_rate}kHz]"
# Available keys: "tracknumber", "artist", "albumartist", "composer", "title",
# and "albumcomposer", "explicit"
track_format = "{tracknumber:02}. {artist} - {title}{explicit}"
# Only allow printable ASCII characters in filenames.
restrict_characters = false
# Truncate the filename if it is greater than this number of characters
# Setting this to false may cause downloads to fail on some systems
truncate_to = 120

# Last.fm playlists are downloaded by searching for the titles of the tracks
[lastfm]
# The source on which to search for the tracks.
source = "qobuz"
# If no results were found with the primary source, the item is searched for 
# on this one.
fallback_source = ""

[cli]
# Print "Downloading {Album name}" etc. to screen
text_output = true
# Show resolve, download progress bars
progress_bars = true
# The maximum number of search results to show in the interactive menu
max_search_results = 100

[misc]
# Metadata to identify this config file. Do not change.
version = "2.0.6"
# Print a message if a new version of streamrip is available 
check_for_updates = true

Operating System

Windows 11

streamrip version

2.1.0

Screenshots and recordings

No response

Additional context

likely cause--

In media/album.py:41:

pythonexcept Exception as e:
    logger.error(f"Error downloading track: {e}")

When the exception has no message, {e} renders as an empty string, hiding the exception type entirely.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions