Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Copy URL to clipboard for current track, artist and album #221
Would be great to add functionality to copy a URL/URI to the clipboard from track info for track/artist/album.
If interested, I'm happy to try to take this on. Haven't had a chance to dig into to see where this happens.
There's actually a way for Alfred to copy some text by invoking CTRL-C on an item.
Right now, I've only implemented it in Current Track:
Here if I execute CTRL-C on first row, then I get in clipboard: "#NowPlaying S.A.Y. - Original Mix by Compact Grey https://open.spotify.com/track/1pF4GjrL1tklFX2UYZhBzr"
You can see how this is done in firstDelimiter.php, line 782:
So it should be possible to do what you want by adding an array with copy and large type (CTRL-L) on every item
thanks, @vdesabou. this is exactly what i was looking for. would be a nice-to-have, even if not a big win, to have similar functionality on album and artist. though personally i'm many times more likely to share one track than a spotify artist page. so knowing this will make my days better already.