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] rip v2.0.2 deezer search and url not working #536

Closed Delivator closed 7 months ago

Delivator commented 8 months ago

Describe the bug

using rip search deezer doesn't work at all and using rip url <deezer-url> spits out this error

[14:55:46] WARNING  Connection pool is full, discarding connection: api.deezer.com. Connection pool size: 10                                                                                                    connectionpool.py:330
           WARNING  Connection pool is full, discarding connection: api.deezer.com. Connection pool size: 10                                                                                                    connectionpool.py:330
           WARNING  Connection pool is full, discarding connection: api.deezer.com. Connection pool size: 10                                                                                                    connectionpool.py:330
           WARNING  Connection pool is full, discarding connection: api.deezer.com. Connection pool size: 10                                                                                                    connectionpool.py:330
           WARNING  Connection pool is full, discarding connection: api.deezer.com. Connection pool size: 10                                                                                                    connectionpool.py:330
           WARNING  Connection pool is full, discarding connection: api.deezer.com. Connection pool size: 10                                                                                                    connectionpool.py:330
           WARNING  Connection pool is full, discarding connection: api.deezer.com. Connection pool size: 10                                                                                                    connectionpool.py:330
           WARNING  Connection pool is full, discarding connection: api.deezer.com. Connection pool size: 10                                                                                                    connectionpool.py:330
           WARNING  Connection pool is full, discarding connection: api.deezer.com. Connection pool size: 10                                                                                                    connectionpool.py:330
           WARNING  Connection pool is full, discarding connection: api.deezer.com. Connection pool size: 10                                                                                                    connectionpool.py:330
[14:55:47] WARNING  Connection pool is full, discarding connection: api.deezer.com. Connection pool size: 10                                                                                                    connectionpool.py:330
           WARNING  Connection pool is full, discarding connection: api.deezer.com. Connection pool size: 10                                                                                                    connectionpool.py:330
           WARNING  Connection pool is full, discarding connection: api.deezer.com. Connection pool size: 10                                                                                                    connectionpool.py:330
           WARNING  Connection pool is full, discarding connection: api.deezer.com. Connection pool size: 10                                                                                                    connectionpool.py:330
           WARNING  Connection pool is full, discarding connection: api.deezer.com. Connection pool size: 10                                                                                                    connectionpool.py:330
           WARNING  Connection pool is full, discarding connection: api.deezer.com. Connection pool size: 10                                                                                                    connectionpool.py:330
           WARNING  Connection pool is full, discarding connection: api.deezer.com. Connection pool size: 10                                                                                                    connectionpool.py:330
           WARNING  Connection pool is full, discarding connection: api.deezer.com. Connection pool size: 10                                                                                                    connectionpool.py:330
           WARNING  Connection pool is full, discarding connection: api.deezer.com. Connection pool size: 10                                                                                                    connectionpool.py:330
─────────────────────────────────────────────────────────────────────────────────────────────────────────── Downloading  ────────────────────────────────────────────────────────────────────────────────────────────────────────────
Track 2 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0% • ? • -:--:--
Track 7 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0% • ? • -:--:--
Track 2 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0% • ? • -:--:--
Track 5 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0% • ? • -:--:--
Track 4 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0% • ? • -:--:--
Track 9 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0% • ? • -:--:--
╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
│ in _run_module_as_main:198                                                                       │
│ in _run_code:88                                                                                  │
│                                                                                                  │
│                                     ... 21 frames hidden ...                                     │
│                                                                                                  │
│ C:\Users\david\AppData\Local\Programs\Python\Python312\Lib\site-packages\aiofiles\tempfile\__ini │
│ t__.py:90 in _temporary_file                                                                     │
│                                                                                                  │
│    87 │   │   # _TemporaryFileWrapper was used (named files)                                     │
│    88 │   │   result = wrap(f.file, f, loop=loop, executor=executor)                             │
│    89 │   │   # add delete property                                                              │
│ ❱  90 │   │   result.delete = f.delete                                                           │
│    91 │   │   return result                                                                      │
│    92 │   else:                                                                                  │
│    93 │   │   # IO object was returned directly without wrapper                                  │
│                                                                                                  │
│ C:\Users\david\AppData\Local\Programs\Python\Python312\Lib\tempfile.py:494 in __getattr__        │
│                                                                                                  │
│   491 │   │   # and cached for non-numeric results                                               │
│   492 │   │   # (i.e. methods are cached, closed and friends are not)                            │
│   493 │   │   file = self.__dict__['file']                                                       │
│ ❱ 494 │   │   a = getattr(file, name)                                                            │
│   495 │   │   if hasattr(a, '__call__'):                                                         │
│   496 │   │   │   func = a                                                                       │
│   497 │   │   │   @_functools.wraps(func)                                                        │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
AttributeError: '_io.BufferedRandom' object has no attribute 'delete'

Command Used

rip search deezer album "Fieber OG Keemo"
rip url https://www.deezer.com/de/album/522936462

Debug Traceback

rip search deezer album "Fieber OG Keemo" -vvv
Usage: rip search [OPTIONS] SOURCE MEDIA_TYPE QUERY
Try 'rip search --help' for help.

Error: No such option: -v

Config File

[downloads]
# Folder where tracks are downloaded to
# folder = "C:\\Users\\david\\StreamripDownloads"
folder = "D:/Music/rip"
# Put Qobuz albums in a 'Qobuz' folder, Tidal albums in 'Tidal' etc.
source_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 = true
# 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

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

# 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 = 3
# This will download videos included in Video Albums.
download_videos = true

# 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 = 2
# 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 = ""
# 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\\david\\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\\david\\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\\david\\AppData\\Roaming\\streamrip\\failed_downloads.db"

# Convert tracks to a codec after downloading them.
[conversion]
enabled = false
# FLAC, ALAC, OPUS, MP3, VORBIS, or AAC
codec = "ALAC"
# 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 = 24
# 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 = "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 = -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}. {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 = "deezer"
# 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"

Operating System

Windows

streamrip version

2.0.2

Screenshots and recordings

image

Additional context

No response

nathom commented 7 months ago

I'm not able to reproduce this. Can you attach the debug logs?

Delivator commented 7 months ago

I'm not able to reproduce this. Can you attach the debug logs?

How do I enable verbose logging in v2.0.2? Seems like it got removed

rip lastfm --help
Usage: rip lastfm [OPTIONS] URL

  Download tracks from a last.fm playlist.

Options:
  -s, --source TEXT            The source to search tracks on.
  -fs, --fallback-source TEXT  The source to search tracks on if no results
                               were found with the main source.
  --help                       Show this message and exit.
herovaxy commented 7 months ago

I also have this issue. The debug logs is so long so I use pastebin to display the information.

I use the command like this: rip -v url {album-links}

Here's my debug logs: https://pastebin.com/BZsXcPv3

Delivator commented 7 months ago

Ohh I didn't realize that you have to put the -v first.

Here is my debug log using the last fm playlist.

PS C:\Users\david> rip -v lastfm https://www.last.fm/de/user/TheDelivator/playlists/12870515
[15:11:15] DEBUG    Showing all debug logs                                                                                                                                                                                 cli.py:100
[15:11:16] DEBUG    Fetching lastfm playlist                                                                                                                                                                          playlist.py:314
🌓  Searching for last.fm tracks (0 found, 0 failed, 100 total)[15:11:19] DEBUG    Found result for Flares The Script on deezer
                                                playlist.py:269
🌔  Searching for last.fm tracks (1 found, 0 failed, 100 total)           DEBUG    Found result for Seit du weg bist BRKN on deezer
                                                playlist.py:269
           DEBUG    Found result for Then It All Goes Away Dayglow on deezer                                                                                                                                          playlist.py:269
🌕  Searching for last.fm tracks (3 found, 0 failed, 100 total)           DEBUG    Found result for Sad in Mérida BRKN on deezer
                                                playlist.py:269
🌖  Searching for last.fm tracks (4 found, 0 failed, 100 total)           DEBUG    Found result for TRAP HOUSE TRAUMATA Sierra Kidd on deezer
                                                playlist.py:269
🌘  Searching for last.fm tracks (5 found, 0 failed, 100 total)           DEBUG    Found result for FUCK BABY I'M IN LOVE Lotte on deezer
                                                playlist.py:269
🌑  Searching for last.fm tracks (6 found, 0 failed, 100 total)           DEBUG    Found result for Competition Kissing Levi Roth on deezer
                                                playlist.py:269
           DEBUG    Found result for Cravin' Stileto on deezer                                                                                                                                                        playlist.py:269
🌒  Searching for last.fm tracks (8 found, 0 failed, 100 total)           DEBUG    Found result for Danke Nein Lostboi Lino on deezer
                                                playlist.py:269
🌓  Searching for last.fm tracks (9 found, 0 failed, 100 total)           DEBUG    Found result for Shut Me Up Nicky Youre on deezer
                                                playlist.py:269
🌔  Searching for last.fm tracks (10 found, 0 failed, 100 total)           DEBUG    Found result for bad idea! girl in red on deezer
                                                 playlist.py:269
🌕  Searching for last.fm tracks (11 found, 0 failed, 100 total)           DEBUG    Found result for Formula Labrinth on deezer
                                                 playlist.py:269
🌗  Searching for last.fm tracks (12 found, 0 failed, 100 total)[15:11:20] DEBUG    Found result for Formular Lostboi Lino on deezer
                                                 playlist.py:269
🌘  Searching for last.fm tracks (13 found, 0 failed, 100 total)           DEBUG    Found result for What I Know is All Quicksand - rookery live tapes Giant Rooks on deezer
                                                 playlist.py:269
🌑  Searching for last.fm tracks (14 found, 0 failed, 100 total)           DEBUG    Found result for Oysters In My Pocket Royel Otis on deezer
                                                 playlist.py:269
           DEBUG    Found result for Dass du mich liebst Klan on deezer                                                                                                                                               playlist.py:269
🌒  Searching for last.fm tracks (16 found, 0 failed, 100 total)           DEBUG    Found result for Manchmal (Outro) Lostboi Lino on deezer
                                                 playlist.py:269
🌓  Searching for last.fm tracks (17 found, 0 failed, 100 total)           DEBUG    Found result for 2 / 14 The Band CAMINO on deezer
                                                 playlist.py:269
🌔  Searching for last.fm tracks (18 found, 0 failed, 100 total)           DEBUG    Found result for Hateful Post Malone on deezer
                                                 playlist.py:269
🌕  Searching for last.fm tracks (19 found, 0 failed, 100 total)           DEBUG    Found result for Nice Docs, Baby! Blue Foster on deezer
                                                 playlist.py:269
🌗  Searching for last.fm tracks (20 found, 0 failed, 100 total)           DEBUG    Found result for I'm in Love with You The 1975 on deezer
                                                 playlist.py:269
           DEBUG    Found result for Kippe Ennio on deezer                                                                                                                                                            playlist.py:269
🌘  Searching for last.fm tracks (21 found, 0 failed, 100 total)           DEBUG    Found result for Ypsilon Yassin on deezer
                                                 playlist.py:269
🌑  Searching for last.fm tracks (23 found, 0 failed, 100 total)           DEBUG    Found result for Höhenangst Schmyt on deezer
                                                 playlist.py:269
🌒  Searching for last.fm tracks (24 found, 0 failed, 100 total)           DEBUG    Found result for i wanna be your girlfriend girl in red on deezer
                                                 playlist.py:269
🌓  Searching for last.fm tracks (25 found, 0 failed, 100 total)[15:11:21] DEBUG    Found result for I Can Talk Two Door Cinema Club on deezer
                                                 playlist.py:269
🌔  Searching for last.fm tracks (26 found, 0 failed, 100 total)           DEBUG    Found result for Cocoon Catfish and the Bottlemen on deezer
                                                 playlist.py:269
🌖  Searching for last.fm tracks (27 found, 0 failed, 100 total)           DEBUG    Found result for I Think I Like You The Band CAMINO on deezer
                                                 playlist.py:269
🌗  Searching for last.fm tracks (28 found, 0 failed, 100 total)           DEBUG    Found result for A Thousand Bad Times Post Malone on deezer
                                                 playlist.py:269
🌘  Searching for last.fm tracks (29 found, 0 failed, 100 total)           DEBUG    Found result for girls girl in red on deezer
                                                 playlist.py:269
🌑  Searching for last.fm tracks (30 found, 0 failed, 100 total)           DEBUG    Found result for Ich wünschte, du wärst verloren - A COLORS SHOW Schmyt on deezer
                                                 playlist.py:269
🌒  Searching for last.fm tracks (31 found, 0 failed, 100 total)           DEBUG    Found result for violet Lexie Carroll on deezer
                                                 playlist.py:269
           DEBUG    Found result for Gut für dich EMMA6 on deezer                                                                                                                                                     playlist.py:269
🌓  Searching for last.fm tracks (33 found, 0 failed, 100 total)           DEBUG    Found result for Get By Still Woozy on deezer
                                                 playlist.py:269
🌕  Searching for last.fm tracks (34 found, 0 failed, 100 total)           DEBUG    Found result for Think of Me Madi Diaz on deezer
                                                 playlist.py:269
🌖  Searching for last.fm tracks (35 found, 0 failed, 100 total)           DEBUG    Found result for Ein Song reicht - BLVTH Version Kraftklub on deezer
                                                 playlist.py:269
🌗  Searching for last.fm tracks (36 found, 0 failed, 100 total)[15:11:22] DEBUG    Found result for EINZIGE CHANCE Sierra Kidd on deezer
                                                 playlist.py:269
🌘  Searching for last.fm tracks (37 found, 0 failed, 100 total)           DEBUG    Found result for Du hast mich nie geliebt </3… Replay Okay on deezer
                                                 playlist.py:269
🌑  Searching for last.fm tracks (38 found, 0 failed, 100 total)           DEBUG    Found result for Lavender Haze Taylor Swift on deezer
                                                 playlist.py:269
           DEBUG    Found result for I Burned LA Down Noah Cyrus on deezer                                                                                                                                            playlist.py:269
🌔  Searching for last.fm tracks (40 found, 0 failed, 100 total)           DEBUG    Found result for People Watching Conan Gray on deezer
                                                 playlist.py:269
           DEBUG    Found result for schon okay Jeremias on deezer                                                                                                                                                    playlist.py:269
🌕  Searching for last.fm tracks (42 found, 0 failed, 100 total)           DEBUG    Found result for BOP Will Joseph Cook on deezer
                                                 playlist.py:269
🌖  Searching for last.fm tracks (43 found, 0 failed, 100 total)           DEBUG    Found result for Ancoats Junction Morning Midnight on deezer
                                                 playlist.py:269
🌘  Searching for last.fm tracks (44 found, 0 failed, 100 total)           DEBUG    Found result for Chapstick Hastings on deezer
                                                 playlist.py:269
           DEBUG    Found result for GLÜCKWUNSCH Sierra Kidd on deezer                                                                                                                                                playlist.py:269
🌒  Searching for last.fm tracks (46 found, 0 failed, 100 total)           DEBUG    Found result for October Passed Me By girl in red on deezer
                                                 playlist.py:269
🌓  Searching for last.fm tracks (47 found, 0 failed, 100 total)           DEBUG    Found result for Auf meinem Grab Yassin on deezer
                                                 playlist.py:269
🌔  Searching for last.fm tracks (48 found, 0 failed, 100 total)[15:11:23] DEBUG    Found result for A Toast and a Spirit Vacation Manor on deezer
                                                 playlist.py:269
🌕  Searching for last.fm tracks (49 found, 0 failed, 100 total)           DEBUG    Found result for Just Yet Bizzy on deezer
                                                 playlist.py:269
🌖  Searching for last.fm tracks (50 found, 0 failed, 100 total)[15:11:28] DEBUG    Found result for Something Real Post Malone on deezer
                                                 playlist.py:269
           DEBUG    Found result for Stadt Ennio on deezer                                                                                                                                                            playlist.py:269
🌑  Searching for last.fm tracks (52 found, 0 failed, 100 total)           DEBUG    Found result for Das muss eine Demokratie aushalten können Waving The Guns on deezer
                                                 playlist.py:269
           DEBUG    Found result for we fell in love in october girl in red on deezer                                                                                                                                 playlist.py:269
🌒  Searching for last.fm tracks (54 found, 0 failed, 100 total)           DEBUG    Found result for Poseidon Schmyt on deezer
                                                 playlist.py:269
🌓  Searching for last.fm tracks (55 found, 0 failed, 100 total)           DEBUG    Found result for DER LETZTE SONG (ALLES WIRD GUT) (feat. Fred Rabe) Kummer on deezer
                                                 playlist.py:269
🌔  Searching for last.fm tracks (56 found, 0 failed, 100 total)           DEBUG    Found result for Next To You John Vincent III on deezer
                                                 playlist.py:269
🌕  Searching for last.fm tracks (57 found, 0 failed, 100 total)           DEBUG    Found result for ceilings Lizzy McAlpine on deezer
                                                 playlist.py:269
🌖  Searching for last.fm tracks (58 found, 0 failed, 100 total)[15:11:29] DEBUG    Found result for VIEL ZU VIEL (NICHT GENUG) - Akustik Version Lotte on deezer
                                                 playlist.py:269
🌘  Searching for last.fm tracks (59 found, 0 failed, 100 total)           DEBUG    Found result for Hör mal mein Herz <3… Replay Okay on deezer
                                                 playlist.py:269
           DEBUG    Found result for Nur ein Wort Benne on deezer                                                                                                                                                     playlist.py:269
🌑  Searching for last.fm tracks (61 found, 0 failed, 100 total)           DEBUG    Found result for golden hour JVKE on deezer
                                                 playlist.py:269
🌒  Searching for last.fm tracks (62 found, 0 failed, 100 total)           DEBUG    Found result for Misery Michigander on deezer
                                                 playlist.py:269
🌓  Searching for last.fm tracks (63 found, 0 failed, 100 total)           DEBUG    Found result for sonne Tiavo on deezer
                                                 playlist.py:269
🌔  Searching for last.fm tracks (64 found, 0 failed, 100 total)           DEBUG    Found result for 2AM Landon Conrath on deezer
                                                 playlist.py:269
🌖  Searching for last.fm tracks (65 found, 0 failed, 100 total)           DEBUG    Found result for Magazine Blake Rose on deezer
                                                 playlist.py:269
🌖  Searching for last.fm tracks (66 found, 0 failed, 100 total)           DEBUG    Found result for Blister wavvyboi on deezer
                                                 playlist.py:269
🌑  Searching for last.fm tracks (67 found, 0 failed, 100 total)           DEBUG    Found result for Deep End Holly Humberstone on deezer
                                                 playlist.py:269
           DEBUG    Found result for Herbst edo saiya on deezer                                                                                                                                                       playlist.py:269
🌒  Searching for last.fm tracks (69 found, 0 failed, 100 total)           DEBUG    Found result for Fuchs Lea on deezer
                                                 playlist.py:269
🌓  Searching for last.fm tracks (70 found, 0 failed, 100 total)[15:11:30] DEBUG    Found result for Oasis The Kooks on deezer
                                                 playlist.py:269
🌔  Searching for last.fm tracks (71 found, 0 failed, 100 total)           DEBUG    Found result for ein kuss skrt cobain on deezer
                                                 playlist.py:269
           DEBUG    Found result for Zeit - Interlude BRKN on deezer                                                                                                                                                  playlist.py:269
🌖  Searching for last.fm tracks (73 found, 0 failed, 100 total)           DEBUG    Found result for Sonnenmond Lostboi Lino on deezer
                                                 playlist.py:269
🌗  Searching for last.fm tracks (74 found, 0 failed, 100 total)           DEBUG    Found result for Letzter Track Haftbefehl on deezer
                                                 playlist.py:269
🌘  Searching for last.fm tracks (75 found, 0 failed, 100 total)           DEBUG    Found result for WAS IST DAS PT.I 3Plusss on deezer
                                                 playlist.py:269
           DEBUG    Found result for alle von unten Sierra Kidd on deezer                                                                                                                                             playlist.py:269
🌒  Searching for last.fm tracks (77 found, 0 failed, 100 total)           DEBUG    Found result for I Do - Bonus Track Wild Rivers on deezer
                                                 playlist.py:269
🌓  Searching for last.fm tracks (78 found, 0 failed, 100 total)           DEBUG    Found result for Just Smoke Mumford & Sons on deezer
                                                 playlist.py:269
           DEBUG    Found result for Ich wünschte, du wärst verloren Schmyt on deezer                                                                                                                                 playlist.py:269
🌕  Searching for last.fm tracks (80 found, 0 failed, 100 total)           DEBUG    Found result for Zuhause Fynn Kliemann on deezer
                                                 playlist.py:269
🌖  Searching for last.fm tracks (81 found, 0 failed, 100 total)           DEBUG    Found result for London Is Lonely Holly Humberstone on deezer
                                                 playlist.py:269
🌗  Searching for last.fm tracks (82 found, 0 failed, 100 total)           DEBUG    Found result for Novacandy Post Malone on deezer
                                                 playlist.py:269
🌘  Searching for last.fm tracks (83 found, 0 failed, 100 total)[15:11:31] DEBUG    Found result for Am I Dreaming (Metro Boomin & A$AP Rocky, Roisee) Metro Boomin on deezer
                                                 playlist.py:269
🌒  Searching for last.fm tracks (84 found, 0 failed, 100 total)           DEBUG    Found result for then i met her EKKSTACY on deezer
                                                 playlist.py:269
🌓  Searching for last.fm tracks (85 found, 0 failed, 100 total)           DEBUG    Found result for Nieselregen Lea on deezer
                                                 playlist.py:269
🌕  Searching for last.fm tracks (86 found, 0 failed, 100 total)           DEBUG    Found result for Abendkleider und Nadelstreifen Schmyt on deezer
                                                 playlist.py:269
🌖  Searching for last.fm tracks (87 found, 0 failed, 100 total)           DEBUG    Found result for Photosynthese Dilla on deezer
                                                 playlist.py:269
🌗  Searching for last.fm tracks (88 found, 0 failed, 100 total)           DEBUG    Found result for What I Want The Band CAMINO on deezer
                                                 playlist.py:269
           DEBUG    Found result for Don't Wild Rivers on deezer                                                                                                                                                      playlist.py:269
🌘  Searching for last.fm tracks (90 found, 0 failed, 100 total)           DEBUG    Found result for About You The 1975 on deezer
                                                 playlist.py:269
🌑  Searching for last.fm tracks (91 found, 0 failed, 100 total)           DEBUG    Found result for Latley Jakey on deezer
                                                 playlist.py:269
🌒  Searching for last.fm tracks (92 found, 0 failed, 100 total)           DEBUG    Found result for Do You Wanna Talk Circa Waves on deezer
                                                 playlist.py:269
           DEBUG    Found result for Why Dominic Fike on deezer                                                                                                                                                       playlist.py:269
🌔  Searching for last.fm tracks (94 found, 0 failed, 100 total)[15:11:32] DEBUG    Found result for tiny things Tiny Habits on deezer
                                                 playlist.py:269
🌗  Searching for last.fm tracks (95 found, 0 failed, 100 total)           DEBUG    Found result for All Is Well Hans Williams on deezer
                                                 playlist.py:269
           DEBUG    Found result for PINCH ME young friend on deezer                                                                                                                                                  playlist.py:269
🌓  Searching for last.fm tracks (97 found, 0 failed, 100 total)           DEBUG    Found result for 3 Sekunden (feat. Paula Hartmann) Céline on deezer
                                                 playlist.py:269
           DEBUG    Found result for FLiP iT/SKiP iT TJ_beastboy on deezer                                                                                                                                            playlist.py:269
🌔  Searching for last.fm tracks (99 found, 0 failed, 100 total)           DEBUG    Found result for Cure For Me Aurora on deezer
                                                 playlist.py:269
           DEBUG    Removing dirs set()                                                                                                                                                                                 artwork.py:19
╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
│ in _run_module_as_main:198                                                                       │
│ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
│ │   alter_argv = False                                                                         │ │
│ │         code = <code object <module> at 0x000002B70C860030, file                             │ │
│ │                "C:\Users\david\AppData\Local\Programs\Python\Python312\Scripts\rip.exe\__ma… │ │
│ │                line 1>                                                                       │ │
│ │ main_globals = {                                                                             │ │
│ │                │   '__name__': '__main__',                                                   │ │
│ │                │   '__doc__': None,                                                          │ │
│ │                │   '__package__': '',                                                        │ │
│ │                │   '__loader__': <zipimporter object                                         │ │
│ │                "C:\Users\david\AppData\Local\Programs\Python\Python312\Scripts\rip.exe\">,   │ │
│ │                │   '__spec__': ModuleSpec(name='__main__', loader=<zipimporter object        │ │
│ │                "C:\Users\david\AppData\Local\Programs\Python\Python312\Scripts\rip.exe\">,   │ │
│ │                origin='C:\\Users\\david\\AppData\\Local\\Programs\\Python\\Python312\\Scrip… │ │
│ │                │   '__annotations__': {},                                                    │ │
│ │                │   '__builtins__': <module 'builtins' (built-in)>,                           │ │
│ │                │   '__file__':                                                               │ │
│ │                'C:\\Users\\david\\AppData\\Local\\Programs\\Python\\Python312\\Scripts\\rip… │ │
│ │                │   '__cached__':                                                             │ │
│ │                'C:\\Users\\david\\AppData\\Local\\Programs\\Python\\Python312\\Scripts\\rip… │ │
│ │                │   're': <module 're' from                                                   │ │
│ │                'C:\\Users\\david\\AppData\\Local\\Programs\\Python\\Python312\\Lib\\re\\__i… │ │
│ │                │   ... +2                                                                    │ │
│ │                }                                                                             │ │
│ │     mod_name = '__main__'                                                                    │ │
│ │     mod_spec = ModuleSpec(name='__main__', loader=<zipimporter object                        │ │
│ │                "C:\Users\david\AppData\Local\Programs\Python\Python312\Scripts\rip.exe\">,   │ │
│ │                origin='C:\\Users\\david\\AppData\\Local\\Programs\\Python\\Python312\\Scrip… │ │
│ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
│ in _run_code:88                                                                                  │
│ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
│ │       cached = 'C:\\Users\\david\\AppData\\Local\\Programs\\Python\\Python312\\Scripts\\rip… │ │
│ │         code = <code object <module> at 0x000002B70C860030, file                             │ │
│ │                "C:\Users\david\AppData\Local\Programs\Python\Python312\Scripts\rip.exe\__ma… │ │
│ │                line 1>                                                                       │ │
│ │        fname = 'C:\\Users\\david\\AppData\\Local\\Programs\\Python\\Python312\\Scripts\\rip… │ │
│ │ init_globals = None                                                                          │ │
│ │       loader = <zipimporter object                                                           │ │
│ │                "C:\Users\david\AppData\Local\Programs\Python\Python312\Scripts\rip.exe\">    │ │
│ │     mod_name = '__main__'                                                                    │ │
│ │     mod_spec = ModuleSpec(name='__main__', loader=<zipimporter object                        │ │
│ │                "C:\Users\david\AppData\Local\Programs\Python\Python312\Scripts\rip.exe\">,   │ │
│ │                origin='C:\\Users\\david\\AppData\\Local\\Programs\\Python\\Python312\\Scrip… │ │
│ │     pkg_name = ''                                                                            │ │
│ │  run_globals = {                                                                             │ │
│ │                │   '__name__': '__main__',                                                   │ │
│ │                │   '__doc__': None,                                                          │ │
│ │                │   '__package__': '',                                                        │ │
│ │                │   '__loader__': <zipimporter object                                         │ │
│ │                "C:\Users\david\AppData\Local\Programs\Python\Python312\Scripts\rip.exe\">,   │ │
│ │                │   '__spec__': ModuleSpec(name='__main__', loader=<zipimporter object        │ │
│ │                "C:\Users\david\AppData\Local\Programs\Python\Python312\Scripts\rip.exe\">,   │ │
│ │                origin='C:\\Users\\david\\AppData\\Local\\Programs\\Python\\Python312\\Scrip… │ │
│ │                │   '__annotations__': {},                                                    │ │
│ │                │   '__builtins__': <module 'builtins' (built-in)>,                           │ │
│ │                │   '__file__':                                                               │ │
│ │                'C:\\Users\\david\\AppData\\Local\\Programs\\Python\\Python312\\Scripts\\rip… │ │
│ │                │   '__cached__':                                                             │ │
│ │                'C:\\Users\\david\\AppData\\Local\\Programs\\Python\\Python312\\Scripts\\rip… │ │
│ │                │   're': <module 're' from                                                   │ │
│ │                'C:\\Users\\david\\AppData\\Local\\Programs\\Python\\Python312\\Lib\\re\\__i… │ │
│ │                │   ... +2                                                                    │ │
│ │                }                                                                             │ │
│ │  script_name = None                                                                          │ │
│ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
│                                                                                                  │
│ in <module>:7                                                                                    │
│                                                                                                  │
│ C:\Users\david\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py:1157 in   │
│ __call__                                                                                         │
│                                                                                                  │
│ C:\Users\david\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py:1078 in   │
│ main                                                                                             │
│                                                                                                  │
│ C:\Users\david\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py:1688 in   │
│ invoke                                                                                           │
│                                                                                                  │
│ C:\Users\david\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py:1434 in   │
│ invoke                                                                                           │
│                                                                                                  │
│ C:\Users\david\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\core.py:783 in    │
│ invoke                                                                                           │
│                                                                                                  │
│ C:\Users\david\AppData\Local\Programs\Python\Python312\Lib\site-packages\click\decorators.py:33  │
│ in new_func                                                                                      │
│                                                                                                  │
│ C:\Users\david\AppData\Local\Programs\Python\Python312\Lib\site-packages\streamrip\rip\cli.py:26 │
│ in wrapper                                                                                       │
│                                                                                                  │
│    23 def coro(f):                                                                               │
│    24 │   @wraps(f)                                                                              │
│    25 │   def wrapper(*args, **kwargs):                                                          │
│ ❱  26 │   │   return asyncio.run(f(*args, **kwargs))                                             │
│    27 │                                                                                          │
│    28 │   return wrapper                                                                         │
│    29                                                                                            │
│                                                                                                  │
│ ╭────────────────────────────────────── locals ──────────────────────────────────────╮           │
│ │   args = (<click.core.Context object at 0x000002B71061A7E0>,)                      │           │
│ │      f = <function lastfm at 0x000002B710967A60>                                   │           │
│ │ kwargs = {                                                                         │           │
│ │          │   'url': 'https://www.last.fm/de/user/TheDelivator/playlists/12870515', │           │
│ │          │   'source': None,                                                       │           │
│ │          │   'fallback_source': None                                               │           │
│ │          }                                                                         │           │
│ ╰────────────────────────────────────────────────────────────────────────────────────╯           │
│                                                                                                  │
│ C:\Users\david\AppData\Local\Programs\Python\Python312\Lib\asyncio\runners.py:194 in run         │
│                                                                                                  │
│   191 │   │   │   "asyncio.run() cannot be called from a running event loop")                    │
│   192 │                                                                                          │
│   193 │   with Runner(debug=debug, loop_factory=loop_factory) as runner:                         │
│ ❱ 194 │   │   return runner.run(main)                                                            │
│   195                                                                                            │
│   196                                                                                            │
│   197 def _cancel_all_tasks(loop):                                                               │
│                                                                                                  │
│ ╭─────────────────────────────── locals ───────────────────────────────╮                         │
│ │        debug = None                                                  │                         │
│ │ loop_factory = None                                                  │                         │
│ │         main = <coroutine object lastfm at 0x000002B71091DFC0>       │                         │
│ │       runner = <asyncio.runners.Runner object at 0x000002B7101083E0> │                         │
│ ╰──────────────────────────────────────────────────────────────────────╯                         │
│                                                                                                  │
│ C:\Users\david\AppData\Local\Programs\Python\Python312\Lib\asyncio\runners.py:118 in run         │
│                                                                                                  │
│   115 │   │                                                                                      │
│   116 │   │   self._interrupt_count = 0                                                          │
│   117 │   │   try:                                                                               │
│ ❱ 118 │   │   │   return self._loop.run_until_complete(task)                                     │
│   119 │   │   except exceptions.CancelledError:                                                  │
│   120 │   │   │   if self._interrupt_count > 0:                                                  │
│   121 │   │   │   │   uncancel = getattr(task, "uncancel", None)                                 │
│                                                                                                  │
│ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
│ │        context = <_contextvars.Context object at 0x000002B710AA83C0>                         │ │
│ │           coro = <coroutine object lastfm at 0x000002B71091DFC0>                             │ │
│ │           self = <asyncio.runners.Runner object at 0x000002B7101083E0>                       │ │
│ │ sigint_handler = functools.partial(<bound method Runner._on_sigint of                        │ │
│ │                  <asyncio.runners.Runner object at 0x000002B7101083E0>>, main_task=<Task     │ │
│ │                  finished name='Task-1' coro=<lastfm() done, defined at                      │ │
│ │                  C:\Users\david\AppData\Local\Programs\Python\Python312\Lib\site-packages\s… │ │
│ │                  exception=IndexError('list index out of range')>)                           │ │
│ │           task = <Task finished name='Task-1' coro=<lastfm() done, defined at                │ │
│ │                  C:\Users\david\AppData\Local\Programs\Python\Python312\Lib\site-packages\s… │ │
│ │                  exception=IndexError('list index out of range')>                            │ │
│ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
│                                                                                                  │
│ C:\Users\david\AppData\Local\Programs\Python\Python312\Lib\asyncio\base_events.py:684 in         │
│ run_until_complete                                                                               │
│                                                                                                  │
│    681 │   │   if not future.done():                                                             │
│    682 │   │   │   raise RuntimeError('Event loop stopped before Future completed.')             │
│    683 │   │                                                                                     │
│ ❱  684 │   │   return future.result()                                                            │
│    685 │                                                                                         │
│    686 │   def stop(self):                                                                       │
│    687 │   │   """Stop running the event loop.                                                   │
│                                                                                                  │
│ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
│ │   future = <Task finished name='Task-1' coro=<lastfm() done, defined at                      │ │
│ │            C:\Users\david\AppData\Local\Programs\Python\Python312\Lib\site-packages\streamr… │ │
│ │            exception=IndexError('list index out of range')>                                  │ │
│ │ new_task = False                                                                             │ │
│ │     self = <ProactorEventLoop running=False closed=True debug=False>                         │ │
│ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
│                                                                                                  │
│ C:\Users\david\AppData\Local\Programs\Python\Python312\Lib\site-packages\streamrip\rip\cli.py:36 │
│ 4 in lastfm                                                                                      │
│                                                                                                  │
│   361 │   │   config.session.lastfm.fallback_source = fallback_source                            │
│   362 │   with config as cfg:                                                                    │
│   363 │   │   async with Main(cfg) as main:                                                      │
│ ❱ 364 │   │   │   await main.resolve_lastfm(url)                                                 │
│   365 │   │   │   await main.rip()                                                               │
│   366                                                                                            │
│   367                                                                                            │
│                                                                                                  │
│ ╭──────────────────────────────────── locals ─────────────────────────────────────╮              │
│ │             cfg = <streamrip.config.Config object at 0x000002B70F721940>        │              │
│ │          config = <streamrip.config.Config object at 0x000002B70F721940>        │              │
│ │             ctx = <click.core.Context object at 0x000002B71061A7E0>             │              │
│ │ fallback_source = None                                                          │              │
│ │            main = <streamrip.rip.main.Main object at 0x000002B7100865D0>        │              │
│ │          source = None                                                          │              │
│ │             url = 'https://www.last.fm/de/user/TheDelivator/playlists/12870515' │              │
│ ╰─────────────────────────────────────────────────────────────────────────────────╯              │
│                                                                                                  │
│ C:\Users\david\AppData\Local\Programs\Python\Python312\Lib\site-packages\streamrip\rip\main.py:2 │
│ 70 in resolve_lastfm                                                                             │
│                                                                                                  │
│   267 │   │   │   self.config,                                                                   │
│   268 │   │   │   self.database,                                                                 │
│   269 │   │   )                                                                                  │
│ ❱ 270 │   │   playlist = await pending_playlist.resolve()                                        │
│   271 │   │                                                                                      │
│   272 │   │   if playlist is not None:                                                           │
│   273 │   │   │   self.media.append(playlist)                                                    │
│                                                                                                  │
│ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
│ │                c = LastFmConfig(source='deezer', fallback_source='')                         │ │
│ │           client = <streamrip.client.deezer.DeezerClient object at 0x000002B710A05A00>       │ │
│ │  fallback_client = None                                                                      │ │
│ │ pending_playlist = PendingLastfmPlaylist(                                                    │ │
│ │                    │                                                                         │ │
│ │                    lastfm_url='https://www.last.fm/de/user/TheDelivator/playlists/12870515', │ │
│ │                    │   client=<streamrip.client.deezer.DeezerClient object at                │ │
│ │                    0x000002B710A05A00>,                                                      │ │
│ │                    │   fallback_client=None,                                                 │ │
│ │                    │   config=<streamrip.config.Config object at 0x000002B70F721940>,        │ │
│ │                    │   db=Database(                                                          │ │
│ │                    │   │   downloads=<streamrip.db.Downloads object at 0x000002B710A05D60>,  │ │
│ │                    │   │   failed=<streamrip.db.Failed object at 0x000002B710A05D90>         │ │
│ │                    │   )                                                                     │ │
│ │                    )                                                                         │ │
│ │     playlist_url = 'https://www.last.fm/de/user/TheDelivator/playlists/12870515'             │ │
│ │             self = <streamrip.rip.main.Main object at 0x000002B7100865D0>                    │ │
│ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
│                                                                                                  │
│ C:\Users\david\AppData\Local\Programs\Python\Python312\Lib\site-packages\streamrip\media\playlis │
│ t.py:215 in resolve                                                                              │
│                                                                                                  │
│   212 │   │   │   │                                                                              │
│   213 │   │   │   │   for title, artist in titles_artists:                                       │
│   214 │   │   │   │   │   requests.append(self._make_query(f"{title} {artist}", s, callback))    │
│ ❱ 215 │   │   │   │   results: list[tuple[str | None, bool]] = await asyncio.gather(*requests)   │
│   216 │   │   else:                                                                              │
│   217 │   │   │                                                                                  │
│   218 │   │   │   def callback():                                                                │
│                                                                                                  │
│ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
│ │         artist = 'Aurora'                                                                    │ │
│ │       callback = <function PendingLastfmPlaylist.resolve.<locals>.callback at                │ │
│ │                  0x000002B7109E84A0>                                                         │ │
│ │ playlist_title = 'Deine Top-Songs\xa02023'                                                   │ │
│ │       requests = [                                                                           │ │
│ │                  │   <coroutine object PendingLastfmPlaylist._make_query at                  │ │
│ │                  0x000002B7109E39A0>,                                                        │ │
│ │                  │   <coroutine object PendingLastfmPlaylist._make_query at                  │ │
│ │                  0x000002B7109E3AB0>,                                                        │ │
│ │                  │   <coroutine object PendingLastfmPlaylist._make_query at                  │ │
│ │                  0x000002B7109E3BC0>,                                                        │ │
│ │                  │   <coroutine object PendingLastfmPlaylist._make_query at                  │ │
│ │                  0x000002B7109E3890>,                                                        │ │
│ │                  │   <coroutine object PendingLastfmPlaylist._make_query at                  │ │
│ │                  0x000002B710A1A130>,                                                        │ │
│ │                  │   <coroutine object PendingLastfmPlaylist._make_query at                  │ │
│ │                  0x000002B710A1A350>,                                                        │ │
│ │                  │   <coroutine object PendingLastfmPlaylist._make_query at                  │ │
│ │                  0x000002B710A1A240>,                                                        │ │
│ │                  │   <coroutine object PendingLastfmPlaylist._make_query at                  │ │
│ │                  0x000002B710A1A570>,                                                        │ │
│ │                  │   <coroutine object PendingLastfmPlaylist._make_query at                  │ │
│ │                  0x000002B710A1A460>,                                                        │ │
│ │                  │   <coroutine object PendingLastfmPlaylist._make_query at                  │ │
│ │                  0x000002B710A19E00>,                                                        │ │
│ │                  │   ... +90                                                                 │ │
│ │                  ]                                                                           │ │
│ │              s = Status(found=100, failed=0, total=100)                                      │ │
│ │           self = PendingLastfmPlaylist(                                                      │ │
│ │                  │                                                                           │ │
│ │                  lastfm_url='https://www.last.fm/de/user/TheDelivator/playlists/12870515',   │ │
│ │                  │   client=<streamrip.client.deezer.DeezerClient object at                  │ │
│ │                  0x000002B710A05A00>,                                                        │ │
│ │                  │   fallback_client=None,                                                   │ │
│ │                  │   config=<streamrip.config.Config object at 0x000002B70F721940>,          │ │
│ │                  │   db=Database(                                                            │ │
│ │                  │   │   downloads=<streamrip.db.Downloads object at 0x000002B710A05D60>,    │ │
│ │                  │   │   failed=<streamrip.db.Failed object at 0x000002B710A05D90>           │ │
│ │                  │   )                                                                       │ │
│ │                  )                                                                           │ │
│ │         status = <rich.status.Status object at 0x000002B710801040>                           │ │
│ │          title = 'Cure For Me'                                                               │ │
│ │ titles_artists = [                                                                           │ │
│ │                  │   ('Flares', 'The Script'),                                               │ │
│ │                  │   ('Seit du weg bist', 'BRKN'),                                           │ │
│ │                  │   ('Then It All Goes Away', 'Dayglow'),                                   │ │
│ │                  │   ('Sad in Mérida', 'BRKN'),                                              │ │
│ │                  │   ('TRAP HOUSE TRAUMATA', 'Sierra Kidd'),                                 │ │
│ │                  │   ("FUCK BABY I'M IN LOVE", 'Lotte'),                                     │ │
│ │                  │   ('Competition Kissing', 'Levi Roth'),                                   │ │
│ │                  │   ("Cravin'", 'Stileto'),                                                 │ │
│ │                  │   ('Danke Nein', 'Lostboi Lino'),                                         │ │
│ │                  │   ('Shut Me Up', 'Nicky Youre'),                                          │ │
│ │                  │   ... +90                                                                 │ │
│ │                  ]                                                                           │ │
│ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
│                                                                                                  │
│ C:\Users\david\AppData\Local\Programs\Python\Python312\Lib\site-packages\streamrip\media\playlis │
│ t.py:272 in _make_query                                                                          │
│                                                                                                  │
│   269 │   │   │   │   logger.debug(f"Found result for {query} on {self.client.source}")          │
│   270 │   │   │   │   s.found += 1                                                               │
│   271 │   │   │   │   return (                                                                   │
│ ❱ 272 │   │   │   │   │   SearchResults.from_pages(self.client.source, "track", pages)           │
│   273 │   │   │   │   │   .results[0]                                                            │
│   274 │   │   │   │   │   .id                                                                    │
│   275 │   │   │   │   ), False                                                                   │
│                                                                                                  │
│ ╭────────────────────────────────────────── locals ───────────────────────────────────────────╮  │
│ │ callback = <function PendingLastfmPlaylist.resolve.<locals>.callback at 0x000002B7109E84A0> │  │
│ │    pages = [{'data': [], 'total': 0}]                                                       │  │
│ │    query = 'DER LETZTE SONG (ALLES WIRD GUT) (feat. Fred Rabe) Kummer'                      │  │
│ │        s = Status(found=100, failed=0, total=100)                                           │  │
│ │     self = PendingLastfmPlaylist(                                                           │  │
│ │            │   lastfm_url='https://www.last.fm/de/user/TheDelivator/playlists/12870515',    │  │
│ │            │   client=<streamrip.client.deezer.DeezerClient object at 0x000002B710A05A00>,  │  │
│ │            │   fallback_client=None,                                                        │  │
│ │            │   config=<streamrip.config.Config object at 0x000002B70F721940>,               │  │
│ │            │   db=Database(                                                                 │  │
│ │            │   │   downloads=<streamrip.db.Downloads object at 0x000002B710A05D60>,         │  │
│ │            │   │   failed=<streamrip.db.Failed object at 0x000002B710A05D90>                │  │
│ │            │   )                                                                            │  │
│ │            )                                                                                │  │
│ │    stack = <contextlib.ExitStack object at 0x000002B7108EAFF0>                              │  │
│ ╰─────────────────────────────────────────────────────────────────────────────────────────────╯  │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
IndexError: list index out of range
Delivator commented 7 months ago

Oh sorry I mixed up two problems I have. The one above is the error I get when trying to download a lastfm playlist, this is the error when I try to download using a deezer url: https://pastebin.com/wVzj2yvQ

kcoure commented 7 months ago

I have this too. I can't use the app anymore, sadly.

1x12HD commented 7 months ago

Same here :/

noonsleeper commented 7 months ago

@nathom About the deezer errors, after some tries, I found that those warnings are fired by any extra track on the album if the album has more than 4 tracks Maybe, Can you use some sort of chunking limit when check for tracks?

tas231 commented 7 months ago

buggy new version.

go back to 1.9.7 with this pip3 install streamrip==v1.9.7

Delivator commented 7 months ago

any updates?

NighthawkUK commented 7 months ago

BUMP - Any updates? @nathom

NighthawkUK commented 7 months ago

@nathom This is still not fixed with the dev branch.

nathom commented 7 months ago

@NighthawkUK can you send the debug trace back. I completely removed the code that was causing the error so it should be fine. It is also working on my machine.

NighthawkUK commented 7 months ago

@nathom https://pastebin.com/WAQ7bqxY This was what i got from using -v

nathom commented 7 months ago

@nathom https://pastebin.com/WAQ7bqxY This was what i got from using -v

I don't see any errors.

NighthawkUK commented 7 months ago

@nathom Neither did i. i'm going to do a full clean install of python and Streamrip.

nathom commented 7 months ago

@NighthawkUK To clarify, what happens is that no tracks are downloaded but there's also no error message? I'm still not sure what's going wrong exactly.

Natooz commented 7 months ago

@nathom Still got the same issue with v2.0.5, trying with both deezer-py 1.3.6 ands 1.3.7. I was able to fix it by tricking urllib3 in the deezer-py code package (site-packages/deezer/init.py):

def patch_https_connection_pool(**constructor_kwargs):
    """
    This allows to override the default parameters of the
    HTTPConnectionPool constructor.
    For example, to increase the poolsize to fix problems
    with "HttpSConnectionPool is full, discarding connection"
    call this function with maxsize=16 (or whatever size
    you want to give to the connection pool)
    """
    from urllib3 import connectionpool, poolmanager

    class MyHTTPSConnectionPool(connectionpool.HTTPSConnectionPool):
        def __init__(self, *args,**kwargs):
            kwargs.update(constructor_kwargs)
            super(MyHTTPSConnectionPool, self).__init__(*args,**kwargs)
    poolmanager.pool_classes_by_scheme['https'] = MyHTTPSConnectionPool

class Deezer:
    def __init__(self):
        self.http_headers = {
            "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) " \
                          "Chrome/79.0.3945.130 Safari/537.36"
        }
        self.session = requests.Session()
        # ********** Calling the trick just after creating the session
        patch_https_connection_pool(maxsize=50)

        self.logged_in = False
        self.current_user = {}
        self.childs = []
        self.selected_account = 0

        self.api = API(self.session, self.http_headers)
        self.gw = GW(self.session, self.http_headers)

The method can probably be called somewhere else. And I don't know if deezer-py is still supported, so maybe other libraries with more active development like deezer-python might be worth to be considered.

rodfeli commented 3 months ago
HttpSConnectionPool

Hi natooz, Where can i modify this in the last streamrip code?

mortalis13 commented 2 months ago

Checked commands from the first post, with latest version (pip install streamrip) and with dev branch. All is fine, showing search results with 2 lines and downloading full album.

Windows, Python 3.11

Just try installing all clean and re-run. It's not necessary to install full python, just create a venv, install the tool there (the latest version preferably), remove/rename the config folder. btw, I think all should post the python version, it's an important factor too, sometimes...

And people, as a personal advice, learn to inform about the full reproducible steps, here and in any tech tickets basically. "me too", "same here", "+1" are very broad terms and not necessarily mean the same situation or causes. It takes some time to detect the exact steps, but it helps a lot better.

Also, you can upload text files with large logs here in the issue text directly.