diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-11-05 21:48:43 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-11-05 21:48:43 +0000 |
commit | a8589cef1e311a032a67ecdc61e2b73197373288 (patch) | |
tree | cfd486596c2126247acfca5a026db2c27cf06277 /tv.php | |
parent | f24fa20acbd2d7ff7175dab391e75f743c634e87 (diff) | |
download | ampache-a8589cef1e311a032a67ecdc61e2b73197373288.tar.gz ampache-a8589cef1e311a032a67ecdc61e2b73197373288.tar.bz2 ampache-a8589cef1e311a032a67ecdc61e2b73197373288.zip |
working democratic play
Diffstat (limited to 'tv.php')
-rw-r--r-- | tv.php | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -18,12 +18,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ - require_once('lib/init.php'); -/* Additional Library for tv stuff */ -require_once (conf('prefix') . '/lib/democratic.lib.php'); - $dbh = dbh(); $web_path = conf('web_path'); @@ -44,10 +40,12 @@ switch ($action) { /* Re-generate the playlist */ $tmp_playlist = new tmpPlaylist($id); + $songs = $tmp_playlist->get_items(); require_once(conf('prefix') . '/templates/show_tv.inc.php'); break; default: $tmp_playlist = get_democratic_playlist('-1'); + $songs = $tmp_playlist->get_items(); require_once(conf('prefix') . '/templates/show_tv.inc.php'); break; } // end switch on action |