spotDL / spotify-downloader

Download your Spotify playlists and songs along with album art and metadata (from YouTube if a match is found).
https://spotdl.readthedocs.io/en/latest/
MIT License
17.12k stars 1.57k forks source link

LookupError: No results found for song [...] for all but one tracks of an album #1667

Closed ubrandes closed 1 year ago

ubrandes commented 1 year ago

System OS

MacOS

Python Version

3.9 (CPython)

Install Source

pip / PyPi

Install version / commit hash

v4.0.5

Expected Behavior vs Actual Behavior

spotdl works well, but for a particular album I can download only one of its 16 songs. All 15 other songs give an error like LookupError: No results found for song: Antony Partos - Legacy

I would expect to be able to download every song of this album. Instead, the result is as follows — note that the last song is actually getting downloaded: % spotdl download 'https://open.spotify.com/album/6jHtR7TjFvVGCpRipUn8gz' LookupError: No results found for song: Antony Partos - Mountain Dreaming LookupError: No results found for song: Antony Partos - Trek LookupError: No results found for song: Antony Partos - Leaving Kathmandu LookupError: No results found for song: Antony Partos - Sherpas' Journey LookupError: No results found for song: Antony Partos - Phurba's Theme LookupError: No results found for song: Antony Partos - Khumbu Icefall LookupError: No results found for song: Antony Partos - Unsettled Business LookupError: No results found for song: Antony Partos - Tenzing's Injustice LookupError: No results found for song: Antony Partos - Phurba's Thoughts LookupError: No results found for song: Antony Partos - Good Morning Mount Everest LookupError: No results found for song: Antony Partos - Night Trek LookupError: No results found for song: Antony Partos - Phurba's Return LookupError: No results found for song: Antony Partos - Widows LookupError: No results found for song: Antony Partos - Legacy LookupError: No results found for song: Antony Partos - The Uprising Downloaded "Antony Partos - A New Day Beckons": https://www.youtube.com/watch?v=PLchGYdLUvo Total 16/16 complete ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:00

Steps to reproduce - Ensure to include actual links!

  1. install newest version of spotdl (v4.0.5) on MacOS Ventura
  2. % spotdl download 'https://open.spotify.com/album/6jHtR7TjFvVGCpRipUn8gz'
  3. try variants such as downloading just the one song 'Antony Partos - Legacy'

Traceback

LookupError: No results found for song: Antony Partos - Mountain Dreaming
LookupError: No results found for song: Antony Partos - Trek
LookupError: No results found for song: Antony Partos - Leaving Kathmandu
LookupError: No results found for song: Antony Partos - Sherpas' Journey
LookupError: No results found for song: Antony Partos - Phurba's Theme
LookupError: No results found for song: Antony Partos - Khumbu Icefall
LookupError: No results found for song: Antony Partos - Unsettled Business
LookupError: No results found for song: Antony Partos - Tenzing's Injustice
LookupError: No results found for song: Antony Partos - Phurba's Thoughts
LookupError: No results found for song: Antony Partos - Good Morning Mount Everest
LookupError: No results found for song: Antony Partos - Night Trek
LookupError: No results found for song: Antony Partos - Phurba's Return
LookupError: No results found for song: Antony Partos - Widows
LookupError: No results found for song: Antony Partos - Legacy
LookupError: No results found for song: Antony Partos - The Uprising
Downloaded "Antony Partos - A New Day Beckons": https://www.youtube.com/watch?v=PLchGYdLUvo
Total                             16/16 complete     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:00

Other details

This is regardless if I download individual songs or the entire album (Album URL: 'https://open.spotify.com/album/6jHtR7TjFvVGCpRipUn8gz').

Same behaviour if I include the SI, e.g. spotdl download 'https://open.spotify.com/album/6jHtR7TjFvVGCpRipUn8gz?si=ff_UJPjaT_W....'

xnetcat commented 1 year ago

Looks like only the last song is available on youtube, nothing I can do.

ubrandes commented 1 year ago

Thanks for responding. Actually I wasn't aware that a track needs to be available on youtube in order to be eligible for download from spotify.

ubrandes commented 1 year ago

Maybe the error message could be a little more indicative of the root cause?

The message I received, "LookupError: No results found for song X", had set me off to check my network setup, Python installation etc

xnetcat commented 1 year ago

Thanks for responding. Actually I wasn't aware that a track needs to be available on youtube in order to be eligible for download from spotify.

Tracks aren't downlaod from spotify, they've always been downloaded from youtube. image image

ubrandes commented 1 year ago

Yeah, I had seen that it says "...we use YT to filter search results. You can check if YTM is available in your country".

Since YT music exists in Germany, though, I didn't imagine this meant to say that the actual track had to be available on YTM in my country.

Hence my suggestion to consider a more indicative messaging — I could imagine a requirements text like "Each track must be available on YouTube Music in your country" and an error message like "LookupError: Song not found on YouTube Music".