Skip to content
Snippets Groups Projects
Commit 8fb388ae authored by David Trattnig's avatar David Trattnig
Browse files

Display show details in clock.

parent cf9e765d
No related branches found
No related tags found
No related merge requests found
...@@ -151,14 +151,15 @@ currentlyPlaying = getData("current"); ...@@ -151,14 +151,15 @@ currentlyPlaying = getData("current");
</div> </div>
<div id="right-column" class="column"> <div id="right-column" class="column">
<h2>Playing ></h2> <h2>&#9654; Playing</h2>
{#await currentlyPlaying} {#await currentlyPlaying}
<div class="spinner-border mt-5" role="status"> <div class="spinner-border mt-5" role="status">
<span class="sr-only">Loading...</span> <span class="sr-only">Loading...</span>
</div> </div>
{:then value} {:then value}
<h1>{value}</h1> <h1>{value.show.name}</h1>
<span>Type: {value.show.type}, Host: {value.show.host}</span>
<h3 class="active">{value.track.artist} - {value.track.title}</h3> <h3 class="active">{value.track.artist} - {value.track.title}</h3>
{:catch error} {:catch error}
<p style="color:red">{error.message}</p> <p style="color:red">{error.message}</p>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment