From 7e5dbd8b14fb50f23d092c46bfc70dde9cfa1935 Mon Sep 17 00:00:00 2001 From: nessi Date: Thu, 13 Aug 2026 11:06:35 +0200 Subject: [PATCH] feat: add download status indicators for missing media files Add visual indicators to mark movies/series as "Downloading" when they match active SABnzbd downloads. Implement text normalization for matching download titles against media entries, with special handling for series names and episode patterns. Add purple badge/state styling for downloading status and restore original "Keine Datei/Fehler" states when downloads complete. --- templates/index.html | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/templates/index.html b/templates/index.html index 7c40dc6..e407006 100644 --- a/templates/index.html +++ b/templates/index.html @@ -44,3 +44,32 @@ function renderDownloads(data){if(!downloadBody)return;const items=data.items||[ async function fetchDownloads(){if(!downloadBody)return;try{const response=await fetch('/api/downloads');const data=await response.json();renderDownloads(data)}catch(error){renderDownloads({error:'Dashboard konnte SABnzbd nicht erreichen.',items:[]})}}; if(downloadBody){fetchDownloads();setInterval(fetchDownloads,4000)} + +