[PR #45] [MERGED] Improve device connect logic on startup #1533

Closed
opened 2026-03-14 15:19:12 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/aome510/spotify-player/pull/45
Author: @aome510
Created: 5/31/2022
Status: Merged
Merged: 5/31/2022
Merged by: @aome510

Base: masterHead: add-default-device


📝 Commits (3)

  • ccff457 improve the logic to connect an available device on startup
  • 6660bbd update document
  • fb6f48f update link, example config file

📊 Changes

6 files changed (+64 additions, -32 deletions)

View changed files

📝 README.md (+1 -1)
📝 doc/config.md (+13 -12)
📝 examples/app.toml (+1 -0)
📝 spotify_player/src/client/mod.rs (+26 -15)
📝 spotify_player/src/config/mod.rs (+4 -0)
📝 spotify_player/src/main.rs (+19 -4)

📄 Description

Changes

  • improved the device connect logic on startup, so that the transfer playback change is shown up in the player
  • added default_device general config option representing the preferred device to connect to on startup if no playing device found

🔄 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/45 **Author:** [@aome510](https://github.com/aome510) **Created:** 5/31/2022 **Status:** ✅ Merged **Merged:** 5/31/2022 **Merged by:** [@aome510](https://github.com/aome510) **Base:** `master` ← **Head:** `add-default-device` --- ### 📝 Commits (3) - [`ccff457`](https://github.com/aome510/spotify-player/commit/ccff4578746791deb4e0aae890bd64b133b8eeff) improve the logic to connect an available device on startup - [`6660bbd`](https://github.com/aome510/spotify-player/commit/6660bbd929cbc4d8a82b706da5f7b923622daa83) update document - [`fb6f48f`](https://github.com/aome510/spotify-player/commit/fb6f48faeebc27893f7d3a4f653df7648fe5e12e) update link, example config file ### 📊 Changes **6 files changed** (+64 additions, -32 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+1 -1) 📝 `doc/config.md` (+13 -12) 📝 `examples/app.toml` (+1 -0) 📝 `spotify_player/src/client/mod.rs` (+26 -15) 📝 `spotify_player/src/config/mod.rs` (+4 -0) 📝 `spotify_player/src/main.rs` (+19 -4) </details> ### 📄 Description ## Changes - improved the device connect logic on startup, so that the transfer playback change is shown up in the player - added `default_device` general config option representing the preferred device to connect to on startup if no playing device found --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-14 15:19:12 +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#1533
No description provided.