Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] play without looping #181

Open
pt8o opened this issue Dec 7, 2023 · 2 comments
Open

[Feature request] play without looping #181

pt8o opened this issue Dec 7, 2023 · 2 comments

Comments

@pt8o
Copy link

pt8o commented Dec 7, 2023

Hello, I've followed some of the issues/PR history. It looks like the playlist used to be like a "queue" where it deleted the songs after playing. Then it changed to be more like a conventional playlist, so that the songs don't get removed after being played.

That's all fine, but now I don't see a way to make it so that a playlist doesn't loop? The three modes I see are (1) loop the whole playlist, (2) loop one track, (3) randomize the playlist. Is there a way to make it just play the list of songs from beginning to end, and then stop playing?

@tramhao
Copy link
Owner

tramhao commented Dec 10, 2023

This is a feature that I miss too. At this moment, I think the first thing will be, move the playlist logic to server completely, so that the tui doesn't have to worry about playlist management.

@hasezoey
Copy link
Contributor

hasezoey commented Mar 9, 2024

It would be easy adding a new Loop mode and the basic operation, but without doing major other refactorings, it would continue to loop the first / last track of the playlist once reaching it.
This is because currently the assumption everywhere is that there will be a next / previous track available and that the Status::Stopped state will get instantly reset once the playlist has something playable (example this state occurs if the playlist is empty)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants