Add Device Icons for WebOS & Updated Infuse Naming (#6281)
This commit is contained in:
+11
-1
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user