firepup-site/public/dynamic/spotify.ejs

33 lines
1.3 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="/style.css" rel="stylesheet" type="text/css" />
<link rel="icon" type="image/x-icon" href="/favicon.ico">
<link href="/styles/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>
<span 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">
</span>
<script src="/footer.js"></script>
2023-10-01 23:39:12 +00:00
</body>
</html>