node: fixup default string for agl_player nodes.
authorYannick Gicquel <yannick.gicquel@iot.bzh>
Wed, 28 Sep 2016 07:48:31 +0000 (09:48 +0200)
committerYannick Gicquel <yannick.gicquel@iot.bzh>
Tue, 11 Oct 2016 15:09:07 +0000 (17:09 +0200)
Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
node.c

diff --git a/node.c b/node.c
index c46f842..8ebfbc1 100644 (file)
--- a/node.c
+++ b/node.c
@@ -157,7 +157,7 @@ agl_node_type agl_node_type_from_str (const char *str)
 
        if (pa_streq (str, "agl_radio"))
                type = agl_radio;
-       else if (pa_streq (str, "agl_music"))
+       else if (pa_streq (str, "agl_player"))
                type = agl_player;
        else if (pa_streq (str, "agl_navigator"))
                type = agl_navigator;