Plex, Kodi and Logitech Media Server (LMS, Squeezeserver) on one Raspberry Pi 2

OK, mainly for my sake when I have to redo it.

The issue.  


I have a Home PC and a family

The family use, in order of arrival.


  • A Squeezebox 2 for music - the Squeezebox software and music being on the home PC
  • Plex - for watching movies on other devices around the house and at Grannie's.  Plex Server is the Home PC
  • Kodi -For watching movies and TV shows ripped from our DVD collection on the home TV.  Kodi is running on a Raspberry Pi 2

The Objective

To have all these media services running on a Raspberry Pi 2.  True I know for Plex I'll have to stream the original  format of the movies rather than letting Plex re-encode depending on client.  This may change if I upgrade to a RP3

All have been setup elsewhere, but I want them all on one always on device.  Partly to let other family members use my Plex files without impactiung on the main Home PC and without me having to leave it on all the time.

The Method

I started with Plex, following, mainly these instructions  - noting to change the mount instructions in fstab to


  1. /dev/sda1    /mnt/library   ntfs-3g   defaults    0    0  

as I have a NTFS drive

Also worth noting to run commands that require root you need sudo -i
Squeezebox was easy just followed these instructions.  Noting you CAN cut and paste into a terminal window lots of commands at once!
Next Kodi 15.  Instructions.  Note here.  To start type Kodi To start at login see - http://michael.gorven.za.net/ I've yet to try this bit. - Important:

The GPU needs at least 96M of RAM in order for XBMC to run. To configure this add or change this line in /boot/config.txt:
gpu_mem=160

If Plex fails to run or stops


sudo systemctl stop plexmediaserver.service
sudo service plexmediaserver start

OpenDNS updater



This also ran on main PC and moved over to RP

My config file

##
## OpenDNS.com account-configuration
##
use=web, web=myip.dnsomatic.com
ssl=yes
server=updates.opendns.com
protocol=dyndns2
login=opendns_username
password=opendns_password
11ZZZZZZZZZZZZZZWay



SAMBA

My OpenElec version of Kodi came with Samba built in, so it not only attached USB drives on boot up but made them available to the Windows network


Is a start.


To Do

Set up Kodi with xonfluence skin, set up- smart libraries, export library data to .nfo files for existing setup

That bit was done.

Remove Libre.



Libre Office takes nearly 300 mb of space.  It needs removing

$ sudo apt-get remove --purge libreoffice*

$ sudo apt-get clean

$ sudo apt-get autoremove

REstart 


Popular posts from this blog

GPS, Running Watches, Phones, Accuracy and other stuff pt 5

GPS, Running Watches, Phones, Accuracy and other stuff pt 3