Skip to content

Commit

Permalink
feat: conditional media server name to add emby to tvdetails
Browse files Browse the repository at this point in the history
  • Loading branch information
Fallenbagel committed May 26, 2022
1 parent ff3e3ce commit e75b71b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/components/TvDetails/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,7 @@ const TvDetails: React.FC<TvDetailsProps> = ({ tv }) => {
})
) {
mediaLinks.push({
text:
settings.currentSettings.mediaServerType === MediaServerType.JELLYFIN
? intl.formatMessage(messages.play4k, { mediaServerName: 'Jellyfin' })
: intl.formatMessage(messages.play4k, { mediaServerName: 'Plex' }),
text: getAvalaibleMediaServerName(),
url: data.mediaInfo?.mediaUrl4k,
svg: <PlayIcon />,
});
Expand Down

0 comments on commit e75b71b

Please sign in to comment.