Browse Source

Show lyrics when available, fixes #7

Sunny 2 years ago
parent
commit
53a457fe15
1 changed files with 3 additions and 0 deletions
  1. 3 0
      pages/release.php

+ 3 - 0
pages/release.php

@@ -73,6 +73,9 @@
 
     echo "</table>";
 
+    $lyrics = $json->current->lyrics;
+    if ($lyrics) echo "<p>" . nl2br($json->current->lyrics) . "</p>";
+
     echo "</div>";
 
     $image = $document->find(".bio-pic a")->attr("href");