From 80aa3d0f4b127aab47a1e02d37c07053ec307104 Mon Sep 17 00:00:00 2001 From: Mars Niermann Date: Wed, 8 Mar 2023 10:12:27 +0000 Subject: [PATCH] Highlight items without cover --- src/jellyfin-quick-delete.user.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/jellyfin-quick-delete.user.js b/src/jellyfin-quick-delete.user.js index 4489879..0f556f6 100644 --- a/src/jellyfin-quick-delete.user.js +++ b/src/jellyfin-quick-delete.user.js @@ -1,7 +1,8 @@ // ==UserScript== // @name QuickDelete +// @description Quickly delete or refresh items in Jellyfin // @namespace https://git.m3.fyi/Marsn3/userscripts -// @version 0.3 +// @version 0.4 // @author Marsn3 // @match https://media.m3.fyi/* // @icon https://www.google.com/s2/favicons?sz=64&domain=tampermonkey.net @@ -150,6 +151,9 @@ for (let i = 0; i < collection.length; i++) { let curr = collection[i]; + if (curr.firstChild.firstChild.classList.contains("audiotrack")) { + curr.style.backgroundColor = "rgba(251, 73, 52, 0.7)" + } // Append buttons to list curr.appendChild(refreshButton());