summaryrefslogtreecommitdiffstats
path: root/templates/show_localplay_playlist.inc.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2009-02-02 02:01:23 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2009-02-02 02:01:23 +0000
commit0a2b41b143419e85b968a675c8b83a1c15615399 (patch)
tree06eacdb8a9811e3d541130531fdc8a516029a43c /templates/show_localplay_playlist.inc.php
parenta6ad247623c807334c19a7daba03d2aad522c79f (diff)
downloadampache-0a2b41b143419e85b968a675c8b83a1c15615399.tar.gz
ampache-0a2b41b143419e85b968a675c8b83a1c15615399.tar.bz2
ampache-0a2b41b143419e85b968a675c8b83a1c15615399.zip
fixed localplay not showing current playing song and clear playlist not refreshing the screen
Diffstat (limited to 'templates/show_localplay_playlist.inc.php')
-rw-r--r--templates/show_localplay_playlist.inc.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/show_localplay_playlist.inc.php b/templates/show_localplay_playlist.inc.php
index fe0eb84b..d59875c7 100644
--- a/templates/show_localplay_playlist.inc.php
+++ b/templates/show_localplay_playlist.inc.php
@@ -19,6 +19,8 @@
*/
$localplay = new Localplay(Config::get('localplay_controller'));
+$localplay->connect();
+$status = $localplay->status();
?>
<?php require Config::get('prefix') . '/templates/list_header.inc.php'; ?>
<table class="tabledata" cellpadding="0" cellspacing="0">