browser: make sorting optional

This adds a new option, "noop", to browser_sort_mode. If this mode
is selected, no sorting is done in the browser view, and the elements
are shown in the same order as received from the MPD server.
This commit is contained in:
Trygve Aaberge
2014-08-29 17:10:40 +02:00
committed by Andrzej Rybczak
parent 49f53c07bb
commit 9e8dc741e5
7 changed files with 29 additions and 13 deletions

View File

@@ -109,7 +109,7 @@ Format for albums' list in Tag editor.
Song format for window title.
.TP
.B browser_sort_mode
Determines sort mode for browser. Possible values are "name", "mtime" and "format".
Determines sort mode for browser. Possible values are "name", "mtime", "format" and "noop".
.TP
.B browser_sort_format
Format to use for sorting songs in browser. For this option to be effective, browser_sort_mode must be set to "format".