youTubeService = $youTubeService; } /** * Get extra information about a song. * * @return JsonResponse */ public function show(Song $song) { return response()->json([ 'lyrics' => $song->lyrics, 'album_info' => $this->mediaInformationService->getAlbumInformation($song->album), 'artist_info' => $this->mediaInformationService->getArtistInformation($song->artist), 'youtube' => $this->youTubeService->searchVideosRelatedToSong($song), ]); } }