From a195a94be7aa14d839c77275814a52d2ee6b8b6f Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Wed, 8 Jul 2009 20:51:10 +0200 Subject: Initial pandora one support (higher mp3 bitrates) Time display should be fixed. I need feedback! --- src/pianobar.1 | 8 ++------ src/settings.c | 2 ++ 2 files changed, 4 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/pianobar.1 b/src/pianobar.1 index fdc3b88..434233d 100644 --- a/src/pianobar.1 +++ b/src/pianobar.1 @@ -109,9 +109,9 @@ Show next songs in playlist. Select quickmix stations. .TP -.B audio_format = {aacplus,mp3} +.B audio_format = {aacplus,mp3,mp3-hifi} Select audio format. aacplus is default if both libraries (faad, mad) are -available. +available. mp3-hifi is available for Pandora One customers only. .TP .B autostart_station = stationid @@ -170,10 +170,6 @@ is the keybinding for "next song". If you customized your keybindings you have t .B pianobar. .I This behaviour may change in the future! -Please note: Commands like "select station" or "delete station" don't make -sense at the moment, because the expected input is read from stdin, but not -from the fifo. - Another example: while true; do; diff --git a/src/settings.c b/src/settings.c index dfff76b..077be60 100644 --- a/src/settings.c +++ b/src/settings.c @@ -224,6 +224,8 @@ void BarSettingsRead (BarSettings_t *settings) { settings->audioFormat = PIANO_AF_AACPLUS; } else if (strcmp (val, "mp3") == 0) { settings->audioFormat = PIANO_AF_MP3; + } else if (strcmp (val, "mp3-hifi") == 0) { + settings->audioFormat = PIANO_AF_MP3_HI; } } else if (strcmp ("autostart_station", key) == 0) { settings->autostartStation = strdup (val); -- cgit v1.2.3