Remove *more* unused stuff
This commit is contained in:
parent
da992ff1b7
commit
cebb14f59c
52 changed files with 791 additions and 2984 deletions
|
|
@ -23,7 +23,6 @@ public function getCurrentTrack() {
|
|||
'api_key' => Config::get('services.lastfm.key')
|
||||
])->get('https://ws.audioscrobbler.com/2.0/');
|
||||
$data = $response->json();
|
||||
error_log($response->body());
|
||||
$track_data = $data["recenttracks"]["track"][0];
|
||||
// $image = array_column($track_data["image"], null, 'size')['large'] ?? false;
|
||||
$image = $track_data["image"][(array_key_last($track_data["image"]))] ?? false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue