From 6c6f97d1ff68814ea2a068c1ad8c69ac96e1f936 Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Thu, 19 Dec 2024 04:30:18 +0100
Subject: [PATCH] Fix playing link brokenness.

---
 src/ytplom/http.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/ytplom/http.py b/src/ytplom/http.py
index 6054dc9..4f07e32 100644
--- a/src/ytplom/http.py
+++ b/src/ytplom/http.py
@@ -397,15 +397,17 @@ class _TaskHandler(BaseHTTPRequestHandler):
                         self.server.config.whitelist_tags_display)
             if last_sent < self.server.player.last_update:
                 last_sent = self.server.player.last_update
-                title, tags = '', ''
+                title, tags, digest = '', '', ''
                 if playing:
                     tags = playing.tags_showable.joined
                     title = str(playing.rel_path)
+                    digest = playing.digest.b64
                 payload['last_update'] = self.server.player.last_update
                 payload['running'] = self.server.player.is_running
                 payload['paused'] = self.server.player.is_paused
                 payload['idx'] = self.server.player.idx
                 payload['title_tags'] = tags
+                payload['title_digest'] = digest
                 payload['title'] = title
                 if 'playlist' in params.as_dict:
                     payload['playlist_files'] = [
-- 
2.30.2