summaryrefslogtreecommitdiffstats
path: root/lib/class/song.class.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2009-02-08 00:43:10 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2009-02-08 00:43:10 +0000
commit45486a28fc09ebbd704a283591c569eaf26bc42d (patch)
treeb557aacf22f05d6789876b69b84bbc427e58640d /lib/class/song.class.php
parent0de67b06828e66c16c758a8686b160af4f5321e1 (diff)
downloadampache-45486a28fc09ebbd704a283591c569eaf26bc42d.tar.gz
ampache-45486a28fc09ebbd704a283591c569eaf26bc42d.tar.bz2
ampache-45486a28fc09ebbd704a283591c569eaf26bc42d.zip
standardize media interface stuff a bit
Diffstat (limited to 'lib/class/song.class.php')
-rw-r--r--lib/class/song.class.php13
1 files changed, 12 insertions, 1 deletions
diff --git a/lib/class/song.class.php b/lib/class/song.class.php
index 66a36d16..dbe3c05a 100644
--- a/lib/class/song.class.php
+++ b/lib/class/song.class.php
@@ -19,7 +19,7 @@
*/
-class Song extends database_object {
+class Song extends database_object implements media {
/* Variables from DB */
public $id;
@@ -825,6 +825,17 @@ class Song extends database_object {
} // get_info_from_filename
/**
+ * play_url
+ * This function takes all the song information and correctly formats a
+ * a stream URL taking into account the downsmapling mojo and everything
+ * else, this is the true function
+ */
+ public function play_url($oid,$session_id='',$force_http='') {
+
+
+ } // play_url
+
+ /**
* get_url
* This function takes all the song information and correctly formats
* a stream URL taking into account the downsampling mojo and everything