KRTirtho / spotube

🎧 Open source Spotify client that doesn't require Premium nor uses Electron! Available for both desktop & mobile!
https://spotube.krtirtho.dev/
Other
29.53k stars 1.22k forks source link

Spotify Listen Along #8

Open highjeans opened 2 years ago

highjeans commented 2 years ago

Is your feature request related to a problem? Please describe. I was wondering there could be support for Spotify Play Along.

Describe the solution you'd like A way to use Spotify Play Along (if not already there)

Describe alternatives you've considered Discord plug-in but I get ads.

KRTirtho commented 2 years ago

Sorry but it is not possible since the playback is local & can't be sent to cloud. To make this feature work I'll have to use libspotify which will require premium for playback and abandon the local playback system & this is against the vision of this project

KRTirtho commented 2 years ago

I researched a little & found out its not entirely impossible. I can use WebRTC & similar tools to implement that & also keep the local playback vision of the project. Just have to dig little deeper in that place

highjeans commented 2 years ago

That's sounds very interesting. I will see if I can help anytime soon!

nsde commented 1 year ago

Is this feature planned or being worked on? I'd also love to see this change!

KRTirtho commented 1 year ago

Yeah, it's in my to-do list, but it might take some time

nsde commented 1 year ago

Yeah, it's in my to-do list, but it might take some time

Alright. I can help, for example with adding the button to configure the RPC.

KRTirtho commented 1 year ago

Let's discuss this in the discord server

KRTirtho commented 1 year ago

Finally, flutter_webrtc v0.9.15 added Linux support, which I've been waiting for

So I think we can discuss about adding this :smile:

I think the WebRTC DataChannel can be used to connect multiple users together with the same random code provided by room host. And all the data (timestamps, tracks, playlist/album etc.) can be shared through this and of course it'll have permissions

bel57 commented 1 year ago

Hello, sorry I didn't mean to mention this issue in 580 that's a formatting error (I'm tired). Regarding discord RPC, it's possible to have it populate from local files playback. Here's an example, I'm using the Zune player (nostalgia) and there is a working RPC tool. Hope that helps!

https://github.com/zunes/ZuneDiscordRPC

edit: oh fudge.. please close all "mention" tasks. I'm super sorry.

femidof commented 9 months ago

I think flutter_webrtc and livekit can be used to sync sessions. I would love to contribute on this

KRTirtho commented 9 months ago

We welcome your contribution. It'll be a huge plus for Spotube. Please feel free to ask questions whenever you feel stuck.

femidof commented 9 months ago

Does Spotube have any services running off client?

KRTirtho commented 9 months ago

No it directly utilizes the Spotify API so it doesn't have any services

Vintic commented 8 months ago

There is interesting opensource project, that can help I think, https://github.com/Semro/syncwatch

It allows to sync any video from browser tabs, between multiple users.

Instead of implementing something from scratch, I think we can use SyncWatch server, to sync music link, position, and state.

Pokeylooted commented 3 months ago

There is interesting opensource project, that can help I think, https://github.com/Semro/syncwatch

It allows to sync any video from browser tabs, between multiple users.

Instead of implementing something from scratch, I think we can use SyncWatch server, to sync music link, position, and state.

Actually someone has done this before, its a vencord plugin that extends spotify features to discord. To listen together without premium