mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-05 19:41:55 +02:00
api fixes, added librefm scrobbler (untested) and fixed minor error in header file with rtl vs ltr languages also removed dead RioPlayer plugin
This commit is contained in:
parent
5bd82180f5
commit
d84e62dba7
10 changed files with 286 additions and 106 deletions
|
@ -199,8 +199,7 @@ switch ($_REQUEST['action']) {
|
|||
echo xmlData::tags(array($uid));
|
||||
break;
|
||||
case 'tag_artists':
|
||||
$tag = new tag($_REQUEST['filter']);
|
||||
$tags = Tag::get_object_tags('artist',$tag->id);
|
||||
$artists = Tag::get_tag_objects('artist',$_REQUEST['filter']);
|
||||
|
||||
xmlData::set_offset($_REQUEST['offset']);
|
||||
xmlData::set_limit($_REQUEST['limit']);
|
||||
|
@ -209,8 +208,7 @@ switch ($_REQUEST['action']) {
|
|||
echo xmlData::artists($artists);
|
||||
break;
|
||||
case 'tag_albums':
|
||||
$genre = new Genre($_REQUEST['filter']);
|
||||
$albums = $genre->get_albums();
|
||||
$albums = Tag::get_tag_objects('album',$_REQUEST['filter']);
|
||||
|
||||
xmlData::set_offset($_REQUEST['offset']);
|
||||
xmlData::set_limit($_REQUEST['limit']);
|
||||
|
@ -219,8 +217,7 @@ switch ($_REQUEST['action']) {
|
|||
echo xmlData::albums($albums);
|
||||
break;
|
||||
case 'tag_songs':
|
||||
$genre = new Genre($_REQUEST['filter']);
|
||||
$songs = $genre->get_songs();
|
||||
$songs = Tag::get_tag_objects('song',$_REQUEST['filter']);
|
||||
|
||||
xmlData::set_offset($_REQUEST['offset']);
|
||||
xmlData::set_limit($_REQUEST['limit']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue