Spotify-downloader: Song cannot be found in Youtube Music despite being there

Created on 6 Nov 2020  路  14Comments  路  Source: spotDL/spotify-downloader

So, I was trying something, and it cannot download it. The song is chumachechaya vesna/效褍屑邪褔械褔邪褟 袙械褋薪邪 by Potap & Nastya

Song Link:
https://open.spotify.com/track/2eaSMmKfigsm96aTUJMoIk?si=58gxM__LRneWACTrEqAPCQ

However, when you search at Youtube Music, it's first in the search:
https://music.youtube.com/search?q=%D1%87%D1%83%D0%BC%D0%B0%D1%87%D0%B5%D1%87%D0%B0%D1%8F+%D0%B2%D0%B5%D1%81%D0%BD%D0%B0

Possible error with non-Latin language when searching?

bug stale

Most helpful comment

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.89. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

All 14 comments

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.89. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

So, I downloaded its album, and it only found one song and only that song (song 26). What does that mean then?

There is an extra layer of filtering done on results without which you'd end up with songs like 'garet swank - madness' when you try to download 'ruelle - madness'.

The other results probably get filtered out.

Under spotdl.search.providers, try changing the cutoff to a lower value. Tell me if it works.

Where can I find it?

you can find it in spotdl/search/providers.py

Any improvement?

I'm not really sure which variable should I change, and also all there was in provider.py, not providers.py..

Wait, the code isn't self explanatory enough?

Don't get me wrong, we wrote that code to be readable and understandable if it isn't we clearly failed and that bit of code needs a rewrite.

A little bit, I don't know _which_ cutoff value, since there's a lot of integer variables here.

It's either the artistMatchNumber variable or the albumMatch variable, or avgMatch variable, somewhere within the Search Provider block, I think.

This issue has been automatically marked stale because there hasn't been any activity for the last 30 days.

Hi, can I have which specific variable I really should check?

I think its avgMatchValue.

[Update]
See search/provider.py ln:457

[Update 2]
Ignore the cutoff. See #1018.

This issue has been automatically marked stale because there hasn't been any activity for the last 30 days.

Well, it does work now, although it's finding some odd rock version of it. More details in #1089.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

iateadonut picture iateadonut  路  4Comments

iki picture iki  路  4Comments

MikhailZex picture MikhailZex  路  5Comments

MangoTornado picture MangoTornado  路  6Comments

noahball picture noahball  路  3Comments