summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLars-Dominik Braun <PromyLOPh@gmail.com>2008-07-03 16:03:02 +0200
committerLars-Dominik Braun <PromyLOPh@gmail.com>2008-07-03 16:03:02 +0200
commit66ad24c2a61a79815e738244a16cc0f7edd6f35e (patch)
tree2130bb3cf967da9513b31829d8c0577e3a4b3115 /src
parent40980e2fcc19d8647778cb868139c0da8a85e6a9 (diff)
downloadpianobar-windows-66ad24c2a61a79815e738244a16cc0f7edd6f35e.tar.gz
pianobar-windows-66ad24c2a61a79815e738244a16cc0f7edd6f35e.tar.bz2
pianobar-windows-66ad24c2a61a79815e738244a16cc0f7edd6f35e.zip
piano: Shared station support for CreateStation
Diffstat (limited to 'src')
-rw-r--r--src/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 2cfc9a6..869092c 100644
--- a/src/main.c
+++ b/src/main.c
@@ -426,7 +426,8 @@ int main (int argc, char **argv) {
musicId = BarUiSelectMusicId (&ph);
if (musicId != NULL) {
BarUiMsg ("Creating station... ");
- if (PianoCreateStation (&ph, musicId) == PIANO_RET_OK) {
+ if (PianoCreateStation (&ph, "mi", musicId) ==
+ PIANO_RET_OK) {
BarUiMsg ("Ok.\n");
} else {
BarUiMsg ("Error.\n");