Skip to content

emmtte/kodi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 

Repository files navigation

LibreELEC Raspberry Pi 4

Configuration

mount -o remount,rw /flash
nano /flash/config.txt
  hdmi_enable_4kp60=1
  config_hdmi_boost=7
mount -o remount,ro /flash
reboot

Update

systemctl stop kodi
wget -P /storage/.update https://releases.libreelec.tv/LibreELEC-RPi4.arm-11.0.3.img.gz
reboot

Add-on

Add-ons > Repository -> LibreELEC Add-ons -> Program add-ons -> System tools

Add-ons > Repository -> LibreELEC Add-ons -> Services -> Docker

Add-ons > Repository -> LibreELEC Add-ons -> PVR clients -> PVR Freebox TV

Settings > Settings

  • Notifications : Off

Power Saving

System > System settings > Power saving > Sleep / Shutdown

  • Put display to sleep when idle : 5min

Kodi > Interface settings > Screensaver

  • Screensaver mode : Black
  • Wait time : 3min
  • Use visualisation if playing audio : Enable

System > Player settings > Music > Playback

  • Visualisation : Shadertoy

Samba

  • After Samba configuration reboot system

Skin Embuary

Add-ons > Download > Look and Feel > Skin > Embuary (Matrix) > Install

Embuary > Appearance > Window configuration > General > Layout

  • Hide main menu and only show widgets : Enable

Embuary > Appearance > Window configuration > Custom widgets

  • Custom 1 : Latest movies
  • Edit path : library://video/movies/recentlyaddedmovies.xml/
  • Config : Type : Videos, Layout : Wide

Embuary > Appearance > Window configuration > Home and hubs > Home > Edit widget configuration

  • 1 : Last tuned channels
  • 2 : Continue watching
  • 3 : Next up
  • 4 : Latest TV shows
  • 5 : Latest movies (custom 1)

Embuary > Appearance > General > Appearance > Background

  • Show video playback in the background : Disable
  • Show fanarts in the backgound : Enable
  • Background opacity : very bright

Context Menu

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>

External Drive

e2label /dev/sda data
reboot

Playlist

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

Docker

Compose

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

Transmission

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

Pi-hole

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

http://192.168.0.1/admin

docker-compose -f /storage/pi-hole/pi-hole.yml down

Immich

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

http://192.168.0.1:2283/

docker-compose -f /storage/immich/immich.yml down

Config

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

Samba

cp samba.conf /storage/.config/samba.conf

Hyperion

Install

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

Remove

rm -r hyperion

Erase Hard Drive

umount /var/media/Storage
mkfs.ext4 /dev/sda

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published