Skip to content

Homemade Netflix on a Raspberry Pi 4 using the Starr apps and Jellyfin.

License

Notifications You must be signed in to change notification settings

gontzalm/homeflix

Repository files navigation

homeflix

Hardware

  • Raspberry Pi 4B 8GB
  • NVMe SSD 1TB
  • Dual SATA HDD Bay with Hardware RAID
  • 2 x HDD 16TB

Platform Setup

  1. Install Arch Linux ARM (aarch64) on the SSD following the guides

  2. Install the HDDs in the bay and set up RAID1 mode for redundancy.

  3. Format the resulting logical drive with an ext4 partition:

    lsblk
    sudo fdisk /dev/sdb
    # create an ext4 partition using the default values
    sudo mkfs.ext4 /sdb1
  4. Automatically mount the drive by adding it to fstab:

    # Static information about the filesystems.
    # See fstab(5) for details.
    
    # <file system> <dir> <type> <options> <dump> <pass>
    UUID=036B-B429 /boot vfat defaults 0 0
    UUID=e5202fed-ade4-4b63-a13a-911aba4af8d6 /mnt/hdd ext4 defaults,nofail,x-systemd.device-timeout=5 0 2
  5. Change the ownership of the mounted drive:

    chown $USER:$USER /mnt/hdd
  6. Create the folder structure specified in the TRaSH guide:

    sudo mkdir -p /mnt/hdd/data/{media,torrents}/{anime,movies,tv}

APPs Setup

Follow the TRaSH guides.

Operation

  1. Start and enable homeflix on boot:

    systemctl --user enable --now homeflix/systemd/homeflix.service
  2. Enable lingering:

    loginctl enable-linger
  3. Check the logs:

    journalctl --user -u homeflix

About

Homemade Netflix on a Raspberry Pi 4 using the Starr apps and Jellyfin.

Resources

License

Stars

Watchers

Forks