diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2012-05-07 12:31:00 +0200 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2012-05-07 12:31:00 +0200 |
commit | 6b2b961db41088cea59b05a50599e5c0abea07d4 (patch) | |
tree | 13004f80e3ed48bb6a04da7be776cc54964e3ae9 /src | |
parent | e7596998032c586bd8baf02ad15c06ed15c67909 (diff) | |
download | pianobar-6b2b961db41088cea59b05a50599e5c0abea07d4.tar.gz pianobar-6b2b961db41088cea59b05a50599e5c0abea07d4.tar.bz2 pianobar-6b2b961db41088cea59b05a50599e5c0abea07d4.zip |
Add default RPC host
Fixes last commit.
Diffstat (limited to 'src')
-rw-r--r-- | src/settings.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/settings.c b/src/settings.c index 0c0d31d..3541e28 100644 --- a/src/settings.c +++ b/src/settings.c @@ -35,6 +35,8 @@ THE SOFTWARE. #include <limits.h> #include <assert.h> +#include <piano.h> + #include "settings.h" #include "config.h" #include "ui_dispatch.h" @@ -136,6 +138,7 @@ void BarSettingsRead (BarSettings_t *settings) { settings->npSongFormat = strdup ("\"%t\" by \"%a\" on \"%l\"%r%@%s"); settings->npStationFormat = strdup ("Station \"%n\" (%i)"); settings->listSongFormat = strdup ("%i) %a - %t%r"); + settings->rpcHost = strdup (PIANO_RPC_HOST); settings->partnerUser = strdup ("android"); settings->partnerPassword = strdup ("AC7IBG09A3DTSYM4R41UJWL07VLN8JI7"); settings->device = strdup ("android-generic"); |