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

Optionally open spotify links in desktop app #77

Open
imhemish opened this issue Apr 8, 2023 · 5 comments
Open

Optionally open spotify links in desktop app #77

imhemish opened this issue Apr 8, 2023 · 5 comments
Labels
enhancement New feature or request
Milestone

Comments

@imhemish
Copy link
Contributor

imhemish commented Apr 8, 2023

image

Currently when spotify button is clicked, it opens the open.spotify.com link in browser.
First it gets opened in browser, and then you can open it in desktop app via website. This increases number of steps for those having official spotify desktop app.
The desktop app can handle spotify:// URI links. Is there a way that spotify button provides a spotify:// URI instead of open.spotify.com. So, upon clicking Spotify in Mousai, it would directly open in spotify desktop app instead of web browser.

@imhemish
Copy link
Contributor Author

imhemish commented Apr 8, 2023

The link is framed like this:
image

@SeaDve
Copy link
Owner

SeaDve commented Apr 8, 2023

That would be indeed nicer

@SeaDve SeaDve added the enhancement New feature or request label Apr 8, 2023
@SeaDve SeaDve added this to the 0.7.1 milestone Apr 8, 2023
@imhemish
Copy link
Contributor Author

imhemish commented Apr 8, 2023

If the spotify app is installed, then open the spotify: uri else open the open.spotify.com link directly. If spotify app is available or not can not be checked inside a flatpak sandbox, maybe just add a preference option to open spotify links in desktop app.

@SeaDve
Copy link
Owner

SeaDve commented Apr 8, 2023

This is harder to fix than I thought without going to the preferences route, since there is no easy or non-hacky way for a Flatpak app to get other installed apps.

@gregorni
Copy link

This is harder to fix than I thought without going to the preferences route, since there is no easy or non-hacky way for a Flatpak app to get other installed apps.

Junction somehow gets around it, although I'm not sure how they do it. I think one definitely needs to build the app with the --talk-name=org.freedesktop.Flatpak permission.

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

3 participants