spotube icon indicating copy to clipboard operation
spotube copied to clipboard

[Feature] Open in spotube instead of spotify

Open EsmailELBoBDev2 opened this issue 3 years ago • 13 comments

Is there an existing issue for this?

  • [X] 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 :joy:

EsmailELBoBDev2 avatar Nov 15 '22 22:11 EsmailELBoBDev2

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

KRTirtho avatar Jan 05 '23 04:01 KRTirtho

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

EsmailELBoBDev2 avatar Jan 05 '23 06:01 EsmailELBoBDev2

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?

KNIX3 avatar Jul 22 '23 16:07 KNIX3

@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

karniv00l avatar Jul 24 '23 07:07 karniv00l

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

KRTirtho avatar Jul 24 '23 10:07 KRTirtho

Linux is not supported by any of them :")

KRTirtho avatar Jul 25 '23 04:07 KRTirtho

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.

KNIX3 avatar Jul 26 '23 03:07 KNIX3

I would appreciate this feature on desktop.

selurvedu avatar Aug 08 '23 15:08 selurvedu

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

Rootkit- avatar Sep 07 '23 02:09 Rootkit-

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...

anarcat avatar Sep 09 '23 21:09 anarcat

Linux is not supported by any of them :")

It's now supported in the newest version: https://github.com/llfbandit/app_links/issues/20

karniv00l avatar Dec 15 '23 07:12 karniv00l

Yes finally it can be implemented

KRTirtho avatar Dec 15 '23 11:12 KRTirtho

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 avatar Dec 16 '23 12:12 KRTirtho