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

Use the native Spotify audio source for Spotube #2073

Open
1 of 2 tasks
MurzNN opened this issue Nov 21, 2024 · 3 comments
Open
1 of 2 tasks

Use the native Spotify audio source for Spotube #2073

MurzNN opened this issue Nov 21, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@MurzNN
Copy link

MurzNN commented Nov 21, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Pain

Spotube now provides only three audio sources: Youtube, Piped, Jiosavn.
But with this approach, we have a problem finding the right track, which leads us to issues like this: #883 #2067

Suggested solution

To resolve this issue, maybe we can use the native Spotify audio source to play tracks?

There are some libraries that can help implement this, like https://github.com/librespot-org/librespot for example, or https://github.com/Spotifyd/spotifyd

You can look at the opensource applications, which already do this:

And even if the Spotify API is not available directly, we can run a webview with the Spotify Web UI, and control the playback from the app. So, all we need to do is to get the track ID, open the page with it, and click "Play" button, like https://gitlab.com/ColinDuquesnoy/MellowPlayer does.

So, what do you think about this? If it is not possible, could you please describe why, in more detail? Thanks!

Useful resources

No response

Additional information

No response

Self grab

  • I'm ready to work on this issue!
@MurzNN MurzNN added the enhancement New feature or request label Nov 21, 2024
@skruglov2023
Copy link

I think the reason is in the name - Spot Tube
It's split into 2 parts so that it's not really an alternative client for either platform, which helps them not be in the direct spotlight.

@Peperehobbits01
Copy link

Also it solves the add problem whit Spotify so... No.

@edricus
Copy link

edricus commented Dec 4, 2024

Seconded. The main reason I (try to) use spotube is because a lot of tracks are not available in my country.
I pay for premium and just want to play the unavailable tracks with youtube.
There are also tracks that follow each other like Another Brick in the Wall, Pt1 - The Happiest Days of Our Lives - Another Brick in the Wall, Pt2 by Pink Floyd. If you select a source other than Spotify, these tracks will play very incorrectly.

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

No branches or pull requests

4 participants