[PR #110] [MERGED] Add sharing support #629

Closed
opened 2026-03-02 23:49:06 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/aome510/spotify-player/pull/110
Author: @aome510
Created: 1/18/2023
Status: Merged
Merged: 1/26/2023
Merged by: @aome510

Base: masterHead: implement-sharing-support


📝 Commits (10+)

  • 3754de6 add copy_command to AppConfig
  • fc75235 add CopyTrackLink track action and its handler
  • 99ea0b9 rename copy_command to share_command
  • bad42de update variable naming in log
  • 44a91b4 add execute_share_command helper function
  • 6597d8c add CopyAlbumLink, CopyArtistLink, CopyPlaylistLink and their handlers
  • 0edc252 add default copy_command for windows
  • 2e197d6 update config document to include new copy_command option
  • 514d276 add note and example for copy_command
  • 6996a37 update Linux default copy command to xclip

📊 Changes

7 files changed (+104 additions, -20 deletions)

View changed files

📝 doc/config.md (+17 -15)
📝 examples/app.toml (+3 -0)
📝 spotify_player/src/command.rs (+5 -0)
📝 spotify_player/src/config/mod.rs (+25 -0)
📝 spotify_player/src/event/mod.rs (+1 -1)
📝 spotify_player/src/event/popup.rs (+47 -2)
📝 spotify_player/src/event/window.rs (+6 -2)

📄 Description

Resolves #100

Changes

  • add copy_command option to general app configurations
  • add Copy...Link action for track/album/artist/playlist item and corresponding handler

🔄 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/aome510/spotify-player/pull/110 **Author:** [@aome510](https://github.com/aome510) **Created:** 1/18/2023 **Status:** ✅ Merged **Merged:** 1/26/2023 **Merged by:** [@aome510](https://github.com/aome510) **Base:** `master` ← **Head:** `implement-sharing-support` --- ### 📝 Commits (10+) - [`3754de6`](https://github.com/aome510/spotify-player/commit/3754de65f0be316ade88018e8edef161a637f272) add `copy_command` to `AppConfig` - [`fc75235`](https://github.com/aome510/spotify-player/commit/fc7523513bcb9a3cdd614d0f3013ed5053b3114c) add `CopyTrackLink` track action and its handler - [`99ea0b9`](https://github.com/aome510/spotify-player/commit/99ea0b95369b4d8256815cd40f0ca834ac2bfc2e) rename `copy_command` to `share_command` - [`bad42de`](https://github.com/aome510/spotify-player/commit/bad42de80582cd75914a064ca24b2c98104273c7) update variable naming in log - [`44a91b4`](https://github.com/aome510/spotify-player/commit/44a91b42366f0dd8cd5e4775326b56ecc3391864) add `execute_share_command` helper function - [`6597d8c`](https://github.com/aome510/spotify-player/commit/6597d8cc930613037cc1fa8bf50409327dad5cfe) add `CopyAlbumLink`, `CopyArtistLink`, `CopyPlaylistLink` and their handlers - [`0edc252`](https://github.com/aome510/spotify-player/commit/0edc252ef6c171c12921db8036f9277d182379cc) add default `copy_command` for windows - [`2e197d6`](https://github.com/aome510/spotify-player/commit/2e197d625156ba801fe45de48b0428d5d6fc92e7) update config document to include new `copy_command` option - [`514d276`](https://github.com/aome510/spotify-player/commit/514d276c7fda9cc67f7bb7c3f95940e0c9cfeab0) add note and example for `copy_command` - [`6996a37`](https://github.com/aome510/spotify-player/commit/6996a37469c766e7b2e68b05b8ec9e5a18ec5e1b) update Linux default copy command to `xclip` ### 📊 Changes **7 files changed** (+104 additions, -20 deletions) <details> <summary>View changed files</summary> 📝 `doc/config.md` (+17 -15) 📝 `examples/app.toml` (+3 -0) 📝 `spotify_player/src/command.rs` (+5 -0) 📝 `spotify_player/src/config/mod.rs` (+25 -0) 📝 `spotify_player/src/event/mod.rs` (+1 -1) 📝 `spotify_player/src/event/popup.rs` (+47 -2) 📝 `spotify_player/src/event/window.rs` (+6 -2) </details> ### 📄 Description Resolves #100 ## Changes - add `copy_command` option to general app configurations - add `Copy...Link` action for track/album/artist/playlist item and corresponding handler --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 23:49:06 +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-player#629
No description provided.