node: fixup default string for agl_player nodes.
[staging/agl-audio-plugin.git] / 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;