termusic icon indicating copy to clipboard operation
termusic copied to clipboard

[Feature request] Don't remove the song from the playlist once played

Open lcheylus opened this issue 4 years ago • 9 comments

Hi, thanks for your work : termusic a great CLI tool to play my MP3 songs on Linux.

When a track from a playlist was played, it is removed from the displayed playlist. I wish an option to keep the played songs displayed in the current playlist : useful when the list contains all songs of an album.

lcheylus avatar Mar 29 '22 16:03 lcheylus

This can be done by switching the playback mode to playlist. Please press m key when focusing playlist. Thanks.

tramhao avatar Mar 30 '22 02:03 tramhao

I don't understand (or there is a bug) toggle for loop mode (key m in playlist) :

  1. First mode : when a track from a playlist was played => removed from the playlist : OK
  2. Loop mode : when a track was played => put in last position : OK (loop mode)
  3. Third mode (unamed ? don't understand the icon) : in this mode, the first song of my playlist is played on loop. Same result if I try to play next song (key n) => current song restart from the beginning. If I move with key on the 2nd song and press l to play, first and second songs are swapped.

lcheylus avatar Apr 01 '22 10:04 lcheylus

the third mod is single loop. it will replay the first song until you change to other songs manually.

tramhao avatar Apr 04 '22 13:04 tramhao

This is consider fixed. Thanks.

tramhao avatar Apr 22 '22 07:04 tramhao

Sorry, but I consider my request not closed : there is no mode to keep song displayed in the playlist once it has been played.

lcheylus avatar May 01 '22 17:05 lcheylus

If you need an example, the ncmpc+mpd media player behaves the way @lcheylus is describing. They have an option, called "consume mode", that behaves similar to how termusic behaves now, but with consume mode disabled, the songs stay in your playlist after you've played them. Your "current song" is highlighted in the playlist as you listen.

A couple of use cases: you can go back and easily start an album over, or just see your progress through it. You can see the title of the song that just finished. etc.

michaelkirk avatar May 03 '22 17:05 michaelkirk

If you need an example, the ncmpc+mpd media player behaves the way @lcheylus is describing. They have an option, called "consume mode", that behaves similar to how termusic behaves now, but with consume mode disabled, the songs stay in your playlist after you've played them. Your "current song" is highlighted in the playlist as you listen.

A couple of use cases: you can go back and easily start an album over, or just see your progress through it. You can see the title of the song that just finished. etc.

Personally I use loop mode more. Do you think it's ok? Thanks for your heads up and I will check ncmpcpp for how to handle the palylist.

tramhao avatar May 07 '22 11:05 tramhao

I usually don't like "loop" mode, I get annoyed when I realize I'm half-way through accidentally re-listening to an album.

I think different people want and expect different things with this feature, but "non-consumable" playlists are a pretty common behavior across media players that support playlists (e.g. ncmpc, vlc, itunes)

Here's a screen recording of VLC so it's clear what I mean:

https://user-images.githubusercontent.com/217057/167955682-6ea09c8a-f89a-4b17-ac2f-dce2095ece5a.mp4

With termusic you can't go back and re-play a song in the playlist.

michaelkirk avatar May 11 '22 22:05 michaelkirk

I'm working on a branch with sqlite support, with database, the playlist will be redesigned. Playlist will be save to database, and can be reopen, and will not be deleted. Currently the playlist is more like a playing queue.

tramhao avatar May 12 '22 03:05 tramhao