mirror of
https://github.com/jpochyla/psst.git
synced 2026-04-27 15:35:56 +03:00
[GH-ISSUE #560] Ability to open spotify: and https://open.spotify.com/ links #336
Labels
No labels
api
bug
build
documentation
duplicate
enhancement
good first issue
help wanted
idea
invalid
linux
lowprio
macos
pull-request
upstream
windows
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/psst#336
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jstarpl on GitHub (Nov 26, 2024).
Original GitHub issue: https://github.com/jpochyla/psst/issues/560
Is your feature request related to a problem? Please describe.
I would really like to open
spotify:andhttps://open.spotify.com/links in Psst instead of having to find the track/playlist/album/artist based on title.Describe the solution you'd like
I think one solution might be to use a named local socket, using something like https://docs.rs/interprocess . The first running Psst instance would set up a socket and listen for Protobuf, JSON-RPC or some other simple protocol, for commands on what to do. Another Psst instance, with a specific command line - say
--url spotify:playlist:xxxwould connect to that socket, send a command and terminate.Describe alternatives you've considered
Another option could be to have the Psst window be a drop-target for text, RegExp match on the text being dropped, and recognize a
https://open.spotify.com/text, parse it, and show/play whatever the link directs to.Additional context
Having a named socket would open up the possibility of other integrations with Psst, like Stream Decks and such. I suppose that's already somewhat possible using global media hotkeys, but those are always at the mercy of the OS.
@jacksongoode commented on GitHub (Nov 26, 2024):
This sounds like a great initiative, I've wanted to handle these links as well but it does require a listener for opening the applications. I think pasting Spotify links into the search bar does direct to the proper album/song.
@Pogodaanton commented on GitHub (Dec 8, 2024):
Potential duplicate of #159 ?
open.spotify.com links do indeed work in the search bar for the time being. I regularly open songs/albums in Psst by pasting links shared to me into the search bar. However, playlist URLs do not work (#565)
@jacksongoode commented on GitHub (Jan 29, 2025):
Duplicate of #159 .