From 4514c5b179f62d09c59771bf2f74e2a378609525 Mon Sep 17 00:00:00 2001 From: Stefan Ostermann Date: Sat, 1 Mar 2025 20:46:53 +0000 Subject: [PATCH] jellyfin, gitignore etc --- .gitignore | 19 +++++++++++++++++++ grafana/.gitignore | 2 ++ hass/hass-auth-header | 1 + hass/tools/env.sh | 1 + hass/tools/mi-off | 2 ++ hass/tools/mi-off1 | 2 ++ hass/tools/mi-off2 | 3 +++ hass/tools/mi-on | 2 ++ hass/tools/mi-on1 | 2 ++ hass/tools/mi-on2 | 2 ++ hass/tools/mi-white | 12 ++++++++++++ hass/tools/new-mi-off | 1 + hass/tools/new-mi-on | 1 + jellyfin/config/config/system.xml | 10 ++++++++-- jellyfin/docker-compose.yml | 3 +++ samba/docker-compose.yml | 6 ++++-- wikimd/wiki/Wiesendamm Kommandozentrale.md | 10 ---------- 17 files changed, 65 insertions(+), 14 deletions(-) create mode 100644 .gitignore create mode 100644 grafana/.gitignore create mode 160000 hass/hass-auth-header create mode 100755 hass/tools/env.sh create mode 100755 hass/tools/mi-off create mode 100755 hass/tools/mi-off1 create mode 100755 hass/tools/mi-off2 create mode 100755 hass/tools/mi-on create mode 100755 hass/tools/mi-on1 create mode 100755 hass/tools/mi-on2 create mode 100755 hass/tools/mi-white create mode 100755 hass/tools/new-mi-off create mode 100755 hass/tools/new-mi-on delete mode 100644 wikimd/wiki/Wiesendamm Kommandozentrale.md diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e2c538b --- /dev/null +++ b/.gitignore @@ -0,0 +1,19 @@ +*.drawings/ +jellyfin/cache +immich-app/data +immich-app/library +immich-app/postgres +paperless/data +paperless/media +paperless/pgdata +paperless/redisdata/ +samba/paperless-consume +jellyfin/config/data/ +jellyfin/config/log/ +jellyfin/config/plugins/ +jellyfin/config/metadata/ +*.swp +.ssh +backup/ +*.backup +.Trash* diff --git a/grafana/.gitignore b/grafana/.gitignore new file mode 100644 index 0000000..21c2421 --- /dev/null +++ b/grafana/.gitignore @@ -0,0 +1,2 @@ +grafana +influxdb diff --git a/hass/hass-auth-header b/hass/hass-auth-header new file mode 160000 index 0000000..f38a9cd --- /dev/null +++ b/hass/hass-auth-header @@ -0,0 +1 @@ +Subproject commit f38a9cd2839d4bda103367eb04116ee4c3ef2445 diff --git a/hass/tools/env.sh b/hass/tools/env.sh new file mode 100755 index 0000000..8b13789 --- /dev/null +++ b/hass/tools/env.sh @@ -0,0 +1 @@ + diff --git a/hass/tools/mi-off b/hass/tools/mi-off new file mode 100755 index 0000000..03ce252 --- /dev/null +++ b/hass/tools/mi-off @@ -0,0 +1,2 @@ +#!/bin/sh +echo -ne '\x41\x00' | socat - udp:192.168.178.86:8899 diff --git a/hass/tools/mi-off1 b/hass/tools/mi-off1 new file mode 100755 index 0000000..eed1804 --- /dev/null +++ b/hass/tools/mi-off1 @@ -0,0 +1,2 @@ +#!/bin/sh +echo -ne '\x46\x00' | socat - udp:192.168.178.86:8899 diff --git a/hass/tools/mi-off2 b/hass/tools/mi-off2 new file mode 100755 index 0000000..fe612ec --- /dev/null +++ b/hass/tools/mi-off2 @@ -0,0 +1,3 @@ +#!/bin/sh +echo -ne '\x48\x00' | socat - udp:192.168.178.86:8899 + diff --git a/hass/tools/mi-on b/hass/tools/mi-on new file mode 100755 index 0000000..77bf105 --- /dev/null +++ b/hass/tools/mi-on @@ -0,0 +1,2 @@ +#!/bin/sh +echo -ne '\x42\x00' | socat - udp:192.168.178.86:8899 diff --git a/hass/tools/mi-on1 b/hass/tools/mi-on1 new file mode 100755 index 0000000..b29f727 --- /dev/null +++ b/hass/tools/mi-on1 @@ -0,0 +1,2 @@ +#!/bin/sh +echo -ne '\x45\x00' | socat - udp:192.168.178.86:8899 diff --git a/hass/tools/mi-on2 b/hass/tools/mi-on2 new file mode 100755 index 0000000..ecb1800 --- /dev/null +++ b/hass/tools/mi-on2 @@ -0,0 +1,2 @@ +#!/bin/sh +echo -ne '\x47\x00' | socat - udp:192.168.178.86:8899 diff --git a/hass/tools/mi-white b/hass/tools/mi-white new file mode 100755 index 0000000..6ee1aa9 --- /dev/null +++ b/hass/tools/mi-white @@ -0,0 +1,12 @@ +#!/bin/sh +LD_LIBRARY_PATH=/usr/local/addons/tools && export LD_LIBRARY_PATH +MYSCRIPT=' +after 100 +exit 0 +' + +echo -ne '\x42' && \ +tclsh << HERE +$MYSCRIPT +HERE && \ +echo -ne '\xC2' | /usr/local/addons/tools/socat - udp:192.168.178.86:8899 diff --git a/hass/tools/new-mi-off b/hass/tools/new-mi-off new file mode 100755 index 0000000..a584b19 --- /dev/null +++ b/hass/tools/new-mi-off @@ -0,0 +1 @@ +curl -X PUT -H "Content-Type: application/json" -d '{"status":"OFF"}' 192.168.178.101/gateways/1/rgb_cct/0 diff --git a/hass/tools/new-mi-on b/hass/tools/new-mi-on new file mode 100755 index 0000000..7374bd0 --- /dev/null +++ b/hass/tools/new-mi-on @@ -0,0 +1 @@ +curl -X PUT -H "Content-Type: application/json" -d '{"status":"ON"}' 192.168.178.101/gateways/1/rgb_cct/0 diff --git a/jellyfin/config/config/system.xml b/jellyfin/config/config/system.xml index f313e9c..48db66f 100644 --- a/jellyfin/config/config/system.xml +++ b/jellyfin/config/config/system.xml @@ -2,13 +2,14 @@ 3 true + /cache false true true true true true - + /config/metadata en US @@ -130,7 +131,7 @@ true - + 40c912efca66 de false @@ -145,6 +146,11 @@ https://repo.jellyfin.org/files/plugin/manifest.json true + + sso + https://raw.githubusercontent.com/9p4/jellyfin-plugin-sso/manifest-release/manifest.json + true + true 0 diff --git a/jellyfin/docker-compose.yml b/jellyfin/docker-compose.yml index 6e348f8..04355bb 100644 --- a/jellyfin/docker-compose.yml +++ b/jellyfin/docker-compose.yml @@ -18,6 +18,9 @@ services: - type: bind source: /media/extension/video target: /video + - type: bind + source: /media/extension/ebooks + target: /ebooks # read_only: true # Optional - extra fonts to be used during transcoding with subtitle burn-in # - type: bind diff --git a/samba/docker-compose.yml b/samba/docker-compose.yml index 0cf83c6..5cde4e2 100644 --- a/samba/docker-compose.yml +++ b/samba/docker-compose.yml @@ -46,8 +46,9 @@ services: SAMBA_VOLUME_CONFIG_paperless: "[paperless]; path=/shares/paperless-consume; valid users = oster, karin; guest ok = no; read only = no; browseable = yes" SAMBA_VOLUME_CONFIG_public: "[Public]; path=/shares/public; valid users = oster, karin; guest ok = no; read only = no; browseable = yes" SAMBA_VOLUME_CONFIG_public_ro: "[Public ReadOnly]; path=/shares/public; guest ok = yes; read only = yes; browseable = yes" - SAMBA_VOLUME_CONFIG_video_ro: "[Video]; path=/shares/video; guest ok = no; read only = no; browseable = yes" - SAMBA_VOLUME_CONFIG_music_ro: "[Music]; path=/shares/music; guest ok = no; read only = no; browseable = yes" + SAMBA_VOLUME_CONFIG_video_ro: "[Video]; path=/shares/video; valid users = oster, karin; guest ok = no; read only = no; browseable = yes" + SAMBA_VOLUME_CONFIG_music_ro: "[Music]; path=/shares/music; valid users = oster, karin; guest ok = no; read only = no; browseable = yes" + SAMBA_VOLUME_CONFIG_ebooks_ro: "[Ebooks]; path=/shares/ebooks; valid users = oster, karin; guest ok = no; read only = no; browseable = yes" SAMBA_VOLUME_CONFIG_karinstefan: "[karin stefan]; path=/shares/karin-stefan; valid users = oster, karin; guest ok = no; read only = no; browseable = yes" #SAMBA_VOLUME_CONFIG_guestmultilineexample: | # [Guest Share] @@ -65,4 +66,5 @@ services: - /media/ssd/karin-stefan:/shares/karin-stefan - /media/extension/music:/shares/music - /media/extension/video:/shares/video + - /media/extension/ebooks:/shares/ebooks - ./paperless-consume:/shares/paperless-consume diff --git a/wikimd/wiki/Wiesendamm Kommandozentrale.md b/wikimd/wiki/Wiesendamm Kommandozentrale.md deleted file mode 100644 index d18c4b2..0000000 --- a/wikimd/wiki/Wiesendamm Kommandozentrale.md +++ /dev/null @@ -1,10 +0,0 @@ -Willkommen in der Wiesenstraße! - -## Dienste -[Authentifizierung](https://auth.home.thoster.net) - -[Home Assistant](https://hass.home.thoster.net/) - -[immich Fotos](https://photo.home.thoster.net) - -[Paperless Dokumentenmanagement](https://pl.home.thoster.net) \ No newline at end of file