Support "songs" ampache API action for proper rhythmbox support

This commit is contained in:
NIEK Antoine 2012-04-25 21:15:50 -04:00 committed by Robin Appelman
parent afeb9d9cbf
commit c6f034a5d2
1 changed files with 3 additions and 0 deletions

View File

@ -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;