changeset 10394:59982e3c403b

Fix -shuffle with remote playlist
author albeu
date Tue, 08 Jul 2003 10:45:05 +0000
parents 122564a2df38
children 362a0e40491b
files playtree.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/playtree.c	Mon Jul 07 23:02:25 2003 +0000
+++ b/playtree.c	Tue Jul 08 10:45:05 2003 +0000
@@ -397,6 +397,8 @@
 
   for(i = 0; src->params[i].name != NULL ; i++)
     play_tree_set_param(dest,src->params[i].name,src->params[i].value);
+  if(src->flags & PLAY_TREE_RND) // pass the random flag too
+    dest->flags |= PLAY_TREE_RND;
 
 }