diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2009-03-15 16:16:04 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2009-03-15 16:16:04 +0000 |
commit | fdb7c58cb160c5f8f0f0327c11cba93226e062f6 (patch) | |
tree | 6cf57a740799a3a9b9dc9a035ccb66e1e54b053f /lib/ui.lib.php | |
parent | 86ff429b366080b9203e5ddb1740339c64013853 (diff) | |
download | ampache-fdb7c58cb160c5f8f0f0327c11cba93226e062f6.tar.gz ampache-fdb7c58cb160c5f8f0f0327c11cba93226e062f6.tar.bz2 ampache-fdb7c58cb160c5f8f0f0327c11cba93226e062f6.zip |
fix typo causing height to not display on art retrival, update to db allowing gc of tmp_browse, add extension to api album art image urls
Diffstat (limited to 'lib/ui.lib.php')
-rw-r--r-- | lib/ui.lib.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/ui.lib.php b/lib/ui.lib.php index 93e8aeed..5a451a74 100644 --- a/lib/ui.lib.php +++ b/lib/ui.lib.php @@ -844,5 +844,21 @@ function toggle_visible($element) { } // toggle_visible +/** + * show_now_playing + * This shows the now playing templates and does some garbage colleciont + * this should really be somewhere else + */ +function show_now_playing() { + + Stream::gc_session(); + Stream::gc_now_playing(); + + $web_path = Config::get('web_path'); + $results = Stream::get_now_playing(); + require_once Config::get('prefix') . '/templates/show_now_playing.inc.php'; + +} // show_now_playing + ?> |