From c0b058e914883ee3066024f0cb07e8ec711b87ec Mon Sep 17 00:00:00 2001 From: Chris Talkington Date: Sun, 9 Oct 2022 23:14:09 -0500 Subject: [PATCH 1/3] add home assistant to device images --- src/scripts/imagehelper.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/scripts/imagehelper.js b/src/scripts/imagehelper.js index cb76fa7977..d481f7e4ad 100644 --- a/src/scripts/imagehelper.js +++ b/src/scripts/imagehelper.js @@ -52,6 +52,8 @@ function getWebDeviceIcon(browser) { case 'Jellyfin iOS': case 'Infuse': return BASE_DEVICE_IMAGE_URL + 'apple.svg'; + case 'Home Assistant': + return BASE_DEVICE_IMAGE_URL + 'home-assistant.svg'; case 'Jellyfin Web': return getWebDeviceIcon(device.Name || device.DeviceName); default: From 0640bb9d43e2f6883f2cefc21b707a6017d6fe40 Mon Sep 17 00:00:00 2001 From: Chris Talkington Date: Sun, 9 Oct 2022 23:20:52 -0500 Subject: [PATCH 2/3] Add files via upload --- src/assets/img/devices/home-assistant.svg | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/assets/img/devices/home-assistant.svg diff --git a/src/assets/img/devices/home-assistant.svg b/src/assets/img/devices/home-assistant.svg new file mode 100644 index 0000000000..8d98948ba8 --- /dev/null +++ b/src/assets/img/devices/home-assistant.svg @@ -0,0 +1,22 @@ + + + + logo-white + Created with Sketch. + + + + + + + + + + + + + + + + + \ No newline at end of file From 1398b89b500eb84b30fa9e10c95053e61303baf7 Mon Sep 17 00:00:00 2001 From: Chris Talkington Date: Mon, 10 Oct 2022 01:51:12 -0500 Subject: [PATCH 3/3] svgo optimize home-assistant.svg --- src/assets/img/devices/home-assistant.svg | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/src/assets/img/devices/home-assistant.svg b/src/assets/img/devices/home-assistant.svg index 8d98948ba8..a34be98def 100644 --- a/src/assets/img/devices/home-assistant.svg +++ b/src/assets/img/devices/home-assistant.svg @@ -1,22 +1 @@ - - - - logo-white - Created with Sketch. - - - - - - - - - - - - - - - - - \ No newline at end of file +