From ce8ea31fe594b290ddb3bf9f162b3138a1ce961f Mon Sep 17 00:00:00 2001 From: Frankie B Date: Fri, 18 Nov 2022 12:06:33 +0000 Subject: Re-arrange last.fm page --- inc/lastfm.inc.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'inc/lastfm.inc.php') diff --git a/inc/lastfm.inc.php b/inc/lastfm.inc.php index d0753b7..b7bbde4 100644 --- a/inc/lastfm.inc.php +++ b/inc/lastfm.inc.php @@ -1,4 +1,4 @@ -

Last.fm

+

Last.fm Profile

Now Playing: '.$nowplaying['name'].' • '.$nowplaying['artist']['#text'].''.PHP_EOL; +echo ' Last/Current Track: '.$nowplaying['name'].' • '.$nowplaying['artist']['#text'].''.PHP_EOL; $tracks_to_show = 10; @@ -49,7 +49,7 @@ curl_close($curl); if ($err) { die("cURL Error #:" . $err); } -echo '

Top '.$tracks_to_show.' Tracks (Last 7 days) Profile

'.PHP_EOL; +echo '

Top '.$tracks_to_show.' Tracks (Last 7 days)

'.PHP_EOL; echo '
    '.PHP_EOL; $toptracks_response = json_decode($toptracks_response, true); $tracks = $toptracks_response['toptracks']['track']; -- cgit v1.2.3-54-g00ecf