firepup-site/public/dynamic/spotify.ejs
9pfs dfa2ad7288 Make lots of changes
I made lots of changes and removed a few leftover dependencies that got copied over from the world of Replit.

Reviewed-on: https://git.amcforum.wiki/Firepup650/firepup-site/pulls/5
Co-authored-by: 9pfs <9pfs@amcforum.wiki>
Co-committed-by: 9pfs <9pfs@amcforum.wiki>
2023-10-01 22:21:42 -04:00

30 lines
No EOL
1.3 KiB
Text

<!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" />
<!-- <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> -->
</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="/footer.js"></script>
</body>
</html>