From f5d6c4983cefb7a73a40790c666c6740536132aa Mon Sep 17 00:00:00 2001 From: Kendall Garner <17521368+kgarner7@users.noreply.github.com> Date: Sun, 14 Dec 2025 16:45:54 -0800 Subject: [PATCH] remove rating from item card if using jellyfin --- .../components/item-card/item-card-controls.tsx | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/renderer/components/item-card/item-card-controls.tsx b/src/renderer/components/item-card/item-card-controls.tsx index 722a44b0f..c5722241b 100644 --- a/src/renderer/components/item-card/item-card-controls.tsx +++ b/src/renderer/components/item-card/item-card-controls.tsx @@ -21,6 +21,7 @@ import { Artist, LibraryItem, Playlist, + ServerType, Song, } from '/@/shared/types/domain-types'; import { Play } from '/@/shared/types/types'; @@ -265,12 +266,14 @@ export const ItemCardControls = ({ {controls?.onFavorite && ( )} - {controls?.onRating && ( - - )} + {controls?.onRating && + (item?._serverType === ServerType.NAVIDROME || + item?._serverType === ServerType.SUBSONIC) && ( + + )} {controls?.onMore && (