firepup-site/public/dynamic/spotify.ejs

30 lines
1.4 KiB
Text
Raw Normal View History

2023-10-01 23:39:12 +00:00
<!DOCTYPE html>
<html>
<head>
<title>FP650 - Youngchief's Spotify</title>
<link href="https://firepup650.repl.co/style.css" rel="stylesheet" type="text/css" />
<link rel="icon" type="image/x-icon" href="https://firepup650.repl.co/favicon.ico">
<link href="https://bouncecss.bookie0.repl.co/bounce.css" rel="stylesheet" type="text/css" />
2023-10-02 01:28:54 +00:00
<!-- <script async src="https://api.countapi.xyz/hit/firepup650.repl.co/visits"></script> -->
<!-- <script async src="https://api.countapi.xyz/hit/firepup650.repl.co/YCSP"></script> -->
2023-10-01 23:39:12 +00:00
</head>
<body class=center>
<h3 class=rainbow>Youngchief's Spotify:</h3>
<% if (typeof err == 'undefined') { %>
<p class=rainbow>Status: OK</p>
<p class=rainbow>Currently listening: <%= playing %></p>
<p class=rainbow>Progress in track (in miliseconds): <%= progress %>/<%= len %></p>
<p class=rainbow>Unique song ID (isrc): <%= isrc %></p>
<p class=rainbow>Song Name: <%= name %></p>
<p class=rainbow>Artist(s): <%= cont %></p>
<% } else { %>
<p class=rainbow>Status: ERROR</p>
<p class=rainbow>Error Origin: <%= end %></p>
<p class=rainbow>Error: <%= err %></p>
<% } %>
<p class=rainbow>Raw data: <%= raw %></p>
<p class=rainbow>Cover Art:</p>
<img src="<%= cal %>" class="no-bounce">
<script src="https://firepup650.repl.co/footer.js"></script>
</body>
</html>