Skip to content

sunnybank101/rpi-media-server2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rpi-media-server2

2020 version of our RPI4 Media Server setup

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

RaspAP

https://github.com/billz/raspap-webgui

=> setup a home page on the pi
sudo geany /etc/lighttpd/lighttpd.conf
=> modify the index file names to be html first so we can insert a static page
index-file.names = ( "index.html", "index.php" )
=> copy over the simple page and img from the ssd
sudo cp /mnt/MEDIA/shared-disk/www/* /var/www/html/

JellyFin

https://jellyfin.org/

FanShim

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

Samba

sudo apt-get install -y samba samba-common
sudo mkdir /share
sudo chmod 777 /share
sudo geany /etc/samba/smb.conf (see the smb.conf file)
sudo smbpasswd -a pi

Default drive mount setup - NTFS

sudo apt-get install -y ntfs-3g
sudo mkdir /mnt/MEDIA
sudo 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
  • up.sh

create the startup file (see the up.desktop file) you may have to create the autostart folder
sudo mkdir /home/pi/.config/autostart
sudo geany /home/pi/.config/autostart/up.desktop

----NOTES----

python ledon.py
python ledoff.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published