Support "songs" ampache API action for proper rhythmbox support
This commit is contained in:
parent
afeb9d9cbf
commit
c6f034a5d2
|
@ -39,6 +39,9 @@ foreach($arguments as &$argument){
|
||||||
if(isset($arguments['action'])){
|
if(isset($arguments['action'])){
|
||||||
OC_Log::write('media','ampache '.$arguments['action'].' request', OC_Log::DEBUG);
|
OC_Log::write('media','ampache '.$arguments['action'].' request', OC_Log::DEBUG);
|
||||||
switch($arguments['action']){
|
switch($arguments['action']){
|
||||||
|
case 'songs':
|
||||||
|
OC_MEDIA_AMPACHE::songs($arguments);
|
||||||
|
break;
|
||||||
case 'url_to_song':
|
case 'url_to_song':
|
||||||
OC_MEDIA_AMPACHE::url_to_song($arguments);
|
OC_MEDIA_AMPACHE::url_to_song($arguments);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue