diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-10-18 05:52:06 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-10-18 05:52:06 +0000 |
commit | f64a2f4d00b801408b558917bae8f6a428931fe7 (patch) | |
tree | 3640a6ac0a94c00d021835a6cf94d83ec7377ccb /localplay.php | |
parent | 15c56f21f2a74c8d25e8d74b2cc4b4020e9db74f (diff) | |
download | ampache-f64a2f4d00b801408b558917bae8f6a428931fe7.tar.gz ampache-f64a2f4d00b801408b558917bae8f6a428931fe7.tar.bz2 ampache-f64a2f4d00b801408b558917bae8f6a428931fe7.zip |
fixed admin prefs, flushed out localplay stuff, tweaked filters on browse
Diffstat (limited to 'localplay.php')
-rw-r--r-- | localplay.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/localplay.php b/localplay.php index f43abb26..2855d0c3 100644 --- a/localplay.php +++ b/localplay.php @@ -54,9 +54,14 @@ switch ($_REQUEST['action']) { $fields = $localplay->get_instance_fields(); require_once Config::get('prefix') . '/templates/show_localplay_instances.inc.php'; break; - case 'show_songs': + case 'show_playlist': + // Init and then connect to our localplay instance $localplay = new Localplay($GLOBALS['user']->prefs['localplay_controller']); + $localplay->connect(); + // Pull the current playlist and require the template + $objects = $localplay->get(); + require_once Config::get('prefix') . '/templates/show_localplay_playlist.inc.php'; break; case 'delete_song': $song_id = scrub_in($_REQUEST['song_id']); |