mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-03 09:49:30 +02:00
- 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
This commit is contained in:
parent
84eca6a3d5
commit
216e691dfa
22 changed files with 563 additions and 59 deletions
|
@ -954,10 +954,10 @@ function show_catalog_select($name='catalog',$catalog_id=0,$style='') {
|
|||
|
||||
echo "<select name=\"$name\" style=\"$style\">\n";
|
||||
|
||||
$sql = "SELECT id, name FROM catalog ORDER BY name";
|
||||
$db_results = mysql_query($sql, dbh());
|
||||
$sql = "SELECT `id`, `name` FROM `catalog` ORDER BY `name`";
|
||||
$db_results = Dba::query($sql);
|
||||
|
||||
while ($r = mysql_fetch_assoc($db_results)) {
|
||||
while ($r = Dba::fetch_assoc($db_results)) {
|
||||
$selected = '';
|
||||
if ($r['id'] == $catalog_id) {
|
||||
$selected = "selected=\"selected\"";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue