# HG changeset patch # User reimar # Date 1222880739 0 # Node ID 1eee249e519d1f705e158380503a43e23351c092 # Parent 427fec1638703c306ac5b842086393420aa2a182 mpctx->playtree is a node, files can not be directly appended to it, append them to its child instead. diff -r 427fec163870 -r 1eee249e519d command.c --- a/command.c Wed Oct 01 17:05:30 2008 +0000 +++ b/command.c Wed Oct 01 17:05:39 2008 +0000 @@ -2637,7 +2637,7 @@ play_tree_add_file(e, cmd->args[0].v.s); if (cmd->args[1].v.i) // append - play_tree_append_entry(mpctx->playtree, e); + play_tree_append_entry(mpctx->playtree->child, e); else { // Go back to the starting point. while (play_tree_iter_up_step @@ -2659,7 +2659,7 @@ MSGTR_PlaylistLoadUnable, cmd->args[0].v.s); else { if (cmd->args[1].v.i) // append - play_tree_append_entry(mpctx->playtree, e); + play_tree_append_entry(mpctx->playtree->child, e); else { // Go back to the starting point. while (play_tree_iter_up_step