[PR #156] [MERGED] add hotkey to copy url of currently playing track #639

Closed
opened 2026-02-28 14:50:18 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Rigellute/spotify-tui/pull/156
Author: @LennyPenny
Created: 11/19/2019
Status: Merged
Merged: 11/21/2019
Merged by: @Rigellute

Base: LennyPenny-clipboardHead: master


📝 Commits (6)

  • e43313e add clipboard dependency
  • b8a00f4 add copy_song_url method to app
  • a878413 initialize app with clipboardcontext
  • 85c8126 add copy_song_url key
  • 3d710f5 add copy_song_url help text
  • 58c489a fix error message when setting clipboard content

📊 Changes

8 files changed (+512 additions, -358 deletions)

View changed files

📝 Cargo.lock (+472 -357)
📝 Cargo.toml (+1 -0)
📝 README.md (+1 -0)
📝 src/app.rs (+24 -1)
📝 src/handlers/mod.rs (+3 -0)
📝 src/main.rs (+6 -0)
📝 src/ui/help.rs (+1 -0)
📝 src/user_config.rs (+4 -0)

📄 Description

Hey,
first of all: Awesome project!

I implemented a new feature that copies the url of the currently playing track when you press a button (c by default).

This is my first time using rust, so if you find any mistakes or weirdness, let me know and I will fix the issues.

I hope I found all the relevant sections I needed to adjust.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Rigellute/spotify-tui/pull/156 **Author:** [@LennyPenny](https://github.com/LennyPenny) **Created:** 11/19/2019 **Status:** ✅ Merged **Merged:** 11/21/2019 **Merged by:** [@Rigellute](https://github.com/Rigellute) **Base:** `LennyPenny-clipboard` ← **Head:** `master` --- ### 📝 Commits (6) - [`e43313e`](https://github.com/Rigellute/spotify-tui/commit/e43313ed1313e0430d31f85681a6fa0f89588ca9) add clipboard dependency - [`b8a00f4`](https://github.com/Rigellute/spotify-tui/commit/b8a00f4e7e774ac790e23564e4454f1ba1857f32) add copy_song_url method to app - [`a878413`](https://github.com/Rigellute/spotify-tui/commit/a878413ec2e8c16caa5f1ae3767dd13e7ed58785) initialize app with clipboardcontext - [`85c8126`](https://github.com/Rigellute/spotify-tui/commit/85c8126774362083955147def308f79f4087a80a) add copy_song_url key - [`3d710f5`](https://github.com/Rigellute/spotify-tui/commit/3d710f51503b819aa9e58f97813127f34c2bcd9b) add copy_song_url help text - [`58c489a`](https://github.com/Rigellute/spotify-tui/commit/58c489aa2761753302e9ba3d1cc13351ef64f17b) fix error message when setting clipboard content ### 📊 Changes **8 files changed** (+512 additions, -358 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.lock` (+472 -357) 📝 `Cargo.toml` (+1 -0) 📝 `README.md` (+1 -0) 📝 `src/app.rs` (+24 -1) 📝 `src/handlers/mod.rs` (+3 -0) 📝 `src/main.rs` (+6 -0) 📝 `src/ui/help.rs` (+1 -0) 📝 `src/user_config.rs` (+4 -0) </details> ### 📄 Description Hey, first of all: Awesome project! I implemented a new feature that copies the url of the currently playing track when you press a button (`c` by default). This is my first time using rust, so if you find any mistakes or weirdness, let me know and I will fix the issues. I hope I found all the relevant sections I needed to adjust. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-28 14:50:18 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotify-tui#639
No description provided.