diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-11-14 06:44:50 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-11-14 06:44:50 +0000 |
commit | 421805ce6ab1d3b2e0a16346c544eadf2d44f8be (patch) | |
tree | 61604c8fb8cc23f8cdd196e51c41b31f37c347ae /stream.php | |
parent | cd935ce9508fac75637cac57c3d7855e1f3f754a (diff) | |
download | ampache-421805ce6ab1d3b2e0a16346c544eadf2d44f8be.tar.gz ampache-421805ce6ab1d3b2e0a16346c544eadf2d44f8be.tar.bz2 ampache-421805ce6ab1d3b2e0a16346c544eadf2d44f8be.zip |
fixed the playlist methods, they all work now... semi-bug where the rightbar does not refresh when the playlist is cleared so its not obvious it worked until a manual reload, will fix later
Diffstat (limited to 'stream.php')
-rw-r--r-- | stream.php | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -76,6 +76,12 @@ switch ($_REQUEST['action']) { } // end switch on type } // end foreach + // Check to see if 'clear' was passed if it was then we need to reset the basket + // FIXME: We need to reload the rightbar when we do this... sigh... + if ($_REQUEST['playlist_method'] == 'clear' || $GLOBALS['user']->prefs['playlist_method'] == 'clear') { + $GLOBALS['user']->playlist->clear(); + } + break; /* This is run if we need to gather info based on a tmp playlist */ case 'tmp_playlist': |