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 @@ 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'];