-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Wrong audio played on my spotify track #1095
Comments
Duplicate of #883 |
Hi, I think there is something wrong with your search algorithm |
Judging your porject it seems to be using youtube-dl which is a huge project written in python and since python is an interpreted language, their huge algorithm can't be linked with flutter (dart) through FFI. It's doable but not practical as we've to ship the embedded python interpreter with Spotube. The best solution is probably porting that library. But that'll take a huge amount of work, and I don't see anyone (including me) put that much work. I welcome anyone who can port youtube-dl to dart in Dart. Although, Spotube only requires the search and match part. Which might be not as big as I'm guessing |
Hi, the search is only handled by this python script i made : https://github.com/acantepie/opusify/blob/main/src/youtube-dl/YoutubeSearch.py. This script uses this library https://ytmusicapi.readthedocs.io/en/stable to find the best match and retrieve a youtubeId Unfortunalty there is no official api for yt music but mb there is a port of this library on Dart 👍 |
Is there an existing issue for this?
Current Behavior
After logged on my spotify account, the first two tracks of my playlist have right information but the audio played is not the right one
Url of playlist : https://open.spotify.com/playlist/7EtiSLKUiHY7vmJ7SikOaj?si=828fb5d0322b437e
Track one :
Audio played : a piano mario theme song ...
Track two :
Audio played : a live of metal concert ...
Wtf ..
Expected Behavior
The right audio is played
Steps to reproduce
Operating System
Windows 11
Spotube version
idk. The last one
Installation source
GitHub Releases (Binary)
Additional information
Installed from url provided by this repo (binary).
The text was updated successfully, but these errors were encountered: