mirror of
https://github.com/koel/koel
synced 2024-12-21 10:03:10 +00:00
19 lines
416 B
PHP
19 lines
416 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers\API\MediaInformation;
|
|
|
|
use App\Models\Album;
|
|
use Illuminate\Http\JsonResponse;
|
|
|
|
class AlbumController extends Controller
|
|
{
|
|
/**
|
|
* Get extra information about an album via Last.fm.
|
|
*
|
|
* @return JsonResponse
|
|
*/
|
|
public function show(Album $album)
|
|
{
|
|
return response()->json($this->mediaInformationService->getAlbumInformation($album));
|
|
}
|
|
}
|