mirror of
https://github.com/jeffvli/feishin.git
synced 2026-06-20 02:14:23 +02:00
fix image condition for discord rpc image with Jellyfin (#1509)
This commit is contained in:
@@ -196,7 +196,7 @@ export const useDiscordRpc = () => {
|
|||||||
|
|
||||||
if (discordSettings.showServerImage && song) {
|
if (discordSettings.showServerImage && song) {
|
||||||
if (song._uniqueId === currentSong?._uniqueId && imageUrlRef.current) {
|
if (song._uniqueId === currentSong?._uniqueId && imageUrlRef.current) {
|
||||||
if (song._serverType === ServerType.JELLYFIN && song.imageUrl) {
|
if (song._serverType === ServerType.JELLYFIN) {
|
||||||
activity.largeImageKey = imageUrlRef.current;
|
activity.largeImageKey = imageUrlRef.current;
|
||||||
} else if (
|
} else if (
|
||||||
song._serverType === ServerType.NAVIDROME ||
|
song._serverType === ServerType.NAVIDROME ||
|
||||||
|
|||||||
Reference in New Issue
Block a user