From 216e691dfa53a28af8beca7aad2bf0ffb71dba2c Mon Sep 17 00:00:00 2001 From: Karl 'vollmerk' Vollmer Date: Mon, 23 Jul 2007 06:08:14 +0000 Subject: - 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 --- lib/general.lib.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/general.lib.php') diff --git a/lib/general.lib.php b/lib/general.lib.php index 1652d28a..56c75c28 100644 --- a/lib/general.lib.php +++ b/lib/general.lib.php @@ -453,7 +453,7 @@ function get_global_popular($type) { $text = "$song->f_artist_full - $song->title"; /* Add to array */ $song->link = "id\" title=\"". scrub_out($text) ."\">" . - scrub_out(truncate_with_ellipse($text, Config::get('ellipse_threshold_title')+3)) . " (" . $r['count'] . ")"; + scrub_out(truncate_with_ellipsis($text, Config::get('ellipsis_threshold_title')+3)) . " (" . $r['count'] . ")"; $items[] = $song; } // if it's a song @@ -462,7 +462,7 @@ function get_global_popular($type) { $artist = new Artist($r['object_id']); $artist->format(); $artist->link = "full_name) ."\">" . - truncate_with_ellipse($artist->full_name, Config::get('ellipse_threshold_artist')+3) . " (" . $r['count'] . ")"; + truncate_with_ellipsis($artist->full_name, Config::get('ellipsis_threshold_artist')+3) . " (" . $r['count'] . ")"; $items[] = $artist; } // if type isn't artist @@ -471,7 +471,7 @@ function get_global_popular($type) { $album = new Album($r['object_id']); $album->format(); $album->link = "name) ."\">" . - scrub_out(truncate_with_ellipse($album->name,Config::get('ellipse_threshold_album')+3)) . " (" . $r['count'] . ")"; + scrub_out(truncate_with_ellipsis($album->name,Config::get('ellipsis_threshold_album')+3)) . " (" . $r['count'] . ")"; $items[] = $album; } // else not album @@ -479,7 +479,7 @@ function get_global_popular($type) { $genre = new Genre($r['object_id']); $genre->format(); $genre->link = "name) . "\">" . - scrub_out(truncate_with_ellipse($genre->name,Config::get('ellipse_threshold_title')+3)) . " (" . $r['count'] . ")"; + scrub_out(truncate_with_ellipsis($genre->name,Config::get('ellipsis_threshold_title')+3)) . " (" . $r['count'] . ")"; $items[] = $genre; } // end if genre } // end foreach -- cgit