diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-01-03 09:21:29 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-01-03 09:21:29 +0000 |
commit | dfbe65e1bf0a4d7cff1e2d31a2ade18de6756196 (patch) | |
tree | 1036034cfcb8653f37b2e690f8b83068f98fe509 /lib/song.php | |
parent | a2cf31f96cd9ba28b1f5e7090208312a9e5b7ca9 (diff) | |
download | ampache-dfbe65e1bf0a4d7cff1e2d31a2ade18de6756196.tar.gz ampache-dfbe65e1bf0a4d7cff1e2d31a2ade18de6756196.tar.bz2 ampache-dfbe65e1bf0a4d7cff1e2d31a2ade18de6756196.zip |
whole new playlists files new coolness supported but not implmented, playback works but playlist edit functions are still untested...
Diffstat (limited to 'lib/song.php')
-rw-r--r-- | lib/song.php | 16 |
1 files changed, 6 insertions, 10 deletions
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() - - ?> |