Skip to content
Snippets Groups Projects
Commit c6f034a5 authored by NIEK Antoine's avatar NIEK Antoine Committed by Robin Appelman
Browse files

Support "songs" ampache API action for proper rhythmbox support

parent afeb9d9c
Branches
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment