helper files to get the media server up and running properly
Latest Raspbian Image
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get upgrade
sudo apt-get install kodi
https://github.com/sunnybank101/raspap-webgui/tree/sunnybank101-multiinterfaces
https://github.com/pimoroni/fanshim-python
sudo apt-get install -y samba samba-common
sudo geany /etc/samba/smb.conf (see the smb.conf file)
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
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