[PR #640] [MERGED] Optimize seek (#523) #945

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

📋 Pull Request Information

Original PR: https://github.com/Rigellute/spotify-tui/pull/640
Author: @dp304
Created: 10/29/2020
Status: Merged
Merged: 10/30/2020
Merged by: @Rigellute

Base: masterHead: issue-523


📝 Commits (1)

📊 Changes

3 files changed (+66 additions, -20 deletions)

View changed files

📝 src/app.rs (+54 -18)
📝 src/network.rs (+4 -0)
📝 src/ui/mod.rs (+8 -2)

📄 Description

Instead of immediately sending the API request when '<' or '>' is
pressed, the offsets are accummulated. The seek request is sent
periodically along with the playback update request.

Also, the progress bar in the UI shows the desired seek position even
before the actual seek is performed.


🔄 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/640 **Author:** [@dp304](https://github.com/dp304) **Created:** 10/29/2020 **Status:** ✅ Merged **Merged:** 10/30/2020 **Merged by:** [@Rigellute](https://github.com/Rigellute) **Base:** `master` ← **Head:** `issue-523` --- ### 📝 Commits (1) - [`78f33e3`](https://github.com/Rigellute/spotify-tui/commit/78f33e37853723c8847c1843ad720eb5d5eb0a69) Optimize seek (#523) ### 📊 Changes **3 files changed** (+66 additions, -20 deletions) <details> <summary>View changed files</summary> 📝 `src/app.rs` (+54 -18) 📝 `src/network.rs` (+4 -0) 📝 `src/ui/mod.rs` (+8 -2) </details> ### 📄 Description Instead of immediately sending the API request when '<' or '>' is pressed, the offsets are accummulated. The seek request is sent periodically along with the playback update request. Also, the progress bar in the UI shows the desired seek position even before the actual seek is performed. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-28 14:53:55 +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#945
No description provided.