diff --git a/Dockerfile b/Dockerfile index aa81128..12d5ee9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,4 @@ FROM nginx:alpine COPY site/ /usr/share/nginx/html/ +RUN cd /usr/share/nginx/html/mp3s && zip -0 ../interpretations-full-album.zip *.mp3 EXPOSE 80 diff --git a/site/index.html b/site/index.html index 98e24df..3ed451e 100644 --- a/site/index.html +++ b/site/index.html @@ -358,7 +358,7 @@ Interpretations
Interpretations
Infinite State
-
24 tracks · Written in Python · Generated from code
+
24 tracks · 83:58 · Written in Python · Generated from code
@@ -538,6 +539,7 @@ function playTrack(index) { document.getElementById('player').style.display = 'flex'; document.getElementById('player-title').textContent = t.title; document.getElementById('play-btn').textContent = '⏸'; + document.title = `▶ ${t.title} — Interpretations`; } function togglePlay() { @@ -546,10 +548,12 @@ function togglePlay() { audio.pause(); isPlaying = false; document.getElementById('play-btn').textContent = '▶'; + document.title = `⏸ ${TRACKS[currentTrack].title} — Interpretations`; } else { audio.play(); isPlaying = true; document.getElementById('play-btn').textContent = '⏸'; + document.title = `▶ ${TRACKS[currentTrack].title} — Interpretations`; } }