Skip to content

Latest commit

 

History

History
52 lines (35 loc) · 1.15 KB

README.md

File metadata and controls

52 lines (35 loc) · 1.15 KB

rpi-media-server

helper files to get the media server up and running properly

Base Install

Latest Raspbian Image

sudo apt-get update

sudo apt-get dist-upgrade

sudo apt-get upgrade

Kodi

sudo apt-get install kodi

RaspAP

https://github.com/sunnybank101/raspap-webgui/tree/sunnybank101-multiinterfaces

FanShim

https://github.com/pimoroni/fanshim-python

Samba

sudo apt-get install -y samba samba-common

sudo geany /etc/samba/smb.conf (see the smb.conf file)

Default drive mount setup - NTFS

sudo apt-get install -y ntfs-3g mkdir /mnt/MEDIA chmod 777 /mnt/MEDIA

update fstab and add the line below - to get the drive to automount nicely
sudo geany /etc/fstab
LABEL=MEDIA /mnt/MEDIA ntfs-3g permissions,defaults,nofail,x-systemd.device-timeout=30 0 2

The main media drive must be labeled "MEDIA" and formatted NTFS

  • movies
  • music
  • pictures
  • shared-disk

Startup control

download these files to /home/pi

  • ledoff.py
  • ledon.py
  • startkodi.sh

create the startup file - see the kodi.desktop file - you may have to create the autostart folder
sudo geany /home/pi/.config/autostart/kodi.desktop