1
0
Fork 0
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:
Joe Kribs 2025-01-06 01:02:30 -07:00 committed by GitHub
parent 505c986f11
commit bc9537d80f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 42 additions and 1 deletions

View file

@ -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':