diff options
| author | Lars-Dominik Braun <PromyLOPh@lavabit.com> | 2010-07-30 17:45:36 +0200 |
|---|---|---|
| committer | Lars-Dominik Braun <PromyLOPh@lavabit.com> | 2010-07-30 17:45:36 +0200 |
| commit | d3046d174245920c01f2e19fa43f2cccdba9540b (patch) | |
| tree | d2893ab841490e9e88f21ec6653e227a7b80c395 /src/main.c | |
| parent | df4022ccda870f2a1b0e4e254f4a298da48fc4f9 (diff) | |
| download | pianobar-d3046d174245920c01f2e19fa43f2cccdba9540b.tar.gz pianobar-d3046d174245920c01f2e19fa43f2cccdba9540b.tar.bz2 pianobar-d3046d174245920c01f2e19fa43f2cccdba9540b.zip | |
Feature: Custom station sorting
Sort stations by name and/or isquickmix.
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -175,7 +175,8 @@ int main (int argc, char **argv) { } /* no autostart? ask the user */ if (curStation == NULL) { - curStation = BarUiSelectStation (&ph, "Select station: ", stdin); + curStation = BarUiSelectStation (&ph, "Select station: ", + settings.sortOrder, stdin); } if (curStation != NULL) { BarUiPrintStation (curStation); |
