From dfbe65e1bf0a4d7cff1e2d31a2ade18de6756196 Mon Sep 17 00:00:00 2001 From: Karl 'vollmerk' Vollmer Date: Tue, 3 Jan 2006 09:21:29 +0000 Subject: whole new playlists files new coolness supported but not implmented, playback works but playlist edit functions are still untested... --- lib/song.php | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'lib/song.php') diff --git a/lib/song.php b/lib/song.php index ba453d5c..b24c94db 100644 --- a/lib/song.php +++ b/lib/song.php @@ -19,12 +19,13 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* - @header Song Library - @discussion This library handles song related functions.... woohoo! - This library is defunt, please try use the song class if possible -*/ +/** + * Song Library + * This is for functions that don't make sense in the class because we aren't looking + * at a specific song... these should be general function that return arrays of songs + * and the like + */ /*! @function get_songs @@ -35,9 +36,6 @@ function get_songs($sql, $action=0) { $db_results = mysql_query($sql, dbh()); while ($r = mysql_fetch_array($db_results)) { -// $song_info = get_songinfo($r['id']); -// if ($action === 'format') { $song = format_song($song_info); } -// else { $song = $song_info; } $results[] = $r['id']; } @@ -89,6 +87,4 @@ function get_popular_songs( $threshold, $type, $user_id = '' ) { } // get_popular_songs() - - ?> -- cgit