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

[Feature] Open in spotube instead of spotify #307

Closed
1 task done
EsmailELBoBDev2 opened this issue Nov 15, 2022 · 13 comments · Fixed by #950
Closed
1 task done

[Feature] Open in spotube instead of spotify #307

EsmailELBoBDev2 opened this issue Nov 15, 2022 · 13 comments · Fixed by #950
Assignees
Labels
enhancement New feature or request

Comments

@EsmailELBoBDev2
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Category of the Feature

UX Improvements

Credits

Me

Pain

I have spotube on phone (android) and when someone sends me spotify link, it opens in spotify app and it would be nice if spotube can catch the url and play it directly? and maybe the ability to search by spotify/yt URL too.

Suggested Solution

Spotube opens when I click on spotify/yt music link

Useful resources/references

I really have no idea 😂

@KRTirtho
Copy link
Owner

KRTirtho commented Jan 5, 2023

That's not possible due to the protocol spotify:// is a registered protocol and the spotify.com is a registered domain, only apps with allowed appIds can open those links

@EsmailELBoBDev2
Copy link
Author

oh, i thought it's matter of if else statement. Will, thanks for the info :)

@nki3
Copy link

nki3 commented Jul 22, 2023

Is this really true? I cannot speak for spotify links specifically but many open source apps are able to open urls from other official apps such as LibreTube, Musify, InnerTune for youtube.com and its link variants as well as every open source Twitter client I've used for twitter.com and its variants. Is there a difference between spotify.com and twitter.com?

@karniv00l
Copy link
Contributor

@KRTirtho you should be able to register spotify:// protocol for Spotube (see: https://pub.dev/packages/app_links).
However, there should be only one app that uses a given protocol (i.e. Spotify not installed).

I use Spotify, but I was able to switch apps in Firefox just for testing purposes:

Screenshot 2023-07-24 at 09 25 37

when you go to the open.spotify.com/... page, it opens the spotube://... url:

Screenshot 2023-07-24 at 09 19 55

@KRTirtho
Copy link
Owner

Never knew it even existed https://pub.dev/packages/app_links 😅

@KRTirtho
Copy link
Owner

Linux is not supported by any of them :")

@nki3
Copy link

nki3 commented Jul 26, 2023

Linux is not supported by any of them :")

I have heard you can basically get the same functionality on Linux by modifying the .desktop file, but on the note of Android specifically, it seems there is still an open issue (#508). Is this something you hope to implement in the future? I think many Android users would appreciate it. Not being able to just tap links my friends send me of their spotify playlists is a just bit frustrating for an otherwise amazing UX.

@selurvedu
Copy link

I would appreciate this feature on desktop.

@KRTirtho KRTirtho reopened this Aug 8, 2023
@KRTirtho KRTirtho moved this to Discussion in Spotube Board Aug 26, 2023
@Rootkit-
Copy link

Rootkit- commented Sep 7, 2023

This would be very nice. If its made I'll make a redirect extension and give you guys the code.

@anarcat
Copy link

anarcat commented Sep 9, 2023

this would be a killer feature for anonymous users. as it is now, the app is not that useful for us as you can basically just browse suggested things... you can't search, you can't open existing pages / groups you know exist, etc...

@karniv00l
Copy link
Contributor

Linux is not supported by any of them :")

It's now supported in the newest version: llfbandit/app_links#20

@KRTirtho
Copy link
Owner

Yes finally it can be implemented

@KRTirtho KRTirtho linked a pull request Dec 16, 2023 that will close this issue
@KRTirtho KRTirtho moved this from Discussion to In progress in Spotube Board Dec 16, 2023
@KRTirtho
Copy link
Owner

Anyone using Linux here, please test if it works for the platform. I am unable to test it for the platform.
Binary available in nightly or https://github.com/KRTirtho/spotube/actions/runs/7231912830

@KRTirtho KRTirtho moved this from In progress to Done in Spotube Board Dec 25, 2023
@KRTirtho KRTirtho moved this from Done to Deployed in Spotube Board Dec 31, 2023
@github-project-automation github-project-automation bot moved this from Deployed to Done in Spotube Board Dec 31, 2023
@KRTirtho KRTirtho moved this from Done to Deployed in Spotube Board Mar 12, 2024
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
Status: Deployed
Development

Successfully merging a pull request may close this issue.

7 participants