mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-06-05 13:38:27 +01:00
fix: don't show text unknown
This commit is contained in:
@@ -169,17 +169,17 @@ export const CurrentlyPlayingBar: React.FC = () => {
|
|||||||
metadata: {
|
metadata: {
|
||||||
artist: currentlyPlaying.item?.AlbumArtist
|
artist: currentlyPlaying.item?.AlbumArtist
|
||||||
? currentlyPlaying.item?.AlbumArtist
|
? currentlyPlaying.item?.AlbumArtist
|
||||||
: "Unknown",
|
: undefined,
|
||||||
title: currentlyPlaying.item?.Name
|
title: currentlyPlaying.item?.Name
|
||||||
? currentlyPlaying.item?.Name
|
? currentlyPlaying.item?.Name
|
||||||
: "Unknown",
|
: "Unknown",
|
||||||
description: currentlyPlaying.item?.Overview
|
description: currentlyPlaying.item?.Overview
|
||||||
? currentlyPlaying.item?.Overview
|
? currentlyPlaying.item?.Overview
|
||||||
: "Unknown",
|
: undefined,
|
||||||
imageUri: backdropUrl ? backdropUrl : undefined,
|
imageUri: backdropUrl ? backdropUrl : undefined,
|
||||||
subtitle: currentlyPlaying.item?.Album
|
subtitle: currentlyPlaying.item?.Album
|
||||||
? currentlyPlaying.item?.Album
|
? currentlyPlaying.item?.Album
|
||||||
: "Unknown",
|
: undefined,
|
||||||
},
|
},
|
||||||
}}
|
}}
|
||||||
onBuffer={(e) =>
|
onBuffer={(e) =>
|
||||||
|
|||||||
Reference in New Issue
Block a user