summaryrefslogtreecommitdiffstats
path: root/lib/class/song.class.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-05-06 22:19:37 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-05-06 22:19:37 +0000
commit0dcbad80cde204cfda078b5fc16a92c41d74c87d (patch)
treec4ed21ecdd134638c184b31fe38e863c5c0e9a5b /lib/class/song.class.php
parent691c838e90e759a7461cec657d95a4f1af9f46c6 (diff)
downloadampache-0dcbad80cde204cfda078b5fc16a92c41d74c87d.tar.gz
ampache-0dcbad80cde204cfda078b5fc16a92c41d74c87d.tar.bz2
ampache-0dcbad80cde204cfda078b5fc16a92c41d74c87d.zip
added in basic browse by song functionality with filtering of unplayed
Diffstat (limited to 'lib/class/song.class.php')
-rw-r--r--lib/class/song.class.php26
1 files changed, 6 insertions, 20 deletions
diff --git a/lib/class/song.class.php b/lib/class/song.class.php
index 7711ea95..ca1b5bbf 100644
--- a/lib/class/song.class.php
+++ b/lib/class/song.class.php
@@ -126,12 +126,12 @@ class Song {
} // fill_ext_info
- /*!
- @function format_type
- @discussion gets the type of song we are trying to
- play, used to set mime headers and to trick
- players into playing them correctly
- */
+ /**
+ * format_type
+ * gets the type of song we are trying to
+ * play, used to set mime headers and to trick
+ * players into playing them correctly
+ */
function format_type($override='') {
// If we pass an override for downsampling or whatever then use it
@@ -633,20 +633,6 @@ class Song {
} // _update_ext_item
- /*!
- @function format_song
- @discussion this takes a song object
- and formats it for display
- and returns the object cleaned up
- */
- function format_song() {
-
- $this->format();
-
- return true;
-
- }
-
/**
* format
* This takes the current song object