diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-07-23 06:08:14 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-07-23 06:08:14 +0000 |
commit | 216e691dfa53a28af8beca7aad2bf0ffb71dba2c (patch) | |
tree | 8b371e856d8107832a724f1ee0ad42f270435d0a /templates/show_live_streams.inc.php | |
parent | 84eca6a3d59fc591a7e28b3d7e0c11746dc837fc (diff) | |
download | ampache-216e691dfa53a28af8beca7aad2bf0ffb71dba2c.tar.gz ampache-216e691dfa53a28af8beca7aad2bf0ffb71dba2c.tar.bz2 ampache-216e691dfa53a28af8beca7aad2bf0ffb71dba2c.zip |
- Added Live Stream (Internet Radio) support
- New Database Update corrects some issues and makes internet radio possible
- Fixed ratings
- Added new Transcode preference, doesn't do anything yet
- New "Radio Stations" browse type
Diffstat (limited to 'templates/show_live_streams.inc.php')
-rw-r--r-- | templates/show_live_streams.inc.php | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/templates/show_live_streams.inc.php b/templates/show_live_streams.inc.php new file mode 100644 index 00000000..5aa5be5e --- /dev/null +++ b/templates/show_live_streams.inc.php @@ -0,0 +1,52 @@ +<?php +/* + + Copyright (c) 2001 - 2007 Ampache.org + All rights reserved. + + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License v2 + as published by the Free Software Foundation. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +*/ + +$web_path = Config::get('web_path'); + +?> +<table class="tabledata" cellspacing="0" cellpadding="0" border="0"> +<tr class="table-header" align="center"> + <td colspan="5"> + <?php if ($GLOBALS['view']->offset_limit) { require Config::get('prefix') . '/templates/list_header.inc'; } ?> + </td> +</tr> +<tr class="table-header"> + <th><?php echo _('Add'); ?></th> + <th><?php echo _('Name'); ?></th> + <th><?php echo _('Callsign'); ?></th> + <th><?php echo _('Frequency'); ?></th> + <th><?php echo _('Genre'); ?></th> + <th><?php echo _('Action'); ?> </th> +</tr> +<?php +foreach ($object_ids as $radio_id) { + $radio = new Radio($radio_id); + $radio->format(); +?> +<tr id="radio_<?php echo $radio->id; ?>" class="<?php echo flip_class(); ?>"> + <?php require Config::get('prefix') . '/templates/show_live_stream_row.inc.php'; ?> +</tr> +<?php } //end foreach ($artists as $artist) ?> +<tr class="even" align="center"> + <td colspan="4"> + <?php if ($view->offset_limit) { require (conf('prefix') . "/templates/list_header.inc"); } ?> + </td> +</tr> +</table> |