sudo apt install kodi kodi-inputstream-adaptive kodi21-visualization-shadertoy
mount -o remount,rw /flash
nano /flash/config.txt
hdmi_enable_4kp60=1
config_hdmi_boost=7
mount -o remount,ro /flash
reboot
systemctl stop kodi
wget -P /storage/.update https://releases.libreelec.tv/LibreELEC-RPi4.arm-11.0.3.img.gz
reboot
-
- Add Videos...
- Movies
- TvShows
-
- Add Music...
- Musics
- Notifications : Off
- Put display to sleep when idle : 5min
- Screensaver mode : Black
- Wait time : 3min
- Use visualisation if playing audio : Enable
- Visualisation : Shadertoy
- After Samba configuration reboot system
- Hide main menu and only show widgets : Enable
- Custom 1 : Latest movies
- Edit path : library://video/movies/recentlyaddedmovies.xml/
- Config : Type : Videos, Layout : Wide
- 1 : Last tuned channels
- 2 : Continue watching
- 3 : Next up
- 4 : Latest TV shows
- 5 : Latest movies (custom 1)
- Show video playback in the background : Disable
- Show fanarts in the backgound : Enable
- Background opacity : very bright
nano /storage/.kodi/userdata/keymaps/remote.xml
<keymap><global><remote>
<blue>contextmenu</blue>
<green>System.Exec("systemctl -q enable hyperion.service --now")</green>
<red>System.Exec("systemctl -q disable hyperion.service --now")</red>
</remote></global></keymap>
e2label /dev/sda data
reboot
cd music
nano sst.pls
[playlist]
numberofentries=2
File1=http://hi5.streamingsoundtracks.com
Title1=StreamingSoundtracks.com (hi5.streamingsoundtracks.com - 128k MP3)
File2=http://hi.streamingsoundtracks.com
Title2=StreamingSoundtracks.com (hi.streamingsoundtracks.com - 128k MP3)
Length1=-1
Version=2
mkdir /storage/docker
nano /storage/.profile
PATH=$HOME/docker:$PATH
wget -O /storage/docker/docker-compose https://github.com/docker/compose/releases/download/v2.20.2/docker-compose-linux-aarch64
chmod +x /storage/docker/docker-compose
reboot
docker-compose --version
mkdir /storage/transmission
touch /storage/transmission/transmission.yml
nano /storage/transmission/transmission.yml
---
version: "2.1"
services:
transmission:
container_name: transmission
platform: linux/arm64
image: lscr.io/linuxserver/transmission:latest
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Paris
- USER=pi
- PASS=raspberry
volumes:
- /storage/transmission/config:/config
- /storage/transmission/watch:/watch
- /var/media/data/.transmission/downloads:/downloads
ports:
- 9091:9091
- 51413:51413
- 51413:51413/udp
restart: unless-stopped
docker-compose -f /storage/transmission/transmission.yml up
nano /storage/transmission/config/settings.json
"peer-limit-global": 20,
"peer-limit-per-torrent": 10,
"speed-limit-down": 10000,
"speed-limit-down-enabled": true,
"speed-limit-up": 0,
"speed-limit-up-enabled": true,
docker-compose -f /storage/transmission/transmission.yml up -d
http://192.168.0.1:9091/transmission/web/
docker-compose -f /storage/transmission/transmission.yml down
mkdir /storage/pi-hole
touch /storage/pi-hole/pi-hole.yml
version: "3"
services:
pihole:
container_name: pihole
image: pihole/pihole:latest
platform: linux/arm64
ports:
- "53:53/tcp"
- "53:53/udp"
- "80:80/tcp"
environment:
TZ: 'Europe/Paris'
WEBPASSWORD: 'raspberry'
volumes:
- '/storage/pi-hole/etc-pihole:/etc/pihole'
- '/storage/pi-hole/etc-dnsmasq.d:/etc/dnsmasq.d'
restart: unless-stopped
docker-compose -f /storage/pi-hole/pi-hole.yml up -d
docker-compose -f /storage/pi-hole/pi-hole.yml down
mkdir immich /var/media/data/Photos
wget -O /storage/immich/immich.yml https://github.com/immich-app/immich/releases/latest/download/docker-compose.yml
wget -O /storage/immich/.env https://github.com/immich-app/immich/releases/latest/download/example.env
wget -O /storage/immich/hwaccel.yml https://github.com/immich-app/immich/releases/latest/download/hwaccel.yml
nano /storage/immich/.env
UPLOAD_LOCATION=/var/media/data/Photos
DB_PASSWORD=password
TYPESENSE_API_KEY=key
nano /storage/immich/immich.yml
services:
immich-server:
platform: linux/arm64
...
docker-compose -f /storage/immich/immich.yml up -d
docker-compose -f /storage/immich/immich.yml down
nano ash_history
docker-compose -f docker-pi-hole.yml up -d
docker-compose -f docker-pi-hole.yml down
docker-compose -f /storage/immich/immich.yml up -d
docker-compose -f /storage/immich/immich.yml down
docker-compose -f /storage/transmission/transmission.yml up -d
docker-compose -f /storage/transmission/transmission.yml down
cp samba.conf /storage/.config/samba.conf
- https://github.com/hyperion-project/hyperion.ng
- hyperion-project/hyperion.ng#983
- https://gist.github.com/Paulchen-Panther/f0baf820343bbf800a041b102dd9cadd
cd storage
wget -qO- https://git.io/Jz5Qp | bash -s Hyperion-2.0.13-beta.1-Linux-armv7l.tar.gz
systemctl -q enable hyperion.service --now
systemctl -q disable hyperion.service --now
rm -r hyperion
umount /var/media/Storage
mkfs.ext4 /dev/sda