Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search error: "Could not determine type for" #61

Open
verone0001 opened this issue May 26, 2024 · 0 comments
Open

Search error: "Could not determine type for" #61

verone0001 opened this issue May 26, 2024 · 0 comments

Comments

@verone0001
Copy link

Hello!

I recently came across the error "Could not determine type for" when performing a URL search. After some tests I found out that this is due to the language set by the user in the preferences: when it's not English, the sharing URL adds an ISO 639 code to it, so for example if set in spanish, it ends in the following:
https://open.spotify.com/intl-es/track/2EGxVI3bgR6YEDtid76ZzZ?si=2a7eeb69f99946bc
Which does not work for searching and downloading because of the intl-es added to the URL.

This language code part needs to be manually erased for d-fi to take it into consideration and not throw such error. This being said, the following is correctly detected:
https://open.spotify.com/track/2EGxVI3bgR6YEDtid76ZzZ?si=2a7eeb69f99946bc

Last part of the sharing URL string does not mind (from ? and on).

image

Will there be any possibility to change this in a next release so it works despite the chosen application language?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant