aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNIEK Antoine <antoineniek@gmail.com>2012-04-25 21:15:50 -0400
committerRobin Appelman <icewind@owncloud.com>2012-04-29 00:47:57 +0200
commitc6f034a5d2450da38a6e32b5e24a3ff9e82f7d97 (patch)
treec39d8823f1b4f57907dc6d27e567a0dfa3d692ed
parentafeb9d9cbfdb8eb0fea3bffdf0d1ae88fddcaf7d (diff)
downloadnextcloud-server-c6f034a5d2450da38a6e32b5e24a3ff9e82f7d97.tar.gz
nextcloud-server-c6f034a5d2450da38a6e32b5e24a3ff9e82f7d97.zip
Support "songs" ampache API action for proper rhythmbox support
-rw-r--r--apps/media/server/xml.server.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/media/server/xml.server.php b/apps/media/server/xml.server.php
index deb189fbede..52978383014 100644
--- a/apps/media/server/xml.server.php
+++ b/apps/media/server/xml.server.php
@@ -39,6 +39,9 @@ foreach($arguments as &$argument){
if(isset($arguments['action'])){
OC_Log::write('media','ampache '.$arguments['action'].' request', OC_Log::DEBUG);
switch($arguments['action']){
+ case 'songs':
+ OC_MEDIA_AMPACHE::songs($arguments);
+ break;
case 'url_to_song':
OC_MEDIA_AMPACHE::url_to_song($arguments);
break;