summaryrefslogtreecommitdiffstats
path: root/lib/class/radio.class.php
diff options
context:
space:
mode:
authorPaul Arthur <flowerysong00@yahoo.com>2013-01-21 11:56:56 -0500
committerPaul Arthur <paul.arthur@flowerysong.com>2013-01-23 13:11:16 -0500
commit9340ff287c01eb9e5ebd0301dc9988f3536221dc (patch)
treecaabe3705c6d7bbb58bee4aa797d2750c8980712 /lib/class/radio.class.php
parent37e09a642828a06a5f19a547729f40b7e2433772 (diff)
downloadampache-9340ff287c01eb9e5ebd0301dc9988f3536221dc.tar.gz
ampache-9340ff287c01eb9e5ebd0301dc9988f3536221dc.tar.bz2
ampache-9340ff287c01eb9e5ebd0301dc9988f3536221dc.zip
Rework transcoding
Remove some of the roundabout complexity that had built up. Push people toward using a single, flexible tool for most of their transcoding needs. Increase backend and configuration flexibility to support user-requested format changes (e.g. for an HTML5 player); this functionality is not yet exposed.
Diffstat (limited to 'lib/class/radio.class.php')
-rw-r--r--lib/class/radio.class.php20
1 files changed, 9 insertions, 11 deletions
diff --git a/lib/class/radio.class.php b/lib/class/radio.class.php
index d4be4f76..a8d33ef3 100644
--- a/lib/class/radio.class.php
+++ b/lib/class/radio.class.php
@@ -188,13 +188,11 @@ class Radio extends database_object implements media {
} // delete
/**
- * native_stream
+ * get_stream_types
* This is needed by the media interface
*/
- public function native_stream() {
-
-
-
+ public function get_stream_types() {
+ return array('foreign');
} // native_stream
/**
@@ -220,13 +218,13 @@ class Radio extends database_object implements media {
} // has_flag
/**
- * stream_cmd
- * Needed by the media interface
+ * get_transcode_settings
+ *
+ * This will probably never be implemented
*/
- public function stream_cmd() {
-
-
- } // stream_cmd
+ public function get_transcode_settings() {
+ return false;
+ }
} //end of radio class