mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Add Device Icons for WebOS & Updated Infuse Naming (#6281)
This commit is contained in:
parent
505c986f11
commit
bc9537d80f
2 changed files with 42 additions and 1 deletions
|
@ -39,7 +39,7 @@ function getWebDeviceIcon(browser: string | null | undefined) {
|
|||
export function getDeviceIcon(info: DeviceInfo | SessionInfo) {
|
||||
switch ((info as DeviceInfo).AppName || (info as SessionInfo).Client) {
|
||||
case 'Samsung Smart TV':
|
||||
return BASE_DEVICE_IMAGE_URL + 'samsung.svg';
|
||||
return BASE_DEVICE_IMAGE_URL + 'samsungtv.svg';
|
||||
case 'Xbox One':
|
||||
return BASE_DEVICE_IMAGE_URL + 'xbox.svg';
|
||||
case 'Sony PS4':
|
||||
|
@ -54,10 +54,20 @@ export function getDeviceIcon(info: DeviceInfo | SessionInfo) {
|
|||
case 'Jellyfin Mobile (iOS)':
|
||||
case 'Jellyfin Mobile (iPadOS)':
|
||||
case 'Jellyfin iOS':
|
||||
case 'Jellyfin iPadOS':
|
||||
case 'Jellyfin tvOS':
|
||||
case 'Swiftfin iPadOS':
|
||||
case 'Swiftfin iOS':
|
||||
case 'Swiftfin tvOS':
|
||||
case 'Infuse':
|
||||
case 'Infuse-Direct':
|
||||
case 'Infuse-Library':
|
||||
return BASE_DEVICE_IMAGE_URL + 'apple.svg';
|
||||
case 'Home Assistant':
|
||||
return BASE_DEVICE_IMAGE_URL + 'home-assistant.svg';
|
||||
case 'Jellyfin for WebOS':
|
||||
case 'LG Smart TV':
|
||||
return BASE_DEVICE_IMAGE_URL + 'webos.svg';
|
||||
case 'Jellyfin Roku':
|
||||
return BASE_DEVICE_IMAGE_URL + 'roku.svg';
|
||||
case 'Finamp':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue