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] natural sort of playlist titles? #1250

Open
ignition-ctrl opened this issue Mar 6, 2023 · 2 comments
Open

[feature request] natural sort of playlist titles? #1250

ignition-ctrl opened this issue Mar 6, 2023 · 2 comments

Comments

@ignition-ctrl
Copy link

I have added playlists with titles like "Volume 1" going up to "Volume 30". If I open up cmus, the playlist view has them sorted like this:

Volume 1 
Volume 10
Volume 11
Volume 12
Volume 13
Volume 14
Volume 15
Volume 16
Volume 17
Volume 18
Volume 19
Volume 2 
Volume 20
Volume 21
Volume 22
Volume 23
Volume 24
Volume 25
Volume 26
Volume 27
Volume 28
Volume 29
Volume 3 
Volume 30
Volume 4 
Volume 5 
Volume 6 
Volume 7 
Volume 8 
Volume 9 

A feature to sort the playlist view would be helpful. Thank you

@Niklas20114552
Copy link

Hi! This is already possible through the setting pl_sort.
Edit the file ~/.config/cmus/autosave and search for the line set pl_sort= and replace it with
set pl_sort=albumartist date album discnumber tracknumber title filename play_count.
Then just restart cmus and done.

This worked for me.

@ignition-ctrl
Copy link
Author

Hi yes, thank you for the response, however, that only affects the sorting of the songs within the playlists.
I wish to sort the playlist titles themselves in the titleview.

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

2 participants