feat: conditional media server name to add emby to tvdetails
This commit is contained in:
@@ -138,10 +138,7 @@ const TvDetails: React.FC<TvDetailsProps> = ({ tv }) => {
|
|||||||
})
|
})
|
||||||
) {
|
) {
|
||||||
mediaLinks.push({
|
mediaLinks.push({
|
||||||
text:
|
text: getAvalaibleMediaServerName(),
|
||||||
settings.currentSettings.mediaServerType === MediaServerType.JELLYFIN
|
|
||||||
? intl.formatMessage(messages.play4k, { mediaServerName: 'Jellyfin' })
|
|
||||||
: intl.formatMessage(messages.play4k, { mediaServerName: 'Plex' }),
|
|
||||||
url: data.mediaInfo?.mediaUrl4k,
|
url: data.mediaInfo?.mediaUrl4k,
|
||||||
svg: <PlayIcon />,
|
svg: <PlayIcon />,
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user