diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2012-05-01 12:12:37 +0200 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2012-05-01 12:12:37 +0200 |
commit | 94c1eec169db66bb4ad9d633342aead3b0f35b9f (patch) | |
tree | 969bcb05d5fcbe9e48a4b2ecd83e8fcc22e078f7 /src/main.c | |
parent | 2996dda98357643334a334a6fcac05cd0c9065ea (diff) | |
download | pianobar-94c1eec169db66bb4ad9d633342aead3b0f35b9f.tar.gz pianobar-94c1eec169db66bb4ad9d633342aead3b0f35b9f.tar.bz2 pianobar-94c1eec169db66bb4ad9d633342aead3b0f35b9f.zip |
Don’t hardcode passwords
It’s a bad idea to hardcode these, although playback does not work with
non-android login yet.
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -341,11 +341,13 @@ int main (int argc, char **argv) { /* init some things */ ao_initialize (); gnutls_global_init (); - PianoInit (&app.ph); BarSettingsInit (&app.settings); BarSettingsRead (&app.settings); + PianoInit (&app.ph, app.settings.partnerUser, app.settings.partnerPassword, + app.settings.device, app.settings.inkey, app.settings.outkey); + BarUiMsg (&app.settings, MSG_NONE, "Welcome to " PACKAGE " (" VERSION ")! "); if (app.settings.keys[BAR_KS_HELP] == BAR_KS_DISABLED) { |