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
31
src/assets/img/devices/webos.svg
Normal file
31
src/assets/img/devices/webos.svg
Normal file
|
@ -0,0 +1,31 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 174 43">
|
||||
<defs>
|
||||
<style>
|
||||
.cls-1 {
|
||||
fill: none;
|
||||
}
|
||||
|
||||
.cls-2 {
|
||||
fill: #fff;
|
||||
}
|
||||
</style>
|
||||
</defs>
|
||||
<!-- Generator: Adobe Illustrator 28.6.0, SVG Export Plug-In . SVG Version: 1.2.0 Build 709) -->
|
||||
<g>
|
||||
<g id="Layer_1">
|
||||
<g id="Group_2">
|
||||
<g id="webOS_OSE_logo_gray">
|
||||
<g id="Group_1">
|
||||
<path id="Path_1" class="cls-2" d="M142.8,28.9c0,8.9,6.1,13.3,14.9,13.3s14.9-3.9,14.9-10.5h0c0-7.6-5-9.2-14.9-12.1-6.9-1.8-10.9-3.6-10.9-8h0c0-5.1,3.8-7.4,10.8-7.4h0c6.6,0,10.9,2.3,10.9,9.2h3c0-8.9-5.5-12.2-13.8-12.2s-13.8,3.3-13.8,10,5,9,13.8,11.5c7.3,2,12,2.9,12,9s-4.4,7.5-12,7.5h0c-6.8,0-11.9-3.1-11.9-10.3h-3Z"/>
|
||||
<path id="Path_2" class="cls-2" d="M120.1,1.2c-11.3,0-20.5,9.2-20.5,20.5,0,11.3,9.2,20.5,20.5,20.5,11.3,0,20.5-9.2,20.5-20.5,0-11.3-9.2-20.5-20.5-20.5,0,0,0,0,0,0M120.1,39.2c-9.7,0-17.5-7.8-17.5-17.5,0-9.7,7.8-17.5,17.5-17.5,9.7,0,17.5,7.8,17.5,17.5,0,9.7-7.8,17.5-17.5,17.5"/>
|
||||
<path id="Path_3" class="cls-2" d="M84.2,12.3c-4.2,0-7.2,1.6-9.2,4.5V1.8h-3v25.5h3c0-7.5,3.3-12,9.2-12s9.2,4.4,9.2,12-3.3,12-9.2,12-7.4-2.5-8.6-7h-3.1c1.3,6.3,5.4,10,11.7,10s12.2-5.5,12.2-14.9-4.4-14.9-12.2-14.9"/>
|
||||
<path id="Path_4" class="cls-2" d="M55.4,39.1c-5.9,0-9.2-4.4-9.2-11.9h21.4c0-9.4-4.4-14.9-12.2-14.9s-12.2,5.5-12.2,14.9,4.4,14.9,12.2,14.9,10.4-3.6,11.7-10h-3.1c-1.2,4.4-4.2,6.9-8.6,6.9M55.4,15.3c5,0,8.2,3.3,9,8.9h-18c.8-5.7,4-8.9,9-8.9"/>
|
||||
<path id="Path_5" class="cls-2" d="M14.4,41.6l7.6-24.1,7.6,24.1h3.4l9.1-28.8h-3.1l-7.6,24.2-7.6-24.2h-3.3l-7.6,24.2L5.1,12.8H2l9.1,28.8h3.4Z"/>
|
||||
</g>
|
||||
</g>
|
||||
<rect id="Rectangle_1" class="cls-1" width="174" height="43"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 1.8 KiB |
|
@ -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