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 /templates/show_now_playing.inc.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 'templates/show_now_playing.inc.php')
-rw-r--r-- | templates/show_now_playing.inc.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/show_now_playing.inc.php b/templates/show_now_playing.inc.php index 9f043cc1..b5fa60e8 100644 --- a/templates/show_now_playing.inc.php +++ b/templates/show_now_playing.inc.php @@ -33,12 +33,12 @@ $link = Config::get('use_rss') ? ' ' . AmpacheRSS::get_display('nowplaying') : ' <?php show_box_top(_('Now Playing') . $link); ?> <?php foreach ($results as $item) { - $song = $item['song']; - $np_user = $item['user']; + $media = $item['media']; + $np_user = $item['client']; $agent = $item['agent']; /* If we've gotten a non-song object just skip this row */ - if (!is_object($song)) { continue; } + if (!is_object($media)) { continue; } if (!$np_user->fullname) { $np_user->fullname = "Ampache User"; } ?> <div class="np_row"> |