[PR #977] Pull request for implementing a play from random song from "Liked" and play a random song from a random playlist #1110

Open
opened 2026-02-28 14:54:29 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Rigellute/spotify-tui/pull/977
Author: @iainrobb
Created: 4/22/2022
Status: 🔄 Open

Base: masterHead: master


📝 Commits (7)

📊 Changes

10 files changed (+229 additions, -3 deletions)

View changed files

.vscode/launch.json (+45 -0)
📝 src/app.rs (+117 -0)
📝 src/cli/cli_app.rs (+9 -0)
📝 src/cli/handle.rs (+2 -2)
📝 src/cli/util.rs (+1 -1)
📝 src/handlers/mod.rs (+3 -0)
📝 src/main.rs (+6 -0)
📝 src/network.rs (+34 -0)
📝 src/ui/help.rs (+7 -0)
📝 src/user_config.rs (+5 -0)

📄 Description

The first task is about the user being able to play liked song from the liked list such as the command. "play --name liked --liked --random"
The second task is about the user now can use the letter “f” as input in the application to obtain a random song from a playlist they made or follow, without even leaving the current playlist table block they are currently in. This even implements a feature the spotify application itself does not have, as when we randomly select a song from one of the playlists, we do not use the “shuffle” feature, as our screenshots below demonstrate. We even added a help message in the helper key, when a user enters spotify-tui, the user will enter the “?” key to see what they can do, and what we implement “f” is shown at the bottom of the help key list.


🔄 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/977 **Author:** [@iainrobb](https://github.com/iainrobb) **Created:** 4/22/2022 **Status:** 🔄 Open **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (7) - [`d1d0505`](https://github.com/Rigellute/spotify-tui/commit/d1d0505e029e5fa9145574bb3981b628e98543a5) new commit stuff - [`92f96b4`](https://github.com/Rigellute/spotify-tui/commit/92f96b4551eaf1c33ea61693d4a81d45e32469cf) new - [`10ad0b6`](https://github.com/Rigellute/spotify-tui/commit/10ad0b6312de25bf48889e3cab3e3c44946d137d) new test - [`d7d6232`](https://github.com/Rigellute/spotify-tui/commit/d7d6232223d3338a9a8870a5785ca05afe8d3f6c) new json test - [`014a137`](https://github.com/Rigellute/spotify-tui/commit/014a13791f8eb1e177d22bfc2ac212dd9f4815a0) added some stuff - [`0d83493`](https://github.com/Rigellute/spotify-tui/commit/0d83493e9417b09bcc586ab7ad4511089f5c4a49) add comment - [`e24c171`](https://github.com/Rigellute/spotify-tui/commit/e24c1716b409a44075fd46adfd32845d5acdddf7) final push before pull request for review ### 📊 Changes **10 files changed** (+229 additions, -3 deletions) <details> <summary>View changed files</summary> ➕ `.vscode/launch.json` (+45 -0) 📝 `src/app.rs` (+117 -0) 📝 `src/cli/cli_app.rs` (+9 -0) 📝 `src/cli/handle.rs` (+2 -2) 📝 `src/cli/util.rs` (+1 -1) 📝 `src/handlers/mod.rs` (+3 -0) 📝 `src/main.rs` (+6 -0) 📝 `src/network.rs` (+34 -0) 📝 `src/ui/help.rs` (+7 -0) 📝 `src/user_config.rs` (+5 -0) </details> ### 📄 Description The first task is about the user being able to play liked song from the liked list such as the command. "play --name liked --liked --random" The second task is about the user now can use the letter “f” as input in the application to obtain a random song from a playlist they made or follow, without even leaving the current playlist table block they are currently in. This even implements a feature the spotify application itself does not have, as when we randomly select a song from one of the playlists, we do not use the “shuffle” feature, as our screenshots below demonstrate. We even added a help message in the helper key, when a user enters spotify-tui, the user will enter the “?” key to see what they can do, and what we implement “f” is shown at the bottom of the help key list. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
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#1110
No description provided.