diff --git a/css/addons/radarr/favicon/radarr-4k/site.webmanifest b/css/addons/radarr/favicon/radarr-4k/site.webmanifest index c79f280742..4271884ca0 100644 --- a/css/addons/radarr/favicon/radarr-4k/site.webmanifest +++ b/css/addons/radarr/favicon/radarr-4k/site.webmanifest @@ -2,46 +2,11 @@ "name": "", "short_name": "", "icons": [ - { - "src": "/android-chrome-36x36.png", - "sizes": "36x36", - "type": "image/png" - }, - { - "src": "/android-chrome-48x48.png", - "sizes": "48x48", - "type": "image/png" - }, - { - "src": "/android-chrome-72x72.png", - "sizes": "72x72", - "type": "image/png" - }, - { - "src": "/android-chrome-96x96.png", - "sizes": "96x96", - "type": "image/png" - }, - { - "src": "/android-chrome-144x144.png", - "sizes": "144x144", - "type": "image/png" - }, { "src": "/android-chrome-192x192.png", "sizes": "192x192", "type": "image/png" }, - { - "src": "/android-chrome-256x256.png", - "sizes": "256x256", - "type": "image/png" - }, - { - "src": "/android-chrome-384x384.png", - "sizes": "384x384", - "type": "image/png" - }, { "src": "/android-chrome-512x512.png", "sizes": "512x512", diff --git a/css/addons/readarr/favicon/readarr-alt/android-chrome-192x192.png b/css/addons/readarr/favicon/readarr-alt/android-chrome-192x192.png new file mode 100644 index 0000000000..baebe5b709 Binary files /dev/null and b/css/addons/readarr/favicon/readarr-alt/android-chrome-192x192.png differ diff --git a/css/addons/readarr/favicon/readarr-alt/android-chrome-512x512.png b/css/addons/readarr/favicon/readarr-alt/android-chrome-512x512.png new file mode 100644 index 0000000000..ff6b443c7a Binary files /dev/null and b/css/addons/readarr/favicon/readarr-alt/android-chrome-512x512.png differ diff --git a/css/addons/readarr/favicon/readarr-alt/apple-touch-icon.png b/css/addons/readarr/favicon/readarr-alt/apple-touch-icon.png new file mode 100644 index 0000000000..141b558de6 Binary files /dev/null and b/css/addons/readarr/favicon/readarr-alt/apple-touch-icon.png differ diff --git a/css/addons/readarr/favicon/readarr-alt/browserconfig.xml b/css/addons/readarr/favicon/readarr-alt/browserconfig.xml new file mode 100644 index 0000000000..5811d97a1e --- /dev/null +++ b/css/addons/readarr/favicon/readarr-alt/browserconfig.xml @@ -0,0 +1,12 @@ + + + + + + + + + #da532c + + + diff --git a/css/addons/readarr/favicon/readarr-alt/favicon-16x16.png b/css/addons/readarr/favicon/readarr-alt/favicon-16x16.png new file mode 100644 index 0000000000..c06a5097da Binary files /dev/null and b/css/addons/readarr/favicon/readarr-alt/favicon-16x16.png differ diff --git a/css/addons/readarr/favicon/readarr-alt/favicon-32x32.png b/css/addons/readarr/favicon/readarr-alt/favicon-32x32.png new file mode 100644 index 0000000000..e81c70a289 Binary files /dev/null and b/css/addons/readarr/favicon/readarr-alt/favicon-32x32.png differ diff --git a/css/addons/readarr/favicon/readarr-alt/favicon.ico b/css/addons/readarr/favicon/readarr-alt/favicon.ico new file mode 100644 index 0000000000..5d33da7106 Binary files /dev/null and b/css/addons/readarr/favicon/readarr-alt/favicon.ico differ diff --git a/css/addons/readarr/favicon/readarr-alt/mstile-144x144.png b/css/addons/readarr/favicon/readarr-alt/mstile-144x144.png new file mode 100644 index 0000000000..ce659826dc Binary files /dev/null and b/css/addons/readarr/favicon/readarr-alt/mstile-144x144.png differ diff --git a/css/addons/readarr/favicon/readarr-alt/mstile-150x150.png b/css/addons/readarr/favicon/readarr-alt/mstile-150x150.png new file mode 100644 index 0000000000..cf012046b9 Binary files /dev/null and b/css/addons/readarr/favicon/readarr-alt/mstile-150x150.png differ diff --git a/css/addons/readarr/favicon/readarr-alt/mstile-310x150.png b/css/addons/readarr/favicon/readarr-alt/mstile-310x150.png new file mode 100644 index 0000000000..a49a11c4bb Binary files /dev/null and b/css/addons/readarr/favicon/readarr-alt/mstile-310x150.png differ diff --git a/css/addons/readarr/favicon/readarr-alt/mstile-310x310.png b/css/addons/readarr/favicon/readarr-alt/mstile-310x310.png new file mode 100644 index 0000000000..d5f984fdb5 Binary files /dev/null and b/css/addons/readarr/favicon/readarr-alt/mstile-310x310.png differ diff --git a/css/addons/readarr/favicon/readarr-alt/mstile-70x70.png b/css/addons/readarr/favicon/readarr-alt/mstile-70x70.png new file mode 100644 index 0000000000..7115f92342 Binary files /dev/null and b/css/addons/readarr/favicon/readarr-alt/mstile-70x70.png differ diff --git a/css/addons/readarr/favicon/readarr-alt/safari-pinned-tab.svg b/css/addons/readarr/favicon/readarr-alt/safari-pinned-tab.svg new file mode 100644 index 0000000000..b3a9b9ac2b --- /dev/null +++ b/css/addons/readarr/favicon/readarr-alt/safari-pinned-tab.svg @@ -0,0 +1,72 @@ + + + + +Created by potrace 1.14, written by Peter Selinger 2001-2017 + + + + + + + + + + + + + + + + diff --git a/css/addons/readarr/favicon/readarr-alt/site.webmanifest b/css/addons/readarr/favicon/readarr-alt/site.webmanifest new file mode 100644 index 0000000000..4271884ca0 --- /dev/null +++ b/css/addons/readarr/favicon/readarr-alt/site.webmanifest @@ -0,0 +1,18 @@ +{ + "name": "", + "short_name": "", + "icons": [ + { + "src": "/android-chrome-192x192.png", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "/android-chrome-512x512.png", + "sizes": "512x512", + "type": "image/png" + } + ], + "theme_color": "#ffffff", + "background_color": "#ffffff" +} diff --git a/css/addons/sonarr/favicon/sonarr-4k/site.webmanifest b/css/addons/sonarr/favicon/sonarr-4k/site.webmanifest index c79f280742..4271884ca0 100644 --- a/css/addons/sonarr/favicon/sonarr-4k/site.webmanifest +++ b/css/addons/sonarr/favicon/sonarr-4k/site.webmanifest @@ -2,46 +2,11 @@ "name": "", "short_name": "", "icons": [ - { - "src": "/android-chrome-36x36.png", - "sizes": "36x36", - "type": "image/png" - }, - { - "src": "/android-chrome-48x48.png", - "sizes": "48x48", - "type": "image/png" - }, - { - "src": "/android-chrome-72x72.png", - "sizes": "72x72", - "type": "image/png" - }, - { - "src": "/android-chrome-96x96.png", - "sizes": "96x96", - "type": "image/png" - }, - { - "src": "/android-chrome-144x144.png", - "sizes": "144x144", - "type": "image/png" - }, { "src": "/android-chrome-192x192.png", "sizes": "192x192", "type": "image/png" }, - { - "src": "/android-chrome-256x256.png", - "sizes": "256x256", - "type": "image/png" - }, - { - "src": "/android-chrome-384x384.png", - "sizes": "384x384", - "type": "image/png" - }, { "src": "/android-chrome-512x512.png", "sizes": "512x512", diff --git a/css/addons/sonarr/favicon/sonarr-anime-blue/android-chrome-192x192.png b/css/addons/sonarr/favicon/sonarr-anime-blue/android-chrome-192x192.png new file mode 100644 index 0000000000..034b9fe092 Binary files /dev/null and b/css/addons/sonarr/favicon/sonarr-anime-blue/android-chrome-192x192.png differ diff --git a/css/addons/sonarr/favicon/sonarr-anime-blue/android-chrome-512x512.png b/css/addons/sonarr/favicon/sonarr-anime-blue/android-chrome-512x512.png new file mode 100644 index 0000000000..67c55f1cf8 Binary files /dev/null and b/css/addons/sonarr/favicon/sonarr-anime-blue/android-chrome-512x512.png differ diff --git a/css/addons/sonarr/favicon/sonarr-anime-blue/apple-touch-icon.png b/css/addons/sonarr/favicon/sonarr-anime-blue/apple-touch-icon.png new file mode 100644 index 0000000000..e77a0e0d1d Binary files /dev/null and b/css/addons/sonarr/favicon/sonarr-anime-blue/apple-touch-icon.png differ diff --git a/css/addons/sonarr/favicon/sonarr-anime-blue/browserconfig.xml b/css/addons/sonarr/favicon/sonarr-anime-blue/browserconfig.xml new file mode 100644 index 0000000000..5811d97a1e --- /dev/null +++ b/css/addons/sonarr/favicon/sonarr-anime-blue/browserconfig.xml @@ -0,0 +1,12 @@ + + + + + + + + + #da532c + + + diff --git a/css/addons/sonarr/favicon/sonarr-anime-blue/favicon-16x16.png b/css/addons/sonarr/favicon/sonarr-anime-blue/favicon-16x16.png new file mode 100644 index 0000000000..22bea2fb70 Binary files /dev/null and b/css/addons/sonarr/favicon/sonarr-anime-blue/favicon-16x16.png differ diff --git a/css/addons/sonarr/favicon/sonarr-anime-blue/favicon-32x32.png b/css/addons/sonarr/favicon/sonarr-anime-blue/favicon-32x32.png new file mode 100644 index 0000000000..a2cd786a7d Binary files /dev/null and b/css/addons/sonarr/favicon/sonarr-anime-blue/favicon-32x32.png differ diff --git a/css/addons/sonarr/favicon/sonarr-anime-blue/favicon.ico b/css/addons/sonarr/favicon/sonarr-anime-blue/favicon.ico new file mode 100644 index 0000000000..f1ed35eb0d Binary files /dev/null and b/css/addons/sonarr/favicon/sonarr-anime-blue/favicon.ico differ diff --git a/css/addons/sonarr/favicon/sonarr-anime-blue/mstile-144x144.png b/css/addons/sonarr/favicon/sonarr-anime-blue/mstile-144x144.png new file mode 100644 index 0000000000..b61b10138d Binary files /dev/null and b/css/addons/sonarr/favicon/sonarr-anime-blue/mstile-144x144.png differ diff --git a/css/addons/sonarr/favicon/sonarr-anime-blue/mstile-150x150.png b/css/addons/sonarr/favicon/sonarr-anime-blue/mstile-150x150.png new file mode 100644 index 0000000000..73eca21fcd Binary files /dev/null and b/css/addons/sonarr/favicon/sonarr-anime-blue/mstile-150x150.png differ diff --git a/css/addons/sonarr/favicon/sonarr-anime-blue/mstile-310x150.png b/css/addons/sonarr/favicon/sonarr-anime-blue/mstile-310x150.png new file mode 100644 index 0000000000..19e7ddf2eb Binary files /dev/null and b/css/addons/sonarr/favicon/sonarr-anime-blue/mstile-310x150.png differ diff --git a/css/addons/sonarr/favicon/sonarr-anime-blue/mstile-310x310.png b/css/addons/sonarr/favicon/sonarr-anime-blue/mstile-310x310.png new file mode 100644 index 0000000000..cda7e03caf Binary files /dev/null and b/css/addons/sonarr/favicon/sonarr-anime-blue/mstile-310x310.png differ diff --git a/css/addons/sonarr/favicon/sonarr-anime-blue/mstile-70x70.png b/css/addons/sonarr/favicon/sonarr-anime-blue/mstile-70x70.png new file mode 100644 index 0000000000..29ec9f29af Binary files /dev/null and b/css/addons/sonarr/favicon/sonarr-anime-blue/mstile-70x70.png differ diff --git a/css/addons/sonarr/favicon/sonarr-anime-blue/safari-pinned-tab.svg b/css/addons/sonarr/favicon/sonarr-anime-blue/safari-pinned-tab.svg new file mode 100644 index 0000000000..1f8b344efe --- /dev/null +++ b/css/addons/sonarr/favicon/sonarr-anime-blue/safari-pinned-tab.svg @@ -0,0 +1,135 @@ + + + + +Created by potrace 1.14, written by Peter Selinger 2001-2017 + + + + + + + diff --git a/css/addons/sonarr/favicon/sonarr-anime-blue/site.webmanifest b/css/addons/sonarr/favicon/sonarr-anime-blue/site.webmanifest new file mode 100644 index 0000000000..4271884ca0 --- /dev/null +++ b/css/addons/sonarr/favicon/sonarr-anime-blue/site.webmanifest @@ -0,0 +1,18 @@ +{ + "name": "", + "short_name": "", + "icons": [ + { + "src": "/android-chrome-192x192.png", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "/android-chrome-512x512.png", + "sizes": "512x512", + "type": "image/png" + } + ], + "theme_color": "#ffffff", + "background_color": "#ffffff" +} diff --git a/css/addons/sonarr/favicon/sonarr-anime/site.webmanifest b/css/addons/sonarr/favicon/sonarr-anime/site.webmanifest index c79f280742..4271884ca0 100644 --- a/css/addons/sonarr/favicon/sonarr-anime/site.webmanifest +++ b/css/addons/sonarr/favicon/sonarr-anime/site.webmanifest @@ -2,46 +2,11 @@ "name": "", "short_name": "", "icons": [ - { - "src": "/android-chrome-36x36.png", - "sizes": "36x36", - "type": "image/png" - }, - { - "src": "/android-chrome-48x48.png", - "sizes": "48x48", - "type": "image/png" - }, - { - "src": "/android-chrome-72x72.png", - "sizes": "72x72", - "type": "image/png" - }, - { - "src": "/android-chrome-96x96.png", - "sizes": "96x96", - "type": "image/png" - }, - { - "src": "/android-chrome-144x144.png", - "sizes": "144x144", - "type": "image/png" - }, { "src": "/android-chrome-192x192.png", "sizes": "192x192", "type": "image/png" }, - { - "src": "/android-chrome-256x256.png", - "sizes": "256x256", - "type": "image/png" - }, - { - "src": "/android-chrome-384x384.png", - "sizes": "384x384", - "type": "image/png" - }, { "src": "/android-chrome-512x512.png", "sizes": "512x512", diff --git a/docker-mods/readarr/root/etc/cont-init.d/98-themepark b/docker-mods/readarr/root/etc/cont-init.d/98-themepark index 1036e99d0e..160716e5e2 100755 --- a/docker-mods/readarr/root/etc/cont-init.d/98-themepark +++ b/docker-mods/readarr/root/etc/cont-init.d/98-themepark @@ -14,6 +14,8 @@ echo -e "Variables set:\\n\ APP_FILEPATH='/app/readarr/bin/UI/index.html' LOGIN_FILEPATH='/app/readarr/bin/UI/login.html' +APP_ICON_FILEPATH='/app/readarr/bin/UI/Content/Images/Icons' + if [ "${TP_HOTIO}" = true ]; then echo 'Changing to Hotio file path!' APP_FILEPATH='/app/bin/UI/index.html' @@ -61,6 +63,16 @@ if ! grep -q "${TP_DOMAIN}/css/base" "${APP_FILEPATH}"; then if [[ -n ${TP_ADDON} ]]; then for addon in $(echo "$TP_ADDON" | tr "|" " "); do sheets="${sheets} " + + #if TP_ADDON is one that changes the logo, add the corresponding favicon + #find favicon folder name based on addon name + favicon_dir="${url_base}/css/addons/readarr/favicon/$(echo "${addon}" | sed 's/-logo//g; s/-text//g')" + #if favicon folder exists, copy content to the app favicon folder + if [ -d "$favicon_dir" ]; then + cp "${favicon_dir}/." "${APP_ICON_FILEPATH}" + echo "Added favicon." + fi + printf 'Added custom addon: %s\n\n' "${addon}" done fi diff --git a/docker-mods/readarr/root/etc/s6-overlay/s6-rc.d/init-mod-themepark/run b/docker-mods/readarr/root/etc/s6-overlay/s6-rc.d/init-mod-themepark/run index 10bc8c5202..4623d3ddd6 100755 --- a/docker-mods/readarr/root/etc/s6-overlay/s6-rc.d/init-mod-themepark/run +++ b/docker-mods/readarr/root/etc/s6-overlay/s6-rc.d/init-mod-themepark/run @@ -14,6 +14,8 @@ echo -e "Variables set:\\n\ APP_FILEPATH='/app/readarr/bin/UI/index.html' LOGIN_FILEPATH='/app/readarr/bin/UI/login.html' +APP_ICON_FILEPATH='/app/readarr/bin/UI/Content/Images/Icons' + if [ "${TP_HOTIO}" = true ]; then echo 'Changing to Hotio file path!' APP_FILEPATH='/app/bin/UI/index.html' @@ -61,6 +63,16 @@ if ! grep -q "${TP_DOMAIN}/css/base" "${APP_FILEPATH}"; then if [[ -n ${TP_ADDON} ]]; then for addon in $(echo "$TP_ADDON" | tr "|" " "); do sheets="${sheets} " + + #if TP_ADDON is one that changes the logo, add the corresponding favicon + #find favicon folder name based on addon name + favicon_dir="${url_base}/css/addons/readarr/favicon/$(echo "${addon}" | sed 's/-logo//g; s/-text//g')" + #if favicon folder exists, copy content to the app favicon folder + if [ -d "$favicon_dir" ]; then + cp "${favicon_dir}/." "${APP_ICON_FILEPATH}" + echo "Added favicon." + fi + printf 'Added custom addon: %s\n\n' "${addon}" done fi diff --git a/docker-mods/sonarr/root/etc/cont-init.d/98-themepark b/docker-mods/sonarr/root/etc/cont-init.d/98-themepark index 848da71f8d..46d69e5138 100755 --- a/docker-mods/sonarr/root/etc/cont-init.d/98-themepark +++ b/docker-mods/sonarr/root/etc/cont-init.d/98-themepark @@ -66,7 +66,7 @@ if ! grep -q "${TP_DOMAIN}/css/base" "${APP_FILEPATH}"; then #if TP_ADDON is one that changes the logo, add the corresponding favicon #find favicon folder name based on addon name - favicon_dir="${url_base}/css/addons/sonarr/favicon/$(echo "${addon}" | sed 's/-blue//g; s/-logo//g; s/-text//g')" + favicon_dir="${url_base}/css/addons/sonarr/favicon/$(echo "${addon}" | sed 's/-logo//g; s/-text//g')" #if favicon folder exists, copy content to the app favicon folder if [ -d "$favicon_dir" ]; then cp "${favicon_dir}/." "${APP_ICON_FILEPATH}" diff --git a/docker-mods/sonarr/root/etc/s6-overlay/s6-rc.d/init-mod-themepark/run b/docker-mods/sonarr/root/etc/s6-overlay/s6-rc.d/init-mod-themepark/run index e551bc4d4a..c831d6216a 100755 --- a/docker-mods/sonarr/root/etc/s6-overlay/s6-rc.d/init-mod-themepark/run +++ b/docker-mods/sonarr/root/etc/s6-overlay/s6-rc.d/init-mod-themepark/run @@ -66,7 +66,7 @@ if ! grep -q "${TP_DOMAIN}/css/base" "${APP_FILEPATH}"; then #if TP_ADDON is one that changes the logo, add the corresponding favicon #find favicon folder name based on addon name - favicon_dir="${url_base}/css/addons/sonarr/favicon/$(echo "${addon}" | sed 's/-blue//g; s/-logo//g; s/-text//g')" + favicon_dir="${url_base}/css/addons/sonarr/favicon/$(echo "${addon}" | sed 's/-logo//g; s/-text//g')" #if favicon folder exists, copy content to the app favicon folder if [ -d "$favicon_dir" ]; then cp "${favicon_dir}/." "${APP_ICON_FILEPATH}"